From 359f1964af7054b97b4818e2344eb4e4210e2900 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Fri, 7 May 2021 11:17:07 +0530 Subject: [PATCH 01/16] feat: :sparkles: Content Branching feature --- lib/contentstackClient.js | 9 +- lib/stack/branch/index.js | 105 +++++++++++++++++++ lib/stack/index.js | 34 ++++++- test/unit/branch-test.js | 39 ++++++++ test/unit/index.js | 1 + test/unit/stack-test.js | 205 +++++++++++++++++++++++++++++++++----- 6 files changed, 365 insertions(+), 28 deletions(-) create mode 100644 lib/stack/branch/index.js create mode 100644 test/unit/branch-test.js diff --git a/lib/contentstackClient.js b/lib/contentstackClient.js index 8932bb13..3f79cfb3 100644 --- a/lib/contentstackClient.js +++ b/lib/contentstackClient.js @@ -61,7 +61,8 @@ export default function contentstackClient ({ http }) { * @memberof ContentstackClient * @func stack * @param {String} api_key - Stack API Key - * @param {String} management_token - Stack API Key + * @param {String} management_token - Management token for Stack. + * @param {String} branch_name - Branch name or alias to access specific branch. Default is master. * @returns {Stack} Instance of Stack * * @example @@ -85,6 +86,12 @@ export default function contentstackClient ({ http }) { * client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid').fetch() * .then((stack) => console.log(stack)) * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch() + * .then((stack) => console.log(stack)) */ function stack (params = {}) { const stack = { ...cloneDeep(params) } diff --git a/lib/stack/branch/index.js b/lib/stack/branch/index.js new file mode 100644 index 00000000..b039102a --- /dev/null +++ b/lib/stack/branch/index.js @@ -0,0 +1,105 @@ +import cloneDeep from 'lodash/cloneDeep' +import { create, query, update, fetch, deleteEntity } from '../../entity' + +/** + * + * @namespace Branch + */ +export function Branch (http, data = {}) { + this.stackHeaders = data.stackHeaders + this.urlPath = `/stacks/branches` + if (data.branch) { + Object.assign(this, cloneDeep(data.branch)) + this.urlPath = `/stacks/branches/${this.name}` + + /** + * @description The Update Branch call lets you update the name of an existing Branch. + * @memberof Branch + * @func update + * @returns {Promise} Promise for Branch instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch('branch_name').fetch() + * .then((branch) => { + * branch.name = 'new_branch_name' + * return branch.update() + * }) + * .then((branch) => console.log(branch)) + * + */ + this.update = update(http, 'token') + + /** + * @description The Delete Branch call is used to delete an existing Branch permanently from your Stack. + * @memberof Branch + * @func delete + * @returns {Object} Response Object. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch('branch_name').delete() + * .then((response) => console.log(response.notice)) + */ + this.delete = deleteEntity(http) + + /** + * @description The fetch Branch call fetches Branch details. + * @memberof Branch + * @func fetch + * @returns {Promise} Promise for Branch instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch('branch_name').fetch() + * .then((branch) => console.log(branch)) + * + */ + this.fetch = fetch(http, 'branch') + } else { + /** + * @description The Create a Branch call creates a new branch in a particular stack of your Contentstack account. + * @memberof Branch + * @func create + * @returns {Promise} Promise for Branch instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * const branch = { + * name: 'branch_name', + * source: 'master' + * } + * client.stack({ api_key: 'api_key'}).branch().create({ branch }) + * .then((branch) => { console.log(branch) }) + */ + this.create = create({ http: http }) + + /** + * @description The 'Get all Branch' request returns comprehensive information about branch created in a Stack. + * @memberof Branch + * @func query + * @returns {Promise} Promise for ContentstackCollection instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch().query().find() + * .then((collection) => { console.log(collection) }) + */ + this.query = query({ http, wrapperCollection: BranchCollection }) + } + return this +} + +export function BranchCollection (http, data) { + const obj = cloneDeep(data.branch) || [] + const branchCollection = obj.map((userdata) => { + return new Branch(http, { branch: userdata, stackHeaders: data.stackHeaders }) + }) + return branchCollection +} diff --git a/lib/stack/index.js b/lib/stack/index.js index 02cf0bca..ca69c7ad 100644 --- a/lib/stack/index.js +++ b/lib/stack/index.js @@ -15,6 +15,7 @@ import { Workflow } from './workflow' import { Release } from './release' import { BulkOperation } from './bulkOperation' import { Label } from './label' +import { Branch } from './branch' // import { format } from 'util' /** * A stack is a space that stores the content of a project (a web or mobile property). Within a stack, you can create content structures, content entries, users, etc. related to the project. Read more about Stacks. @@ -31,10 +32,11 @@ export function Stack (http, data) { } if (data && data.stack && data.stack.api_key) { this.stackHeaders = { api_key: this.api_key } - if (this.management_token && this.management_token) { + if (this.management_token && this.management_token !== undefined) { this.stackHeaders.authorization = this.management_token delete this.management_token } + /** * @description The Update stack call lets you update the name and description of an existing stack. * @memberof Stack @@ -178,6 +180,36 @@ export function Stack (http, data) { } return new Environment(http, data) } + + /** + * @description + * @param {String} + * @returns {Branch} + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch().create() + * .then((branch) => console.log(branch)) + * + * client.stack({ api_key: 'api_key', branch_name: 'branch'}).branch().fetch() + * .then((branch) => console.log(branch)) + * + * client.stack({ api_key: 'api_key' }).branch('branch').fetch() + * .then((branch) => console.log(branch)) + * + */ + this.branch = (branchId = null) => { + const data = { stackHeaders: this.stackHeaders } + if (branchId) { + data.branch = { name: branchId } + } else if (this.branch_name) { + data.branch = { name: this.branch_name } + } + return new Branch(http, data) + } + /** * @description Delivery Tokens provide read-only access to the associated environments. * @param {String} deliveryTokenUid The UID of the Delivery Token field you want to get details. diff --git a/test/unit/branch-test.js b/test/unit/branch-test.js new file mode 100644 index 00000000..aeb3b5ab --- /dev/null +++ b/test/unit/branch-test.js @@ -0,0 +1,39 @@ +import axios from 'axios' +import { expect } from 'chai' +import { describe, it } from 'mocha' +import { Branch } from '../../lib/stack/branch' + +describe('Contentstack Branch test', () => { + it('Branch test without uid', done => { + const branch = makeBranch() + expect(branch).to.not.equal(undefined) + expect(branch.name).to.be.equal(undefined) + expect(branch.urlPath).to.be.equal('/stacks/branches') + expect(branch.create).to.not.equal(undefined) + expect(branch.query).to.not.equal(undefined) + expect(branch.update).to.equal(undefined) + expect(branch.delete).to.equal(undefined) + expect(branch.fetch).to.equal(undefined) + done() + }) + + it('Branch test with uid', done => { + const branch = makeBranch({ branch: { name: 'branch' } }) + expect(branch).to.not.equal(undefined) + expect(branch.name).to.be.equal('branch') + expect(branch.urlPath).to.be.equal('/stacks/branches/branch') + expect(branch.create).to.equal(undefined) + expect(branch.query).to.equal(undefined) + expect(branch.update).to.not.equal(undefined) + expect(branch.delete).to.not.equal(undefined) + expect(branch.fetch).to.not.equal(undefined) + done() + }) +}) + +function makeBranch (data) { + return new Branch(axios, data) +} + +// function checkBranch (environment) { +// } diff --git a/test/unit/index.js b/test/unit/index.js index 40fcaaff..5a1be4ef 100644 --- a/test/unit/index.js +++ b/test/unit/index.js @@ -11,6 +11,7 @@ require('./role-test') require('./stack-test') require('./asset-folder-test') require('./extension-test') +require('./branch-test') require('./release-test') require('./asset-test') require('./webhook-test') diff --git a/test/unit/stack-test.js b/test/unit/stack-test.js index da6fae7f..4276a43d 100644 --- a/test/unit/stack-test.js +++ b/test/unit/stack-test.js @@ -5,7 +5,7 @@ import { expect } from 'chai' import { stackMock, noticeMock, systemUidMock } from './mock/objects' import MockAdapter from 'axios-mock-adapter' -describe('Contentststack Stack test', () => { +describe('Contentstack Stack test', () => { it('Stack without API key', done => { const stack = makeStack({}) expect(stack.urlPath).to.be.equal('/stacks') @@ -21,6 +21,7 @@ describe('Contentststack Stack test', () => { expect(stack.asset).to.be.equal(undefined) expect(stack.globalField).to.be.equal(undefined) expect(stack.environment).to.be.equal(undefined) + expect(stack.branch).to.be.equal(undefined) expect(stack.deliveryToken).to.be.equal(undefined) expect(stack.extension).to.be.equal(undefined) expect(stack.webhook).to.be.equal(undefined) @@ -54,6 +55,7 @@ describe('Contentststack Stack test', () => { expect(stack.asset).to.be.equal(undefined) expect(stack.globalField).to.be.equal(undefined) expect(stack.environment).to.be.equal(undefined) + expect(stack.branch).to.be.equal(undefined) expect(stack.deliveryToken).to.be.equal(undefined) expect(stack.extension).to.be.equal(undefined) expect(stack.webhook).to.be.equal(undefined) @@ -87,6 +89,41 @@ describe('Contentststack Stack test', () => { expect(stack.asset).to.be.equal(undefined) expect(stack.globalField).to.be.equal(undefined) expect(stack.environment).to.be.equal(undefined) + expect(stack.branch).to.be.equal(undefined) + expect(stack.deliveryToken).to.be.equal(undefined) + expect(stack.extension).to.be.equal(undefined) + expect(stack.webhook).to.be.equal(undefined) + expect(stack.workflow).to.be.equal(undefined) + expect(stack.label).to.be.equal(undefined) + expect(stack.release).to.be.equal(undefined) + expect(stack.bulkOperation).to.be.equal(undefined) + expect(stack.users).to.be.equal(undefined) + expect(stack.transferOwnership).to.be.equal(undefined) + expect(stack.settings).to.be.equal(undefined) + expect(stack.resetSettings).to.be.equal(undefined) + expect(stack.addSettings).to.be.equal(undefined) + expect(stack.share).to.be.equal(undefined) + expect(stack.unShare).to.be.equal(undefined) + expect(stack.role).to.be.equal(undefined) + done() + }) + + it('Stack without API key, with Branch', done => { + const stack = makeStack({ stack: { branch_name: 'branch' } }) + expect(stack.urlPath).to.be.equal('/stacks') + expect(stack.organization_uid).to.be.equal(undefined) + expect(stack.stackHeaders).to.be.equal(undefined) + expect(stack.api_key).to.be.equal(undefined) + expect(stack.create).to.not.equal(undefined) + expect(stack.query).to.not.equal(undefined) + expect(stack.update).to.be.equal(undefined) + expect(stack.fetch).to.be.equal(undefined) + expect(stack.contentType).to.be.equal(undefined) + expect(stack.locale).to.be.equal(undefined) + expect(stack.asset).to.be.equal(undefined) + expect(stack.globalField).to.be.equal(undefined) + expect(stack.environment).to.be.equal(undefined) + expect(stack.branch).to.be.equal(undefined) expect(stack.deliveryToken).to.be.equal(undefined) expect(stack.extension).to.be.equal(undefined) expect(stack.webhook).to.be.equal(undefined) @@ -120,6 +157,7 @@ describe('Contentststack Stack test', () => { expect(stack.asset).to.be.equal(undefined) expect(stack.globalField).to.be.equal(undefined) expect(stack.environment).to.be.equal(undefined) + expect(stack.branch).to.be.equal(undefined) expect(stack.deliveryToken).to.be.equal(undefined) expect(stack.extension).to.be.equal(undefined) expect(stack.webhook).to.be.equal(undefined) @@ -155,6 +193,7 @@ describe('Contentststack Stack test', () => { expect(stack.asset).to.not.equal(undefined) expect(stack.globalField).to.not.equal(undefined) expect(stack.environment).to.not.equal(undefined) + expect(stack.branch).to.not.equal(undefined) expect(stack.deliveryToken).to.not.equal(undefined) expect(stack.extension).to.not.equal(undefined) expect(stack.webhook).to.not.equal(undefined) @@ -190,6 +229,80 @@ describe('Contentststack Stack test', () => { expect(stack.asset).to.not.equal(undefined) expect(stack.globalField).to.not.equal(undefined) expect(stack.environment).to.not.equal(undefined) + expect(stack.branch).to.not.equal(undefined) + expect(stack.deliveryToken).to.not.equal(undefined) + expect(stack.extension).to.not.equal(undefined) + expect(stack.webhook).to.not.equal(undefined) + expect(stack.workflow).to.not.equal(undefined) + expect(stack.label).to.not.equal(undefined) + expect(stack.release).to.not.equal(undefined) + expect(stack.bulkOperation).to.not.equal(undefined) + expect(stack.users).to.not.equal(undefined) + expect(stack.transferOwnership).to.not.equal(undefined) + expect(stack.settings).to.not.equal(undefined) + expect(stack.resetSettings).to.not.equal(undefined) + expect(stack.addSettings).to.not.equal(undefined) + expect(stack.share).to.not.equal(undefined) + expect(stack.unShare).to.not.equal(undefined) + expect(stack.role).to.not.equal(undefined) + done() + }) + + it('Stack with API key and Management token', done => { + const stack = makeStack({ stack: { api_key: 'API_KEY', branch_name: 'branch' } }) + expect(stack.urlPath).to.be.equal('/stacks') + expect(stack.organization_uid).to.be.equal(undefined) + expect(stack.stackHeaders).to.not.equal(undefined) + expect(stack.stackHeaders.api_key).to.be.equal('API_KEY') + expect(stack.branch_name).to.be.equal('branch') + expect(stack.api_key).to.be.equal('API_KEY') + expect(stack.create).to.be.equal(undefined) + expect(stack.query).to.be.equal(undefined) + expect(stack.update).to.not.equal(undefined) + expect(stack.fetch).to.not.equal(undefined) + expect(stack.contentType).to.not.equal(undefined) + expect(stack.locale).to.not.equal(undefined) + expect(stack.asset).to.not.equal(undefined) + expect(stack.globalField).to.not.equal(undefined) + expect(stack.environment).to.not.equal(undefined) + expect(stack.branch).to.not.equal(undefined) + expect(stack.deliveryToken).to.not.equal(undefined) + expect(stack.extension).to.not.equal(undefined) + expect(stack.webhook).to.not.equal(undefined) + expect(stack.workflow).to.not.equal(undefined) + expect(stack.label).to.not.equal(undefined) + expect(stack.release).to.not.equal(undefined) + expect(stack.bulkOperation).to.not.equal(undefined) + expect(stack.users).to.not.equal(undefined) + expect(stack.transferOwnership).to.not.equal(undefined) + expect(stack.settings).to.not.equal(undefined) + expect(stack.resetSettings).to.not.equal(undefined) + expect(stack.addSettings).to.not.equal(undefined) + expect(stack.share).to.not.equal(undefined) + expect(stack.unShare).to.not.equal(undefined) + expect(stack.role).to.not.equal(undefined) + done() + }) + + it('Stack with API key and Management token', done => { + const stack = makeStack({ stack: { api_key: 'API_KEY', management_token: 'Management_Token', branch_name: 'branch' } }) + expect(stack.urlPath).to.be.equal('/stacks') + expect(stack.organization_uid).to.be.equal(undefined) + expect(stack.stackHeaders).to.not.equal(undefined) + expect(stack.stackHeaders.api_key).to.be.equal('API_KEY') + expect(stack.stackHeaders.authorization).to.be.equal('Management_Token') + expect(stack.branch_name).to.be.equal('branch') + expect(stack.api_key).to.be.equal('API_KEY') + expect(stack.create).to.be.equal(undefined) + expect(stack.query).to.be.equal(undefined) + expect(stack.update).to.not.equal(undefined) + expect(stack.fetch).to.not.equal(undefined) + expect(stack.contentType).to.not.equal(undefined) + expect(stack.locale).to.not.equal(undefined) + expect(stack.asset).to.not.equal(undefined) + expect(stack.globalField).to.not.equal(undefined) + expect(stack.environment).to.not.equal(undefined) + expect(stack.branch).to.not.equal(undefined) expect(stack.deliveryToken).to.not.equal(undefined) expect(stack.extension).to.not.equal(undefined) expect(stack.webhook).to.not.equal(undefined) @@ -312,7 +425,7 @@ describe('Contentststack Stack test', () => { .catch(done) }) - it('Content Type initialisation without content type uid', done => { + it('Content Type initialization without content type uid', done => { const contentType = makeStack({ stack: { api_key: 'stack_api_key' @@ -325,7 +438,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Content Type initialisation with content type uid', done => { + it('Content Type initialization with content type uid', done => { const contentType = makeStack({ stack: { api_key: 'stack_api_key' @@ -338,7 +451,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Local initialisation without code', done => { + it('Local initialization without code', done => { const locale = makeStack({ stack: { api_key: 'stack_api_key' @@ -351,7 +464,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Local initialisation with code', done => { + it('Local initialization with code', done => { const locale = makeStack({ stack: { api_key: 'stack_api_key' @@ -364,7 +477,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Asset initialisation without uid', done => { + it('Asset initialization without uid', done => { const asset = makeStack({ stack: { api_key: 'stack_api_key' @@ -377,7 +490,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Asset initialisation with uid', done => { + it('Asset initialization with uid', done => { const asset = makeStack({ stack: { api_key: 'stack_api_key' @@ -390,7 +503,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Global Field initialisation without uid', done => { + it('Global Field initialization without uid', done => { const globalField = makeStack({ stack: { api_key: 'stack_api_key' @@ -403,7 +516,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Global Field initialisation with uid', done => { + it('Global Field initialization with uid', done => { const globalField = makeStack({ stack: { api_key: 'stack_api_key' @@ -416,7 +529,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Environment initialisation without uid', done => { + it('Environment initialization without uid', done => { const environment = makeStack({ stack: { api_key: 'stack_api_key' @@ -429,7 +542,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Environment initialisation with uid', done => { + it('Environment initialization with uid', done => { const environment = makeStack({ stack: { api_key: 'stack_api_key' @@ -442,7 +555,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Delivery Token initialisation without uid', done => { + it('Delivery Token initialization without uid', done => { const deliveryToken = makeStack({ stack: { api_key: 'stack_api_key' @@ -455,7 +568,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Delivery Token initialisation with uid', done => { + it('Delivery Token initialization with uid', done => { const deliveryToken = makeStack({ stack: { api_key: 'stack_api_key' @@ -468,7 +581,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Extensions initialisation without uid', done => { + it('Extensions initialization without uid', done => { const extension = makeStack({ stack: { api_key: 'stack_api_key' @@ -481,7 +594,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Extensions initialisation with uid', done => { + it('Extensions initialization with uid', done => { const extension = makeStack({ stack: { api_key: 'stack_api_key' @@ -494,7 +607,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Webhooks initialisation without uid', done => { + it('Webhooks initialization without uid', done => { const webhook = makeStack({ stack: { api_key: 'stack_api_key' @@ -507,7 +620,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Webhooks initialisation with uid', done => { + it('Webhooks initialization with uid', done => { const webhook = makeStack({ stack: { api_key: 'stack_api_key' @@ -520,7 +633,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Workflow initialisation without uid', done => { + it('Workflow initialization without uid', done => { const workflow = makeStack({ stack: { api_key: 'stack_api_key' @@ -533,7 +646,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Workflow initialisation with uid', done => { + it('Workflow initialization with uid', done => { const workflow = makeStack({ stack: { api_key: 'stack_api_key' @@ -546,7 +659,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Labels initialisation without uid', done => { + it('Labels initialization without uid', done => { const label = makeStack({ stack: { api_key: 'stack_api_key' @@ -559,7 +672,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Labels initialisation with uid', done => { + it('Labels initialization with uid', done => { const label = makeStack({ stack: { api_key: 'stack_api_key' @@ -572,7 +685,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Release initialisation without uid', done => { + it('Release initialization without uid', done => { const release = makeStack({ stack: { api_key: 'stack_api_key' @@ -585,7 +698,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Release initialisation with uid', done => { + it('Release initialization with uid', done => { const release = makeStack({ stack: { api_key: 'stack_api_key' @@ -598,7 +711,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Bulk operations initialisation without uid', done => { + it('Bulk operations initialization without uid', done => { const bulkOperation = makeStack({ stack: { api_key: 'stack_api_key' @@ -612,7 +725,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Role initialisation without uid', done => { + it('Role initialization without uid', done => { const role = makeStack({ stack: { api_key: 'stack_api_key' @@ -625,7 +738,7 @@ describe('Contentststack Stack test', () => { done() }) - it('Role initialisation with uid', done => { + it('Role initialization with uid', done => { const role = makeStack({ stack: { api_key: 'stack_api_key' @@ -638,6 +751,46 @@ describe('Contentststack Stack test', () => { done() }) + it('Branch initialization without branch', done => { + const branch = makeStack({ + stack: { + api_key: 'stack_api_key' + } + }) + .branch() + expect(branch.name).to.be.equal(undefined) + expect(branch.stackHeaders).to.not.equal(undefined) + expect(branch.stackHeaders.api_key).to.be.equal('stack_api_key') + done() + }) + + it('Branch initialization with branch', done => { + const branch = makeStack({ + stack: { + api_key: 'stack_api_key', + branch_name: 'branch' + } + }) + .branch() + expect(branch.name).to.be.equal('branch') + expect(branch.stackHeaders).to.not.equal(undefined) + expect(branch.stackHeaders.api_key).to.be.equal('stack_api_key') + done() + }) + + it('Branch initialization with branch', done => { + const branch = makeStack({ + stack: { + api_key: 'stack_api_key' + } + }) + .branch('branch') + expect(branch.name).to.be.equal('branch') + expect(branch.stackHeaders).to.not.equal(undefined) + expect(branch.stackHeaders.api_key).to.be.equal('stack_api_key') + done() + }) + it('Stack users test', done => { const mock = new MockAdapter(Axios) mock.onGet('/stacks').reply(200, { From 9fa9355a2e7ab4fde5e15fb4a63b14229cdd1364 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Tue, 25 May 2021 12:26:04 +0530 Subject: [PATCH 02/16] feat: :sparkles: Branch Alias feature added --- lib/contentstack.js | 3 +- lib/entity.js | 15 +- lib/stack/branch/index.js | 35 ++--- lib/stack/branchAlias/index.js | 99 ++++++++++++++ lib/stack/index.js | 36 +++-- lib/stack/workflow/index.js | 114 ++++++++-------- lib/stack/workflow/publishRules/index.js | 136 +++++++++--------- lib/user/index.js | 2 +- test/api/branch-test.js | 124 +++++++++++++++++ test/api/branchAlias-test.js | 82 +++++++++++ test/api/mock/branch.js | 14 ++ test/test.js | 2 + test/unit/branch-test.js | 135 +++++++++++++++++- test/unit/branchAlias-test.js | 167 +++++++++++++++++++++++ test/unit/index.js | 1 + test/unit/mock/objects.js | 80 +++++++---- test/unit/stack-test.js | 43 ++++-- 17 files changed, 875 insertions(+), 213 deletions(-) create mode 100644 lib/stack/branchAlias/index.js create mode 100644 test/api/branch-test.js create mode 100644 test/api/branchAlias-test.js create mode 100644 test/api/mock/branch.js create mode 100644 test/unit/branchAlias-test.js diff --git a/lib/contentstack.js b/lib/contentstack.js index 526df7e4..4668d10b 100644 --- a/lib/contentstack.js +++ b/lib/contentstack.js @@ -142,8 +142,7 @@ export function client (params = {}) { ...requiredHeaders } const http = httpClient(params) - const api = contentstackClient({ + return contentstackClient({ http: http }) - return api } diff --git a/lib/entity.js b/lib/entity.js index e0121cf9..a280ebfc 100644 --- a/lib/entity.js +++ b/lib/entity.js @@ -168,7 +168,7 @@ export const update = (http, type) => { } } -export const deleteEntity = (http) => { +export const deleteEntity = (http, force = false) => { return async function (param = {}) { try { const headers = { @@ -177,12 +177,21 @@ export const deleteEntity = (http) => { ...cloneDeep(param) } } || {} - + if (force === true) { + headers.params.force = true + } const response = await http.delete(this.urlPath, headers) if (response.data) { return response.data } else { - throw error(response) + if (response.status >= 200 && response.status < 300) { + return { + status: response.status, + statusText: response.statusText + } + } else { + throw error(response) + } } } catch (err) { throw error(err) diff --git a/lib/stack/branch/index.js b/lib/stack/branch/index.js index b039102a..3507cfa1 100644 --- a/lib/stack/branch/index.js +++ b/lib/stack/branch/index.js @@ -1,5 +1,5 @@ import cloneDeep from 'lodash/cloneDeep' -import { create, query, update, fetch, deleteEntity } from '../../entity' +import { create, query, fetch, deleteEntity } from '../../entity' /** * @@ -8,28 +8,13 @@ import { create, query, update, fetch, deleteEntity } from '../../entity' export function Branch (http, data = {}) { this.stackHeaders = data.stackHeaders this.urlPath = `/stacks/branches` + + data.branch = data.branch || data.branch_alias + delete data.branch_alias + if (data.branch) { Object.assign(this, cloneDeep(data.branch)) - this.urlPath = `/stacks/branches/${this.name}` - - /** - * @description The Update Branch call lets you update the name of an existing Branch. - * @memberof Branch - * @func update - * @returns {Promise} Promise for Branch instance - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).branch('branch_name').fetch() - * .then((branch) => { - * branch.name = 'new_branch_name' - * return branch.update() - * }) - * .then((branch) => console.log(branch)) - * - */ - this.update = update(http, 'token') + this.urlPath = `/stacks/branches/${this.uid}` /** * @description The Delete Branch call is used to delete an existing Branch permanently from your Stack. @@ -59,6 +44,7 @@ export function Branch (http, data = {}) { * */ this.fetch = fetch(http, 'branch') + } else { /** * @description The Create a Branch call creates a new branch in a particular stack of your Contentstack account. @@ -97,9 +83,8 @@ export function Branch (http, data = {}) { } export function BranchCollection (http, data) { - const obj = cloneDeep(data.branch) || [] - const branchCollection = obj.map((userdata) => { - return new Branch(http, { branch: userdata, stackHeaders: data.stackHeaders }) + const obj = cloneDeep(data.branches) || data.branch_aliases || [] + return obj.map((branchData) => { + return new Branch(http, { branch: branchData, stackHeaders: data.stackHeaders }) }) - return branchCollection } diff --git a/lib/stack/branchAlias/index.js b/lib/stack/branchAlias/index.js new file mode 100644 index 00000000..7915278a --- /dev/null +++ b/lib/stack/branchAlias/index.js @@ -0,0 +1,99 @@ +import cloneDeep from 'lodash/cloneDeep' +import error from '../../core/contentstackError' +import { deleteEntity, parseData } from '../../entity' +import { Branch } from '../branch' + +/** + * + * @namespace BranchAlias + */ +export function BranchAlias (http, data = {}) { + this.stackHeaders = data.stackHeaders + this.urlPath = `/stacks/branch_aliases` + if (data.branch_alias) { + Object.assign(this, cloneDeep(data.branch_alias)) + this.urlPath = `/stacks/branch_aliases/${this.uid}` + + /** + * @description The Update BranchAlias call lets you update the name of an existing BranchAlias. + * @memberof BranchAlias + * @func update + * @returns {Promise} Promise for BranchAlias instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').createOrUpdate('branch_uid') + * .then((branch) => { + * branch.name = 'new_branch_name' + * return branch.update() + * }) + * .then((branch) => console.log(branch)) + * + */ + this.createOrUpdate = async (targetBranch) => { + try { + const response = await http.put(this.urlPath, { branch_alias: { target_branch: targetBranch } }, { headers: { + ...cloneDeep(this.stackHeaders) + } + }) + if (response.data) { + return new Branch(http, parseData(response, this.stackHeaders)) + } else { + throw error(response) + } + } catch (err) { + throw error(err) + } + } + /** + * @description The Delete BranchAlias call is used to delete an existing BranchAlias permanently from your Stack. + * @memberof BranchAlias + * @func delete + * @returns {Object} Response Object. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').delete() + * .then((response) => console.log(response.notice)) + */ + this.delete = deleteEntity(http, true) + /** + * @description The fetch BranchAlias call fetches BranchAlias details. + * @memberof BranchAlias + * @func fetch + * @returns {Promise} Promise for BranchAlias instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').fetch() + * .then((branch) => console.log(branch)) + * + */ + this.fetch = async function (param = {}) { + try { + const headers = { + headers: { ...cloneDeep(this.stackHeaders) } + } || {} + const response = await http.get(this.urlPath, headers) + if (response.data) { + return new Branch(http, parseData(response, this.stackHeaders)) + } else { + throw error(response) + } + } catch (err) { + throw error(err) + } + } + } + return this +} + +export function BranchAliasCollection (http, data) { + const obj = cloneDeep(data.branch_aliases) || [] + return obj.map((branchAlias) => { + return new BranchAlias(http, { branch_alias: branchAlias, stackHeaders: data.stackHeaders }) + }) +} diff --git a/lib/stack/index.js b/lib/stack/index.js index ca69c7ad..6a570a36 100644 --- a/lib/stack/index.js +++ b/lib/stack/index.js @@ -16,6 +16,7 @@ import { Release } from './release' import { BulkOperation } from './bulkOperation' import { Label } from './label' import { Branch } from './branch' +import { BranchAlias } from './branchAlias' // import { format } from 'util' /** * A stack is a space that stores the content of a project (a web or mobile property). Within a stack, you can create content structures, content entries, users, etc. related to the project. Read more about Stacks. @@ -193,23 +194,42 @@ export function Stack (http, data) { * client.stack({ api_key: 'api_key'}).branch().create() * .then((branch) => console.log(branch)) * - * client.stack({ api_key: 'api_key', branch_name: 'branch'}).branch().fetch() - * .then((branch) => console.log(branch)) - * * client.stack({ api_key: 'api_key' }).branch('branch').fetch() * .then((branch) => console.log(branch)) * */ - this.branch = (branchId = null) => { + this.branch = (branchUid = null) => { const data = { stackHeaders: this.stackHeaders } - if (branchId) { - data.branch = { name: branchId } - } else if (this.branch_name) { - data.branch = { name: this.branch_name } + if (branchUid) { + data.branch = { uid: branchUid } } return new Branch(http, data) } + /** + * @description + * @param {String} + * @returns {BranchAlias} + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias().create() + * .then((branch) => console.log(branch)) + * + * client.stack({ api_key: 'api_key' }).branchAlias('branch_uid').fetch() + * .then((branch) => console.log(branch)) + * + */ + this.branchAlias = (branchUid = null) => { + const data = { stackHeaders: this.stackHeaders } + if (branchUid) { + data.branch_alias = { uid: branchUid } + } + return new BranchAlias(http, data) + } + /** * @description Delivery Tokens provide read-only access to the associated environments. * @param {String} deliveryTokenUid The UID of the Delivery Token field you want to get details. diff --git a/lib/stack/workflow/index.js b/lib/stack/workflow/index.js index 21cded20..d0d72ba0 100644 --- a/lib/stack/workflow/index.js +++ b/lib/stack/workflow/index.js @@ -149,7 +149,7 @@ export function Workflow (http, data = {}) { * client.stack({ api_key: 'api_key'}).workflow('workflow_uid').contentType('contentType_uid').getPublishRules() * .then((collection) => console.log(collection)) */ - async function getPublishRules (params) { + const getPublishRules = async function (params) { const headers = {} if (this.stackHeaders) { headers.headers = this.stackHeaders @@ -187,63 +187,63 @@ export function Workflow (http, data = {}) { * const client = contentstack.client() * * const workflow = { - * "workflow_stages": [ + *"workflow_stages": [ * { - * "color": "#2196f3", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "next_available_stages": [ - * "$all" - * ], - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) - * "name": "Review" - * }, - * { - * "color": "#74ba76", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "next_available_stages": [ - * "$all" - * ], - * "entry_lock": "$none", - * "name": "Complete" - * } - * ], - * "admin_users": { - * "users": [] - * }, - * "name": "Workflow Name", - * "enabled": true, - * "content_types": [ - * "$all" - * ] - * } + * "color": "#2196f3", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "next_available_stages": [ + * "$all" + * ], + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) + * "name": "Review" + * }, + * { + * "color": "#74ba76", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "next_available_stages": [ + * "$all" + * ], + * "entry_lock": "$none", + * "name": "Complete" + * } + * ], + * "admin_users": { + * "users": [] + * }, + * "name": "Workflow Name", + * "enabled": true, + * "content_types": [ + * "$all" + * ] + * } * client.stack().workflow().create({ workflow }) * .then((workflow) => console.log(workflow)) */ diff --git a/lib/stack/workflow/publishRules/index.js b/lib/stack/workflow/publishRules/index.js index a0e0023e..437fae61 100644 --- a/lib/stack/workflow/publishRules/index.js +++ b/lib/stack/workflow/publishRules/index.js @@ -69,80 +69,78 @@ export function PublishRules (http, data = {}) { * */ this.fetch = fetch(http, 'publishing_rule') - } else { - /** - * @description The Create Publish Rules request allows you to create publish rules for the publish rules of a stack. - * @memberof PublishRules - * @func create - * @returns {Promise} Promise for PublishRules instance - * - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * const publishing_rule = { - * "publish rules": "publish rules_uid", - * "actions": [], - * "content_types": ["$all"], - * "locales": ["en-us"], - * "environment": "environment_uid", - * "approvers": { - * "users": ["user_uid"], - * "roles": ["role_uid"] - * }, - * "publish rules_stage": "publish rules_stage_uid", - * "disable_approver_publishing": false - * } - * client.stack().publishRules().create({ publishing_rule }) - * .then((publishRules) => console.log(publishRules)) - */ - this.create = create({ http: http }) + /** + * @description The Create Publish Rules request allows you to create publish rules for the publish rules of a stack. + * @memberof PublishRules + * @func create + * @returns {Promise} Promise for PublishRules instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * const publishing_rule = { + * "publish rules": "publish rules_uid", + * "actions": [], + * "content_types": ["$all"], + * "locales": ["en-us"], + * "environment": "environment_uid", + * "approvers": { + * "users": ["user_uid"], + * "roles": ["role_uid"] + * }, + * "publish rules_stage": "publish rules_stage_uid", + * "disable_approver_publishing": false + * } + * client.stack().publishRules().create({ publishing_rule }) + * .then((publishRules) => console.log(publishRules)) + */ + this.create = create({ http: http }) - /** - * @description The Get all Publish Rules request retrieves the details of all the Publish rules of a workflow. - * @memberof Publish Rules - * @func fetchAll - * @param {String} content_types Enter a comma-separated list of content type UIDs for filtering publish rules on its basis. - * @param {Int} limit The limit parameter will return a specific number of Publish Ruless in the output. - * @param {Int} skip The skip parameter will skip a specific number of Publish Ruless in the output. - * @param {Boolean}include_count To retrieve the count of Publish Ruless. - * @returns {ContentstackCollection} Result collection of content of specified module. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).publishRules().fetchAll({ content_types: 'content_type_uid1,content_type_uid2' }) - * .then((collection) => console.log(collection)) - * - */ - this.fetchAll = async (params) => { - const headers = {} - if (this.stackHeaders) { - headers.headers = this.stackHeaders - } - if (params) { - headers.params = { - ...cloneDeep(params) - } - } - try { - const response = await http.get(this.urlPath, headers) - if (response.data) { - return new ContentstackCollection(response, http, null, PublishRulesCollection) - } else { - throw error(response) - } - } catch (err) { - throw error(err) - } + /** + * @description The Get all Publish Rules request retrieves the details of all the Publish rules of a workflow. + * @memberof Publish Rules + * @func fetchAll + * @param {String} content_types Enter a comma-separated list of content type UIDs for filtering publish rules on its basis. + * @param {Int} limit The limit parameter will return a specific number of Publish Ruless in the output. + * @param {Int} skip The skip parameter will skip a specific number of Publish Ruless in the output. + * @param {Boolean}include_count To retrieve the count of Publish Ruless. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).publishRules().fetchAll({ content_types: 'content_type_uid1,content_type_uid2' }) + * .then((collection) => console.log(collection)) + * + */ + this.fetchAll = async (params) => { + const headers = {} + if (this.stackHeaders) { + headers.headers = this.stackHeaders + } + if (params) { + headers.params = { + ...cloneDeep(params) + } + } + try { + const response = await http.get(this.urlPath, headers) + if (response.data) { + return new ContentstackCollection(response, http, null, PublishRulesCollection) + } else { + throw error(response) } + } catch (err) { + throw error(err) + } } + } } export function PublishRulesCollection (http, data) { - const obj = cloneDeep(data.publishing_rules) || [] - const publishRulesollection = obj.map((userdata) => { - return new PublishRules(http, { publishing_rule: userdata, stackHeaders: data.stackHeaders }) - }) - return publishRulesollection + const obj = cloneDeep(data.publishing_rules) || [] + return obj.map((userdata) => { + return new PublishRules(http, { publishing_rule: userdata, stackHeaders: data.stackHeaders }) + }) } diff --git a/lib/user/index.js b/lib/user/index.js index 256d2613..980d72d4 100644 --- a/lib/user/index.js +++ b/lib/user/index.js @@ -130,7 +130,7 @@ export function User (http, data) { const headers = {} if (params) { headers.params = { - ...cloneDeep(params) + ...cloneDeep(params) } } try { diff --git a/test/api/branch-test.js b/test/api/branch-test.js new file mode 100644 index 00000000..226879ae --- /dev/null +++ b/test/api/branch-test.js @@ -0,0 +1,124 @@ +import { expect } from 'chai' +import { describe, it, setup } from 'mocha' +import { jsonReader } from '../utility/fileOperations/readwrite' +import { contentstackClient } from '../utility/ContentstackClient.js' +import { branch, devBranch } from './mock/branch' + +var client = {} +var stack = {} + +describe('Branch api Test', () => { + setup(() => { + const user = jsonReader('loggedinuser.json') + stack = jsonReader('stack.json') + client = contentstackClient(user.authtoken) + }) + + it('Branch query should return master branch', done => { + makeBranch() + .query() + .find() + .then((response) => { + expect(response.items.length).to.be.equal(1) + var item = response.items[0] + expect(item.urlPath).to.be.equal(`/stacks/branches/${item.uid}`) + expect(item.delete).to.not.equal(undefined) + expect(item.fetch).to.not.equal(undefined) + done() + }) + .catch(done) + }) + + it('Should create Branch', done => { + makeBranch() + .create({ branch }) + .then((response) => { + expect(response.uid).to.be.equal(branch.uid) + expect(response.urlPath).to.be.equal(`/stacks/branches/${branch.uid}`) + expect(response.source).to.be.equal(branch.source) + expect(response.alias.length).to.be.equal(0) + expect(response.delete).to.not.equal(undefined) + expect(response.fetch).to.not.equal(undefined) + done() + }) + .catch(done) + }) + + it('Should create Branch from staging', done => { + makeBranch() + .create({ branch: devBranch }) + .then((response) => { + expect(response.uid).to.be.equal(devBranch.uid) + expect(response.urlPath).to.be.equal(`/stacks/branches/${devBranch.uid}`) + expect(response.source).to.be.equal(devBranch.source) + expect(response.alias.length).to.be.equal(0) + expect(response.delete).to.not.equal(undefined) + expect(response.fetch).to.not.equal(undefined) + done() + }) + .catch(done) + }) + + it('Should fetch branch from branch uid', done => { + makeBranch(devBranch.uid) + .fetch() + .then((response) => { + expect(response.uid).to.be.equal(devBranch.uid) + expect(response.urlPath).to.be.equal(`/stacks/branches/${devBranch.uid}`) + expect(response.source).to.be.equal(devBranch.source) + expect(response.alias.length).to.be.equal(0) + expect(response.delete).to.not.equal(undefined) + expect(response.fetch).to.not.equal(undefined) + done() + }) + .catch(done) + }) + + it('Branch query should return all branches', done => { + makeBranch() + .query() + .find() + .then((response) => { + expect(response.items.length).to.be.equal(3) + response.items.forEach(item => { + expect(item.urlPath).to.be.equal(`/stacks/branches/${item.uid}`) + expect(item.delete).to.not.equal(undefined) + expect(item.fetch).to.not.equal(undefined) + }) + done() + }) + .catch(done) + }) + + it('Branch query for specific condition', done => { + makeBranch() + .query({ query: { source: 'master' } }) + .find() + .then((response) => { + expect(response.items.length).to.be.equal(1) + response.items.forEach(item => { + expect(item.urlPath).to.be.equal(`/stacks/branches/${item.uid}`) + expect(item.source).to.be.equal(`master`) + expect(item.delete).to.not.equal(undefined) + expect(item.fetch).to.not.equal(undefined) + }) + done() + }) + .catch(done) + }) + + it('Should delete branch from branch uid', done => { + makeBranch(devBranch.uid) + .delete() + .then((response) => { + console.log(response) + expect(response.notice).to.be.equal('Branch deleted successfully.') + done() + }) + .catch(done) + }) +}) + +function makeBranch (uid = null) { + return client.stack({ api_key: stack.api_key }).branch(uid) +} diff --git a/test/api/branchAlias-test.js b/test/api/branchAlias-test.js new file mode 100644 index 00000000..df5dc7e5 --- /dev/null +++ b/test/api/branchAlias-test.js @@ -0,0 +1,82 @@ +import { expect } from 'chai' +import { describe, it, setup } from 'mocha' +import { jsonReader } from '../utility/fileOperations/readwrite' +import { contentstackClient } from '../utility/ContentstackClient.js' +import { branch } from './mock/branch' + +var client = {} +var stack = {} + +describe('Branch api Test', () => { + setup(() => { + const user = jsonReader('loggedinuser.json') + stack = jsonReader('stack.json') + client = contentstackClient(user.authtoken) + }) + + // it('Branch query should return master branch', done => { + // makeBranchAlias() + // .query({ query: { uid: 'development' } }) + // .find() + // .then((response) => { + // console.log(response) + // // expect(response.items.length).to.be.equal(1) + // // var item = response.items[0] + // // expect(item.urlPath).to.be.equal(`/stacks/branch_aliases/${item.uid}`) + // // expect(item.delete).to.not.equal(undefined) + // // expect(item.fetch).to.not.equal(undefined) + // done() + // }) + // .catch(done) + // }) + + it('Should create Branch Alias', done => { + makeBranchAlias(`${branch.uid}_alias`) + .createOrUpdate(branch.uid) + .then((response) => { + expect(response.uid).to.be.equal(branch.uid) + expect(response.urlPath).to.be.equal(`/stacks/branches/${branch.uid}`) + expect(response.source).to.be.equal(branch.source) + expect(response.alias.length).to.be.equal(1) + expect(response.delete).to.not.equal(undefined) + expect(response.fetch).to.not.equal(undefined) + done() + }) + .catch(done) + }) + + it('Should fetch Branch Alias', done => { + makeBranchAlias(`${branch.uid}_alias`) + .fetch() + .then((response) => { + expect(response.uid).to.be.equal(branch.uid) + expect(response.urlPath).to.be.equal(`/stacks/branches/${branch.uid}`) + expect(response.source).to.be.equal(branch.source) + expect(response.alias.length).to.be.equal(1) + expect(response.delete).to.not.equal(undefined) + expect(response.fetch).to.not.equal(undefined) + done() + }) + .catch(done) + }) + + it('Should delete Branch Alias', done => { + try { + makeBranchAlias(`${branch.uid}_alias`) + .delete() + .then((response) => { + expect(response.status).to.be.equal(204) + expect(response.statusText).to.be.equal('No Content') + done() + }) + .catch(done) + } + catch (e) { + done() + } + }) +}) + +function makeBranchAlias (uid = null) { + return client.stack({ api_key: stack.api_key }).branchAlias(uid) +} diff --git a/test/api/mock/branch.js b/test/api/mock/branch.js new file mode 100644 index 00000000..f0fb1698 --- /dev/null +++ b/test/api/mock/branch.js @@ -0,0 +1,14 @@ +const branch = { + uid: 'staging', + source: 'master' +} + +const devBranch = { + uid: 'development', + source: 'staging' +} + +export { + branch, + devBranch +} diff --git a/test/test.js b/test/test.js index 1c178c54..23f185cf 100644 --- a/test/test.js +++ b/test/test.js @@ -1,6 +1,8 @@ require('./api/user-test') require('./api/organization-test') require('./api/stack-test') +require('./api/branch-test') +require('./api/branchAlias-test') require('./api/locale-test') require('./api/environment-test') require('./api/deliveryToken-test') diff --git a/test/unit/branch-test.js b/test/unit/branch-test.js index aeb3b5ab..9b600384 100644 --- a/test/unit/branch-test.js +++ b/test/unit/branch-test.js @@ -1,7 +1,9 @@ import axios from 'axios' import { expect } from 'chai' import { describe, it } from 'mocha' -import { Branch } from '../../lib/stack/branch' +import MockAdapter from 'axios-mock-adapter' +import { Branch, BranchCollection } from '../../lib/stack/branch' +import { branchMock, checkSystemFields, noticeMock, stackHeadersMock, systemUidMock } from './mock/objects' describe('Contentstack Branch test', () => { it('Branch test without uid', done => { @@ -11,29 +13,148 @@ describe('Contentstack Branch test', () => { expect(branch.urlPath).to.be.equal('/stacks/branches') expect(branch.create).to.not.equal(undefined) expect(branch.query).to.not.equal(undefined) - expect(branch.update).to.equal(undefined) expect(branch.delete).to.equal(undefined) expect(branch.fetch).to.equal(undefined) done() }) it('Branch test with uid', done => { - const branch = makeBranch({ branch: { name: 'branch' } }) + const branch = makeBranch({ branch: { uid: 'branch' } }) expect(branch).to.not.equal(undefined) - expect(branch.name).to.be.equal('branch') + expect(branch.uid).to.be.equal('branch') expect(branch.urlPath).to.be.equal('/stacks/branches/branch') expect(branch.create).to.equal(undefined) expect(branch.query).to.equal(undefined) - expect(branch.update).to.not.equal(undefined) expect(branch.delete).to.not.equal(undefined) expect(branch.fetch).to.not.equal(undefined) done() }) + + it('Branch Collection test with blank data', done => { + const branch = new BranchCollection(axios, {}) + expect(branch.length).to.be.equal(0) + done() + }) + + it('Branch Collection test with data', done => { + const branch = new BranchCollection(axios, { branches: [branchMock] }) + expect(branch.length).to.be.equal(1) + checkBranch(branch[0]) + done() + }) + + it('Branch create test', done => { + var mock = new MockAdapter(axios) + mock.onPost('/stacks/branches').reply(200, { + branch: { + ...branchMock + } + }) + makeBranch() + .create() + .then((branchAlias) => { + checkBranch(branchAlias) + done() + }) + .catch(done) + }) + + it('Branch Fetch all without Stack Headers test', done => { + var mock = new MockAdapter(axios) + mock.onGet('/stacks/branches').reply(200, { + branches: [ + branchMock + ] + }) + makeBranch() + .query() + .find() + .then((workflows) => { + checkBranch(workflows.items[0]) + done() + }) + .catch(done) + }) + + it('Branch Fetch all with params test', done => { + var mock = new MockAdapter(axios) + mock.onGet('/stacks/branches').reply(200, { + branches: [ + branchMock + ] + }) + makeBranch({ stackHeaders: stackHeadersMock }) + .query() + .find({}) + .then((workflows) => { + checkBranch(workflows.items[0]) + done() + }) + .catch(done) + }) + + it('Branch Fetch all without params test', done => { + var mock = new MockAdapter(axios) + mock.onGet('/stacks/branches').reply(200, { + branches: [ + branchMock + ] + }) + makeBranch({ stackHeaders: stackHeadersMock }) + .query() + .find(null) + .then((workflows) => { + checkBranch(workflows.items[0]) + done() + }) + .catch(done) + }) + + it('Branch fetch test', done => { + var mock = new MockAdapter(axios) + mock.onGet('/stacks/branches/UID').reply(200, { + branch: { + ...branchMock + } + }) + makeBranch({ + branch: { + ...systemUidMock + }, + stackHeaders: stackHeadersMock + }) + .fetch() + .then((workflow) => { + checkBranch(workflow) + done() + }) + .catch(done) + }) + + it('Branch delete test', done => { + var mock = new MockAdapter(axios) + mock.onDelete('/stacks/branches/UID').reply(200, { + ...noticeMock + }) + makeBranch({ + branch: { + ...systemUidMock + }, + stackHeaders: stackHeadersMock + }) + .delete() + .then((workflow) => { + expect(workflow.notice).to.be.equal(noticeMock.notice) + done() + }) + .catch(done) + }) }) function makeBranch (data) { return new Branch(axios, data) } -// function checkBranch (environment) { -// } +function checkBranch (branch) { + checkSystemFields(branch) +} diff --git a/test/unit/branchAlias-test.js b/test/unit/branchAlias-test.js new file mode 100644 index 00000000..1f89a7c5 --- /dev/null +++ b/test/unit/branchAlias-test.js @@ -0,0 +1,167 @@ +import Axios from 'axios' +import { expect } from 'chai' +import { describe, it } from 'mocha' +import MockAdapter from 'axios-mock-adapter' +import { branchAliasMock, checkSystemFields, noticeMock, stackHeadersMock, systemUidMock } from './mock/objects' +import { BranchAlias, BranchAliasCollection } from '../../lib/stack/branchAlias' + +describe('Contentstack BranchAlias test', () => { + it('BranchAlias test without uid', done => { + const branch = makeBranchAlias() + expect(branch).to.not.equal(undefined) + expect(branch.uid).to.be.equal(undefined) + expect(branch.urlPath).to.be.equal('/stacks/branch_aliases') + expect(branch.createOrUpdate).to.equal(undefined) + expect(branch.delete).to.equal(undefined) + expect(branch.fetch).to.equal(undefined) + done() + }) + + it('BranchAlias test with uid', done => { + const branch = makeBranchAlias({ branch_alias: { uid: 'branch' } }) + expect(branch).to.not.equal(undefined) + expect(branch.uid).to.be.equal('branch') + expect(branch.urlPath).to.be.equal('/stacks/branch_aliases/branch') + expect(branch.createOrUpdate).to.not.equal(undefined) + expect(branch.delete).to.not.equal(undefined) + expect(branch.fetch).to.not.equal(undefined) + done() + }) + + it('BranchAlias Collection test with blank data', done => { + const branchAlias = new BranchAliasCollection(Axios, {}) + expect(branchAlias.length).to.be.equal(0) + done() + }) + + it('BranchAlias Collection test with data', done => { + const branchAlias = new BranchAliasCollection(Axios, { + branch_aliases: [ + branchAliasMock + ] + }) + expect(branchAlias.length).to.be.equal(1) + checkBranchAlias(branchAlias[0]) + done() + }) + + // it('BranchAlias Fetch all without Stack Headers test', done => { + // var mock = new MockAdapter(Axios) + // mock.onGet('/stacks/branch_aliases').reply(200, { + // branch_aliases: [ + // branchAliasMock + // ] + // }) + // makeBranchAlias() + // .query() + // .find() + // .then((workflows) => { + // checkBranchAlias(workflows.items[0]) + // done() + // }) + // .catch(done) + // }) + + // it('BranchAlias Fetch all with params test', done => { + // var mock = new MockAdapter(Axios) + // mock.onGet('/stacks/branch_aliases').reply(200, { + // branch_aliases: [ + // branchAliasMock + // ] + // }) + // makeBranchAlias({ stackHeaders: stackHeadersMock }) + // .query() + // .find({}) + // .then((workflows) => { + // checkBranchAlias(workflows.items[0]) + // done() + // }) + // .catch(done) + // }) + + // it('BranchAlias Fetch all without params test', done => { + // var mock = new MockAdapter(Axios) + // mock.onGet('/stacks/branch_aliases').reply(200, { + // branch_aliases: [ + // branchAliasMock + // ] + // }) + // makeBranchAlias({ stackHeaders: stackHeadersMock }) + // .query() + // .find(null) + // .then((workflows) => { + // checkBranchAlias(workflows.items[0]) + // done() + // }) + // .catch(done) + // }) + + it('BranchAlias update test', done => { + var mock = new MockAdapter(Axios) + mock.onPut('/stacks/branch_aliases/UID').reply(200, { + branch_alias: { + ...branchAliasMock + } + }) + makeBranchAlias({ + branch_alias: { + ...systemUidMock + }, + stackHeaders: stackHeadersMock + }) + .createOrUpdate() + .then((workflow) => { + checkBranchAlias(workflow) + done() + }) + .catch(done) + }) + + it('BranchAlias fetch test', done => { + var mock = new MockAdapter(Axios) + mock.onGet('/stacks/branch_aliases/UID').reply(200, { + branch_alias: { + ...branchAliasMock + } + }) + makeBranchAlias({ + branch_alias: { + ...systemUidMock + }, + stackHeaders: stackHeadersMock + }) + .fetch() + .then((workflow) => { + checkBranchAlias(workflow) + done() + }) + .catch(done) + }) + + it('BranchAlias delete test', done => { + var mock = new MockAdapter(Axios) + mock.onDelete('/stacks/branch_aliases/UID').reply(200, { + ...noticeMock + }) + makeBranchAlias({ + branch_alias: { + ...systemUidMock + }, + stackHeaders: stackHeadersMock + }) + .delete() + .then((workflow) => { + expect(workflow.notice).to.be.equal(noticeMock.notice) + done() + }) + .catch(done) + }) +}) + +function makeBranchAlias (data) { + return new BranchAlias(Axios, data) +} + +function checkBranchAlias (branchAlias) { + checkSystemFields(branchAlias) +} diff --git a/test/unit/index.js b/test/unit/index.js index 5a1be4ef..8d35e809 100644 --- a/test/unit/index.js +++ b/test/unit/index.js @@ -12,6 +12,7 @@ require('./stack-test') require('./asset-folder-test') require('./extension-test') require('./branch-test') +require('./branchAlias-test') require('./release-test') require('./asset-test') require('./webhook-test') diff --git a/test/unit/mock/objects.js b/test/unit/mock/objects.js index 24fff6ef..5c7d29e0 100644 --- a/test/unit/mock/objects.js +++ b/test/unit/mock/objects.js @@ -143,6 +143,24 @@ const roleMock = { ...adminRoleMock, admin: false } +const branchMock = { + ...systemFieldsMock, + ...systemFieldsUserMock, + alias: [], + description: '', + source: 'master' +} + +const branchAliasMock = { + ...systemFieldsMock, + ...systemFieldsUserMock, + alias: [ + { + uid: 'master' + } + ], + source: '' +} const folderMock = { ...systemFieldsMock, @@ -234,28 +252,28 @@ const workflowMock = { ...systemFieldsMock, ...systemFieldsUserMock, ...stackHeadersMock, - name: "TEST workflow", - description: "Workflow description", + name: 'TEST workflow', + description: 'Workflow description', org_uid: 'orgUID', - content_types: [ - "author", - "article" - ], + content_types: [ + 'author', + 'article' + ], enabled: true, admin_users: { users: [], roles: [ - "" + '' ] - }, + } } const publishRulesMock = { ...systemFieldsMock, - locale: "en-us", - action: "publish", - environment: "env", - workflow_stage: "stage", + locale: 'en-us', + action: 'publish', + environment: 'env', + workflow_stage: 'stage' } const contentTypeMock = { @@ -402,29 +420,29 @@ const deliveryTokenMock = { const userAssignments = { ...stackHeadersMock, - content_type: "CT_UID", - entry_uid: "ETR_UID", - locale: "en-us", - org_uid: "orgUID", - type: "workflow_stage", - entry_locale: "en-us", + content_type: 'CT_UID', + entry_uid: 'ETR_UID', + locale: 'en-us', + org_uid: 'orgUID', + type: 'workflow_stage', + entry_locale: 'en-us', version: 1, assigned_to: [ - "user_UID" + 'user_UID' ], - assigned_at: "assign_date", - assigned_by: "assign_by", - due_date: "due_date", + assigned_at: 'assign_date', + assigned_by: 'assign_by', + due_date: 'due_date', job: { - org: "sample_org", - stack: "demo", - content_type: "CT_JOB", - entry: "ERT_JOB", - locale: "English - United States", + org: 'sample_org', + stack: 'demo', + content_type: 'CT_JOB', + entry: 'ERT_JOB', + locale: 'English - United States', workflow_stage: { - uid: "review", - title: "Review", - color: "red" + uid: 'review', + title: 'Review', + color: 'red' } } } @@ -465,6 +483,8 @@ export { orgISOwnerMock, adminRoleMock, roleMock, + branchMock, + branchAliasMock, systemUidMock, stackHeadersMock, folderMock, diff --git a/test/unit/stack-test.js b/test/unit/stack-test.js index 4276a43d..78a0de9b 100644 --- a/test/unit/stack-test.js +++ b/test/unit/stack-test.js @@ -22,6 +22,7 @@ describe('Contentstack Stack test', () => { expect(stack.globalField).to.be.equal(undefined) expect(stack.environment).to.be.equal(undefined) expect(stack.branch).to.be.equal(undefined) + expect(stack.branchAlias).to.be.equal(undefined) expect(stack.deliveryToken).to.be.equal(undefined) expect(stack.extension).to.be.equal(undefined) expect(stack.webhook).to.be.equal(undefined) @@ -56,6 +57,7 @@ describe('Contentstack Stack test', () => { expect(stack.globalField).to.be.equal(undefined) expect(stack.environment).to.be.equal(undefined) expect(stack.branch).to.be.equal(undefined) + expect(stack.branchAlias).to.be.equal(undefined) expect(stack.deliveryToken).to.be.equal(undefined) expect(stack.extension).to.be.equal(undefined) expect(stack.webhook).to.be.equal(undefined) @@ -90,6 +92,7 @@ describe('Contentstack Stack test', () => { expect(stack.globalField).to.be.equal(undefined) expect(stack.environment).to.be.equal(undefined) expect(stack.branch).to.be.equal(undefined) + expect(stack.branchAlias).to.be.equal(undefined) expect(stack.deliveryToken).to.be.equal(undefined) expect(stack.extension).to.be.equal(undefined) expect(stack.webhook).to.be.equal(undefined) @@ -124,6 +127,7 @@ describe('Contentstack Stack test', () => { expect(stack.globalField).to.be.equal(undefined) expect(stack.environment).to.be.equal(undefined) expect(stack.branch).to.be.equal(undefined) + expect(stack.branchAlias).to.be.equal(undefined) expect(stack.deliveryToken).to.be.equal(undefined) expect(stack.extension).to.be.equal(undefined) expect(stack.webhook).to.be.equal(undefined) @@ -158,6 +162,7 @@ describe('Contentstack Stack test', () => { expect(stack.globalField).to.be.equal(undefined) expect(stack.environment).to.be.equal(undefined) expect(stack.branch).to.be.equal(undefined) + expect(stack.branchAlias).to.be.equal(undefined) expect(stack.deliveryToken).to.be.equal(undefined) expect(stack.extension).to.be.equal(undefined) expect(stack.webhook).to.be.equal(undefined) @@ -194,6 +199,7 @@ describe('Contentstack Stack test', () => { expect(stack.globalField).to.not.equal(undefined) expect(stack.environment).to.not.equal(undefined) expect(stack.branch).to.not.equal(undefined) + expect(stack.branchAlias).to.not.equal(undefined) expect(stack.deliveryToken).to.not.equal(undefined) expect(stack.extension).to.not.equal(undefined) expect(stack.webhook).to.not.equal(undefined) @@ -230,6 +236,7 @@ describe('Contentstack Stack test', () => { expect(stack.globalField).to.not.equal(undefined) expect(stack.environment).to.not.equal(undefined) expect(stack.branch).to.not.equal(undefined) + expect(stack.branchAlias).to.not.equal(undefined) expect(stack.deliveryToken).to.not.equal(undefined) expect(stack.extension).to.not.equal(undefined) expect(stack.webhook).to.not.equal(undefined) @@ -266,6 +273,7 @@ describe('Contentstack Stack test', () => { expect(stack.globalField).to.not.equal(undefined) expect(stack.environment).to.not.equal(undefined) expect(stack.branch).to.not.equal(undefined) + expect(stack.branchAlias).to.not.equal(undefined) expect(stack.deliveryToken).to.not.equal(undefined) expect(stack.extension).to.not.equal(undefined) expect(stack.webhook).to.not.equal(undefined) @@ -303,6 +311,7 @@ describe('Contentstack Stack test', () => { expect(stack.globalField).to.not.equal(undefined) expect(stack.environment).to.not.equal(undefined) expect(stack.branch).to.not.equal(undefined) + expect(stack.branchAlias).to.not.equal(undefined) expect(stack.deliveryToken).to.not.equal(undefined) expect(stack.extension).to.not.equal(undefined) expect(stack.webhook).to.not.equal(undefined) @@ -758,7 +767,7 @@ describe('Contentstack Stack test', () => { } }) .branch() - expect(branch.name).to.be.equal(undefined) + expect(branch.uid).to.be.equal(undefined) expect(branch.stackHeaders).to.not.equal(undefined) expect(branch.stackHeaders.api_key).to.be.equal('stack_api_key') done() @@ -767,27 +776,39 @@ describe('Contentstack Stack test', () => { it('Branch initialization with branch', done => { const branch = makeStack({ stack: { - api_key: 'stack_api_key', - branch_name: 'branch' + api_key: 'stack_api_key' } }) - .branch() - expect(branch.name).to.be.equal('branch') + .branch('branch') + expect(branch.uid).to.be.equal('branch') expect(branch.stackHeaders).to.not.equal(undefined) expect(branch.stackHeaders.api_key).to.be.equal('stack_api_key') done() }) - it('Branch initialization with branch', done => { - const branch = makeStack({ + it('BranchAlias initialization without branch', done => { + const branchAlias = makeStack({ stack: { api_key: 'stack_api_key' } }) - .branch('branch') - expect(branch.name).to.be.equal('branch') - expect(branch.stackHeaders).to.not.equal(undefined) - expect(branch.stackHeaders.api_key).to.be.equal('stack_api_key') + .branchAlias() + expect(branchAlias.uid).to.be.equal(undefined) + expect(branchAlias.stackHeaders).to.not.equal(undefined) + expect(branchAlias.stackHeaders.api_key).to.be.equal('stack_api_key') + done() + }) + + it('BranchAlias initialization with branch', done => { + const branchAlias = makeStack({ + stack: { + api_key: 'stack_api_key' + } + }) + .branchAlias('branch') + expect(branchAlias.uid).to.be.equal('branch') + expect(branchAlias.stackHeaders).to.not.equal(undefined) + expect(branchAlias.stackHeaders.api_key).to.be.equal('stack_api_key') done() }) From 23918a94927d954261e9ec7066a2e4f0c9289c30 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Tue, 25 May 2021 12:44:07 +0530 Subject: [PATCH 03/16] docs: :memo: Dist folder and Docs generated --- .jsdoc.json | 2 + dist/es-modules/contentstack.js | 3 +- dist/es-modules/contentstackClient.js | 9 +- dist/es-modules/entity.js | 37 +- dist/es-modules/stack/branch/index.js | 97 +++++ dist/es-modules/stack/branchAlias/index.js | 177 ++++++++ dist/es-modules/stack/index.js | 70 +++- dist/es-modules/stack/workflow/index.js | 112 +++--- .../stack/workflow/publishRules/index.js | 85 ++-- dist/es5/contentstack.js | 3 +- dist/es5/contentstackClient.js | 9 +- dist/es5/entity.js | 37 +- dist/es5/stack/branch/index.js | 113 ++++++ dist/es5/stack/branchAlias/index.js | 204 ++++++++++ dist/es5/stack/index.js | 70 +++- dist/es5/stack/workflow/index.js | 112 +++--- dist/es5/stack/workflow/publishRules/index.js | 91 ++--- dist/nativescript/contentstack-management.js | 2 +- dist/node/contentstack-management.js | 4 +- dist/react-native/contentstack-management.js | 2 +- dist/web/contentstack-management.js | 2 +- jsdocs/Asset.html | 4 +- jsdocs/BulkOperation.html | 4 +- jsdocs/ContentType.html | 4 +- jsdocs/Contentstack.html | 4 +- jsdocs/ContentstackClient.html | 41 +- jsdocs/DeliveryToken.html | 4 +- jsdocs/Entry.html | 4 +- jsdocs/Environment.html | 4 +- jsdocs/Extension.html | 4 +- jsdocs/Folder.html | 4 +- jsdocs/GlobalField.html | 4 +- jsdocs/Label.html | 4 +- jsdocs/Locale.html | 4 +- jsdocs/Organization.html | 4 +- jsdocs/PublishRules.html | 8 +- jsdocs/Release.html | 4 +- jsdocs/Role.html | 4 +- jsdocs/Stack.html | 378 ++++++++++++++++-- jsdocs/User.html | 4 +- jsdocs/Webhook.html | 4 +- jsdocs/Workflow.html | 116 +++--- jsdocs/contentstack.js.html | 7 +- jsdocs/contentstackClient.js.html | 13 +- jsdocs/index.html | 4 +- jsdocs/organization_index.js.html | 4 +- jsdocs/query_index.js.html | 4 +- jsdocs/stack_asset_folders_index.js.html | 4 +- jsdocs/stack_asset_index.js.html | 4 +- jsdocs/stack_bulkOperation_index.js.html | 4 +- jsdocs/stack_contentType_entry_index.js.html | 4 +- jsdocs/stack_contentType_index.js.html | 4 +- jsdocs/stack_deliveryToken_index.js.html | 4 +- jsdocs/stack_environment_index.js.html | 4 +- jsdocs/stack_extension_index.js.html | 4 +- jsdocs/stack_globalField_index.js.html | 4 +- jsdocs/stack_index.js.html | 58 ++- jsdocs/stack_label_index.js.html | 4 +- jsdocs/stack_locale_index.js.html | 4 +- jsdocs/stack_release_index.js.html | 4 +- jsdocs/stack_roles_index.js.html | 4 +- jsdocs/stack_webhook_index.js.html | 4 +- jsdocs/stack_workflow_index.js.html | 208 +++++----- .../stack_workflow_publishRules_index.js.html | 89 ++--- jsdocs/user_index.js.html | 6 +- lib/stack/branch/index.js | 4 +- lib/stack/branchAlias/index.js | 34 +- lib/stack/index.js | 4 +- lib/stack/workflow/index.js | 202 +++++----- test/api/branchAlias-test.js | 29 +- test/unit/branchAlias-test.js | 98 ++--- 71 files changed, 1916 insertions(+), 756 deletions(-) create mode 100644 dist/es-modules/stack/branch/index.js create mode 100644 dist/es-modules/stack/branchAlias/index.js create mode 100644 dist/es5/stack/branch/index.js create mode 100644 dist/es5/stack/branchAlias/index.js diff --git a/.jsdoc.json b/.jsdoc.json index 808c3636..f95fc7e8 100644 --- a/.jsdoc.json +++ b/.jsdoc.json @@ -16,6 +16,8 @@ "lib/stack/contentType/entry/index.js", "lib/stack/asset/index.js", "lib/stack/asset/folders/index.js", + "lib/stack/branch/index.js", + "lib/stack/branchAlias/index.js", "lib/stack/bulkOperation/index.js", "lib/stack/extension/index.js", "lib/stack/release/index.js", diff --git a/dist/es-modules/contentstack.js b/dist/es-modules/contentstack.js index 29583a62..afdf0c8d 100644 --- a/dist/es-modules/contentstack.js +++ b/dist/es-modules/contentstack.js @@ -138,8 +138,7 @@ export function client() { params = _objectSpread(_objectSpread({}, defaultParameter), clonedeep(params)); params.headers = _objectSpread(_objectSpread({}, params.headers), requiredHeaders); var http = httpClient(params); - var api = contentstackClient({ + return contentstackClient({ http: http }); - return api; } \ No newline at end of file diff --git a/dist/es-modules/contentstackClient.js b/dist/es-modules/contentstackClient.js index 6ad171d6..73dc0da2 100644 --- a/dist/es-modules/contentstackClient.js +++ b/dist/es-modules/contentstackClient.js @@ -76,7 +76,8 @@ export default function contentstackClient(_ref) { * @memberof ContentstackClient * @func stack * @param {String} api_key - Stack API Key - * @param {String} management_token - Stack API Key + * @param {String} management_token - Management token for Stack. + * @param {String} branch_name - Branch name or alias to access specific branch. Default is master. * @returns {Stack} Instance of Stack * * @example @@ -100,6 +101,12 @@ export default function contentstackClient(_ref) { * client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid').fetch() * .then((stack) => console.log(stack)) * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch() + * .then((stack) => console.log(stack)) */ diff --git a/dist/es-modules/entity.js b/dist/es-modules/entity.js index f0ab56ca..cbfe4060 100644 --- a/dist/es-modules/entity.js +++ b/dist/es-modules/entity.js @@ -362,6 +362,7 @@ export var update = function update(http, type) { })); }; export var deleteEntity = function deleteEntity(http) { + var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8() { var param, headers, @@ -377,37 +378,53 @@ export var deleteEntity = function deleteEntity(http) { headers: _objectSpread({}, cloneDeep(this.stackHeaders)), params: _objectSpread({}, cloneDeep(param)) } || {}; - _context8.next = 5; + + if (force === true) { + headers.params.force = true; + } + + _context8.next = 6; return http["delete"](this.urlPath, headers); - case 5: + case 6: response = _context8.sent; if (!response.data) { - _context8.next = 10; + _context8.next = 11; break; } return _context8.abrupt("return", response.data); - case 10: + case 11: + if (!(response.status >= 200 && response.status < 300)) { + _context8.next = 15; + break; + } + + return _context8.abrupt("return", { + status: response.status, + statusText: response.statusText + }); + + case 15: throw error(response); - case 11: - _context8.next = 16; + case 16: + _context8.next = 21; break; - case 13: - _context8.prev = 13; + case 18: + _context8.prev = 18; _context8.t0 = _context8["catch"](1); throw error(_context8.t0); - case 16: + case 21: case "end": return _context8.stop(); } } - }, _callee8, this, [[1, 13]]); + }, _callee8, this, [[1, 18]]); })); }; export var fetch = function fetch(http, type) { diff --git a/dist/es-modules/stack/branch/index.js b/dist/es-modules/stack/branch/index.js new file mode 100644 index 00000000..5319822d --- /dev/null +++ b/dist/es-modules/stack/branch/index.js @@ -0,0 +1,97 @@ +import cloneDeep from 'lodash/cloneDeep'; +import { create, query, fetch, deleteEntity } from '../../entity'; +/** + * + * @namespace Branch + */ + +export function Branch(http) { + var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + this.stackHeaders = data.stackHeaders; + this.urlPath = "/stacks/branches"; + data.branch = data.branch || data.branch_alias; + delete data.branch_alias; + + if (data.branch) { + Object.assign(this, cloneDeep(data.branch)); + this.urlPath = "/stacks/branches/".concat(this.uid); + /** + * @description The Delete Branch call is used to delete an existing Branch permanently from your Stack. + * @memberof Branch + * @func delete + * @returns {Object} Response Object. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch('branch_name').delete() + * .then((response) => console.log(response.notice)) + */ + + this["delete"] = deleteEntity(http); + /** + * @description The fetch Branch call fetches Branch details. + * @memberof Branch + * @func fetch + * @returns {Promise} Promise for Branch instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch('branch_name').fetch() + * .then((branch) => console.log(branch)) + * + */ + + this.fetch = fetch(http, 'branch'); + } else { + /** + * @description The Create a Branch call creates a new branch in a particular stack of your Contentstack account. + * @memberof Branch + * @func create + * @returns {Promise} Promise for Branch instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * const branch = { + * name: 'branch_name', + * source: 'master' + * } + * client.stack({ api_key: 'api_key'}).branch().create({ branch }) + * .then((branch) => { console.log(branch) }) + */ + this.create = create({ + http: http + }); + /** + * @description The 'Get all Branch' request returns comprehensive information about branch created in a Stack. + * @memberof Branch + * @func query + * @returns {Promise} Promise for ContentstackCollection instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch().query().find() + * .then((collection) => { console.log(collection) }) + */ + + this.query = query({ + http: http, + wrapperCollection: BranchCollection + }); + } + + return this; +} +export function BranchCollection(http, data) { + var obj = cloneDeep(data.branches) || data.branch_aliases || []; + return obj.map(function (branchData) { + return new Branch(http, { + branch: branchData, + stackHeaders: data.stackHeaders + }); + }); +} \ No newline at end of file diff --git a/dist/es-modules/stack/branchAlias/index.js b/dist/es-modules/stack/branchAlias/index.js new file mode 100644 index 00000000..b13acc44 --- /dev/null +++ b/dist/es-modules/stack/branchAlias/index.js @@ -0,0 +1,177 @@ +import _regeneratorRuntime from "@babel/runtime/regenerator"; +import _defineProperty from "@babel/runtime/helpers/defineProperty"; +import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +import cloneDeep from 'lodash/cloneDeep'; +import error from '../../core/contentstackError'; +import { deleteEntity, fetchAll, parseData } from '../../entity'; +import { Branch, BranchCollection } from '../branch'; +/** + * + * @namespace BranchAlias + */ + +export function BranchAlias(http) { + var _this = this; + + var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + this.stackHeaders = data.stackHeaders; + this.urlPath = "/stacks/branch_aliases"; + + if (data.branch_alias) { + Object.assign(this, cloneDeep(data.branch_alias)); + this.urlPath = "/stacks/branch_aliases/".concat(this.uid); + /** + * @description The Update BranchAlias call lets you update the name of an existing BranchAlias. + * @memberof BranchAlias + * @func update + * @returns {Promise} Promise for BranchAlias instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').createOrUpdate('branch_uid') + * .then((branch) => { + * branch.name = 'new_branch_name' + * return branch.update() + * }) + * .then((branch) => console.log(branch)) + * + */ + + this.createOrUpdate = /*#__PURE__*/function () { + var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(targetBranch) { + var response; + return _regeneratorRuntime.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + _context.next = 3; + return http.put(_this.urlPath, { + branch_alias: { + target_branch: targetBranch + } + }, { + headers: _objectSpread({}, cloneDeep(_this.stackHeaders)) + }); + + case 3: + response = _context.sent; + + if (!response.data) { + _context.next = 8; + break; + } + + return _context.abrupt("return", new Branch(http, parseData(response, _this.stackHeaders))); + + case 8: + throw error(response); + + case 9: + _context.next = 14; + break; + + case 11: + _context.prev = 11; + _context.t0 = _context["catch"](0); + throw error(_context.t0); + + case 14: + case "end": + return _context.stop(); + } + } + }, _callee, null, [[0, 11]]); + })); + + return function (_x) { + return _ref.apply(this, arguments); + }; + }(); + /** + * @description The Delete BranchAlias call is used to delete an existing BranchAlias permanently from your Stack. + * @memberof BranchAlias + * @func delete + * @returns {Object} Response Object. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').delete() + * .then((response) => console.log(response.notice)) + */ + + + this["delete"] = deleteEntity(http, true); + /** + * @description The fetch BranchAlias call fetches BranchAlias details. + * @memberof BranchAlias + * @func fetch + * @returns {Promise} Promise for BranchAlias instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').fetch() + * .then((branch) => console.log(branch)) + * + */ + + this.fetch = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() { + var param, + headers, + response, + _args2 = arguments; + return _regeneratorRuntime.wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + param = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}; + _context2.prev = 1; + headers = { + headers: _objectSpread({}, cloneDeep(this.stackHeaders)) + } || {}; + _context2.next = 5; + return http.get(this.urlPath, headers); + + case 5: + response = _context2.sent; + + if (!response.data) { + _context2.next = 10; + break; + } + + return _context2.abrupt("return", new Branch(http, parseData(response, this.stackHeaders))); + + case 10: + throw error(response); + + case 11: + _context2.next = 16; + break; + + case 13: + _context2.prev = 13; + _context2.t0 = _context2["catch"](1); + throw error(_context2.t0); + + case 16: + case "end": + return _context2.stop(); + } + } + }, _callee2, this, [[1, 13]]); + })); + } else { + this.fetchAll = fetchAll(http, BranchCollection); + } + + return this; +} \ No newline at end of file diff --git a/dist/es-modules/stack/index.js b/dist/es-modules/stack/index.js index bd21777e..fceabbb2 100644 --- a/dist/es-modules/stack/index.js +++ b/dist/es-modules/stack/index.js @@ -22,7 +22,9 @@ import { Webhook } from './webhook'; import { Workflow } from './workflow'; import { Release } from './release'; import { BulkOperation } from './bulkOperation'; -import { Label } from './label'; // import { format } from 'util' +import { Label } from './label'; +import { Branch } from './branch'; +import { BranchAlias } from './branchAlias'; // import { format } from 'util' /** * A stack is a space that stores the content of a project (a web or mobile property). Within a stack, you can create content structures, content entries, users, etc. related to the project. Read more about Stacks. @@ -47,7 +49,7 @@ export function Stack(http, data) { api_key: this.api_key }; - if (this.management_token && this.management_token) { + if (this.management_token && this.management_token !== undefined) { this.stackHeaders.authorization = this.management_token; delete this.management_token; } @@ -236,6 +238,70 @@ export function Stack(http, data) { return new Environment(http, data); }; + /** + * @description + * @param {String} + * @returns {Branch} + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch().create() + * .then((branch) => console.log(branch)) + * + * client.stack({ api_key: 'api_key' }).branch('branch').fetch() + * .then((branch) => console.log(branch)) + * + */ + + + this.branch = function () { + var branchUid = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + var data = { + stackHeaders: _this.stackHeaders + }; + + if (branchUid) { + data.branch = { + uid: branchUid + }; + } + + return new Branch(http, data); + }; + /** + * @description + * @param {String} + * @returns {BranchAlias} + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias().create() + * .then((branch) => console.log(branch)) + * + * client.stack({ api_key: 'api_key' }).branchAlias('branch_uid').fetch() + * .then((branch) => console.log(branch)) + * + */ + + + this.branchAlias = function () { + var branchUid = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + var data = { + stackHeaders: _this.stackHeaders + }; + + if (branchUid) { + data.branch_alias = { + uid: branchUid + }; + } + + return new BranchAlias(http, data); + }; /** * @description Delivery Tokens provide read-only access to the associated environments. * @param {String} deliveryTokenUid The UID of the Delivery Token field you want to get details. diff --git a/dist/es-modules/stack/workflow/index.js b/dist/es-modules/stack/workflow/index.js index 1409d1ab..53dc10b7 100644 --- a/dist/es-modules/stack/workflow/index.js +++ b/dist/es-modules/stack/workflow/index.js @@ -277,63 +277,63 @@ export function Workflow(http) { * const client = contentstack.client() * * const workflow = { - * "workflow_stages": [ + *"workflow_stages": [ * { - * "color": "#2196f3", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "next_available_stages": [ - * "$all" - * ], - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) - * "name": "Review" - * }, - * { - * "color": "#74ba76", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "next_available_stages": [ - * "$all" - * ], - * "entry_lock": "$none", - * "name": "Complete" - * } - * ], - * "admin_users": { - * "users": [] - * }, - * "name": "Workflow Name", - * "enabled": true, - * "content_types": [ - * "$all" - * ] - * } + * "color": "#2196f3", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "next_available_stages": [ + * "$all" + * ], + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) + * "name": "Review" + * }, + * { + * "color": "#74ba76", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "next_available_stages": [ + * "$all" + * ], + * "entry_lock": "$none", + * "name": "Complete" + * } + * ], + * "admin_users": { + * "users": [] + * }, + * "name": "Workflow Name", + * "enabled": true, + * "content_types": [ + * "$all" + * ] + * } * client.stack().workflow().create({ workflow }) * .then((workflow) => console.log(workflow)) */ diff --git a/dist/es-modules/stack/workflow/publishRules/index.js b/dist/es-modules/stack/workflow/publishRules/index.js index ccb056d3..40c9e800 100644 --- a/dist/es-modules/stack/workflow/publishRules/index.js +++ b/dist/es-modules/stack/workflow/publishRules/index.js @@ -1,7 +1,5 @@ import cloneDeep from 'lodash/cloneDeep'; import { create, update, deleteEntity, fetch, fetchAll } from '../../../entity'; -import error from '../../../core/contentstackError'; -import ContentstackCollection from '../../../contentstackCollection'; /** * PublishRules is a tool that allows you to streamline the process of content creation and publishing, and lets you manage the content lifecycle of your project smoothly. Read more about PublishRuless and Publish Rules. * @namespace PublishRules @@ -66,61 +64,60 @@ export function PublishRules(http) { this.fetch = fetch(http, 'publishing_rule'); } else { /** - * @description The Create Publish Rules request allows you to create publish rules for the publish rules of a stack. - * @memberof PublishRules - * @func create - * @returns {Promise} Promise for PublishRules instance - * - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * const publishing_rule = { - * "publish rules": "publish rules_uid", - * "actions": [], - * "content_types": ["$all"], - * "locales": ["en-us"], - * "environment": "environment_uid", - * "approvers": { - * "users": ["user_uid"], - * "roles": ["role_uid"] - * }, - * "publish rules_stage": "publish rules_stage_uid", - * "disable_approver_publishing": false - * } - * client.stack().publishRules().create({ publishing_rule }) - * .then((publishRules) => console.log(publishRules)) - */ + * @description The Create Publish Rules request allows you to create publish rules for the publish rules of a stack. + * @memberof PublishRules + * @func create + * @returns {Promise} Promise for PublishRules instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * const publishing_rule = { + * "publish rules": "publish rules_uid", + * "actions": [], + * "content_types": ["$all"], + * "locales": ["en-us"], + * "environment": "environment_uid", + * "approvers": { + * "users": ["user_uid"], + * "roles": ["role_uid"] + * }, + * "publish rules_stage": "publish rules_stage_uid", + * "disable_approver_publishing": false + * } + * client.stack().publishRules().create({ publishing_rule }) + * .then((publishRules) => console.log(publishRules)) + */ this.create = create({ http: http }); /** - * @description The Get all Publish Rules request retrieves the details of all the Publish rules of a workflow. - * @memberof Publish Rules - * @func fetchAll - * @param {String} content_types Enter a comma-separated list of content type UIDs for filtering publish rules on its basis. - * @param {Int} limit The limit parameter will return a specific number of Publish Ruless in the output. - * @param {Int} skip The skip parameter will skip a specific number of Publish Ruless in the output. - * @param {Boolean}include_count To retrieve the count of Publish Ruless. - * @returns {ContentstackCollection} Result collection of content of specified module. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).publishRules().fetchAll({ content_types: 'content_type_uid1,content_type_uid2' }) - * .then((collection) => console.log(collection)) - * - */ + * @description The Get all Publish Rules request retrieves the details of all the Publish rules of a workflow. + * @memberof Publish Rules + * @func fetchAll + * @param {String} content_types Enter a comma-separated list of content type UIDs for filtering publish rules on its basis. + * @param {Int} limit The limit parameter will return a specific number of Publish Rules in the output. + * @param {Int} skip The skip parameter will skip a specific number of Publish Rules in the output. + * @param {Boolean}include_count To retrieve the count of Publish Rules. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).publishRules().fetchAll({ content_types: 'content_type_uid1,content_type_uid2' }) + * .then((collection) => console.log(collection)) + * + */ this.fetchAll = fetchAll(http, PublishRulesCollection); } } export function PublishRulesCollection(http, data) { var obj = cloneDeep(data.publishing_rules) || []; - var publishRulesollection = obj.map(function (userdata) { + return obj.map(function (userdata) { return new PublishRules(http, { publishing_rule: userdata, stackHeaders: data.stackHeaders }); }); - return publishRulesollection; } \ No newline at end of file diff --git a/dist/es5/contentstack.js b/dist/es5/contentstack.js index 5fa5e166..3c387830 100644 --- a/dist/es5/contentstack.js +++ b/dist/es5/contentstack.js @@ -162,8 +162,7 @@ function client() { params = _objectSpread(_objectSpread({}, defaultParameter), (0, _cloneDeep2["default"])(params)); params.headers = _objectSpread(_objectSpread({}, params.headers), requiredHeaders); var http = (0, _contentstackHTTPClient2["default"])(params); - var api = (0, _contentstackClient2["default"])({ + return (0, _contentstackClient2["default"])({ http: http }); - return api; } \ No newline at end of file diff --git a/dist/es5/contentstackClient.js b/dist/es5/contentstackClient.js index 0933268a..7f7156f0 100644 --- a/dist/es5/contentstackClient.js +++ b/dist/es5/contentstackClient.js @@ -96,7 +96,8 @@ function contentstackClient(_ref) { * @memberof ContentstackClient * @func stack * @param {String} api_key - Stack API Key - * @param {String} management_token - Stack API Key + * @param {String} management_token - Management token for Stack. + * @param {String} branch_name - Branch name or alias to access specific branch. Default is master. * @returns {Stack} Instance of Stack * * @example @@ -120,6 +121,12 @@ function contentstackClient(_ref) { * client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid').fetch() * .then((stack) => console.log(stack)) * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch() + * .then((stack) => console.log(stack)) */ diff --git a/dist/es5/entity.js b/dist/es5/entity.js index f31fd27d..d936f08f 100644 --- a/dist/es5/entity.js +++ b/dist/es5/entity.js @@ -403,6 +403,7 @@ var update = exports.update = function update(http, type) { }; var deleteEntity = exports.deleteEntity = function deleteEntity(http) { + var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return /*#__PURE__*/(0, _asyncToGenerator3["default"])( /*#__PURE__*/_regenerator2["default"].mark(function _callee8() { var param, headers, @@ -418,37 +419,53 @@ var deleteEntity = exports.deleteEntity = function deleteEntity(http) { headers: _objectSpread({}, (0, _cloneDeep2["default"])(this.stackHeaders)), params: _objectSpread({}, (0, _cloneDeep2["default"])(param)) } || {}; - _context8.next = 5; + + if (force === true) { + headers.params.force = true; + } + + _context8.next = 6; return http["delete"](this.urlPath, headers); - case 5: + case 6: response = _context8.sent; if (!response.data) { - _context8.next = 10; + _context8.next = 11; break; } return _context8.abrupt("return", response.data); - case 10: + case 11: + if (!(response.status >= 200 && response.status < 300)) { + _context8.next = 15; + break; + } + + return _context8.abrupt("return", { + status: response.status, + statusText: response.statusText + }); + + case 15: throw (0, _contentstackError2["default"])(response); - case 11: - _context8.next = 16; + case 16: + _context8.next = 21; break; - case 13: - _context8.prev = 13; + case 18: + _context8.prev = 18; _context8.t0 = _context8["catch"](1); throw (0, _contentstackError2["default"])(_context8.t0); - case 16: + case 21: case "end": return _context8.stop(); } } - }, _callee8, this, [[1, 13]]); + }, _callee8, this, [[1, 18]]); })); }; diff --git a/dist/es5/stack/branch/index.js b/dist/es5/stack/branch/index.js new file mode 100644 index 00000000..ed539cca --- /dev/null +++ b/dist/es5/stack/branch/index.js @@ -0,0 +1,113 @@ +"use strict"; + +var _interopRequireDefault3 = require("@babel/runtime/helpers/interopRequireDefault"); + +var _interopRequireDefault2 = _interopRequireDefault3(require("@babel/runtime/helpers/interopRequireDefault")); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Branch = Branch; +exports.BranchCollection = BranchCollection; + +var _cloneDeep = require("lodash/cloneDeep"); + +var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); + +var _entity = require("../../entity"); + +/** + * + * @namespace Branch + */ +function Branch(http) { + var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + this.stackHeaders = data.stackHeaders; + this.urlPath = "/stacks/branches"; + data.branch = data.branch || data.branch_alias; + delete data.branch_alias; + + if (data.branch) { + Object.assign(this, (0, _cloneDeep2["default"])(data.branch)); + this.urlPath = "/stacks/branches/".concat(this.uid); + /** + * @description The Delete Branch call is used to delete an existing Branch permanently from your Stack. + * @memberof Branch + * @func delete + * @returns {Object} Response Object. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch('branch_name').delete() + * .then((response) => console.log(response.notice)) + */ + + this["delete"] = (0, _entity.deleteEntity)(http); + /** + * @description The fetch Branch call fetches Branch details. + * @memberof Branch + * @func fetch + * @returns {Promise} Promise for Branch instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch('branch_name').fetch() + * .then((branch) => console.log(branch)) + * + */ + + this.fetch = (0, _entity.fetch)(http, 'branch'); + } else { + /** + * @description The Create a Branch call creates a new branch in a particular stack of your Contentstack account. + * @memberof Branch + * @func create + * @returns {Promise} Promise for Branch instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * const branch = { + * name: 'branch_name', + * source: 'master' + * } + * client.stack({ api_key: 'api_key'}).branch().create({ branch }) + * .then((branch) => { console.log(branch) }) + */ + this.create = (0, _entity.create)({ + http: http + }); + /** + * @description The 'Get all Branch' request returns comprehensive information about branch created in a Stack. + * @memberof Branch + * @func query + * @returns {Promise} Promise for ContentstackCollection instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch().query().find() + * .then((collection) => { console.log(collection) }) + */ + + this.query = (0, _entity.query)({ + http: http, + wrapperCollection: BranchCollection + }); + } + + return this; +} + +function BranchCollection(http, data) { + var obj = (0, _cloneDeep2["default"])(data.branches) || data.branch_aliases || []; + return obj.map(function (branchData) { + return new Branch(http, { + branch: branchData, + stackHeaders: data.stackHeaders + }); + }); +} \ No newline at end of file diff --git a/dist/es5/stack/branchAlias/index.js b/dist/es5/stack/branchAlias/index.js new file mode 100644 index 00000000..f6e49bfb --- /dev/null +++ b/dist/es5/stack/branchAlias/index.js @@ -0,0 +1,204 @@ +"use strict"; + +var _interopRequireDefault3 = require("@babel/runtime/helpers/interopRequireDefault"); + +var _interopRequireDefault2 = _interopRequireDefault3(require("@babel/runtime/helpers/interopRequireDefault")); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + +var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); + +var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); + +var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); + +var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); + +exports.BranchAlias = BranchAlias; + +var _cloneDeep = require("lodash/cloneDeep"); + +var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); + +var _contentstackError = require("../../core/contentstackError"); + +var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackError); + +var _entity = require("../../entity"); + +var _branch = require("../branch"); + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * + * @namespace BranchAlias + */ +function BranchAlias(http) { + var _this = this; + + var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + this.stackHeaders = data.stackHeaders; + this.urlPath = "/stacks/branch_aliases"; + + if (data.branch_alias) { + Object.assign(this, (0, _cloneDeep2["default"])(data.branch_alias)); + this.urlPath = "/stacks/branch_aliases/".concat(this.uid); + /** + * @description The Update BranchAlias call lets you update the name of an existing BranchAlias. + * @memberof BranchAlias + * @func update + * @returns {Promise} Promise for BranchAlias instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').createOrUpdate('branch_uid') + * .then((branch) => { + * branch.name = 'new_branch_name' + * return branch.update() + * }) + * .then((branch) => console.log(branch)) + * + */ + + this.createOrUpdate = /*#__PURE__*/function () { + var _ref = (0, _asyncToGenerator3["default"])( /*#__PURE__*/_regenerator2["default"].mark(function _callee(targetBranch) { + var response; + return _regenerator2["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + _context.next = 3; + return http.put(_this.urlPath, { + branch_alias: { + target_branch: targetBranch + } + }, { + headers: _objectSpread({}, (0, _cloneDeep2["default"])(_this.stackHeaders)) + }); + + case 3: + response = _context.sent; + + if (!response.data) { + _context.next = 8; + break; + } + + return _context.abrupt("return", new _branch.Branch(http, (0, _entity.parseData)(response, _this.stackHeaders))); + + case 8: + throw (0, _contentstackError2["default"])(response); + + case 9: + _context.next = 14; + break; + + case 11: + _context.prev = 11; + _context.t0 = _context["catch"](0); + throw (0, _contentstackError2["default"])(_context.t0); + + case 14: + case "end": + return _context.stop(); + } + } + }, _callee, null, [[0, 11]]); + })); + + return function (_x) { + return _ref.apply(this, arguments); + }; + }(); + /** + * @description The Delete BranchAlias call is used to delete an existing BranchAlias permanently from your Stack. + * @memberof BranchAlias + * @func delete + * @returns {Object} Response Object. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').delete() + * .then((response) => console.log(response.notice)) + */ + + + this["delete"] = (0, _entity.deleteEntity)(http, true); + /** + * @description The fetch BranchAlias call fetches BranchAlias details. + * @memberof BranchAlias + * @func fetch + * @returns {Promise} Promise for BranchAlias instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').fetch() + * .then((branch) => console.log(branch)) + * + */ + + this.fetch = /*#__PURE__*/(0, _asyncToGenerator3["default"])( /*#__PURE__*/_regenerator2["default"].mark(function _callee2() { + var param, + headers, + response, + _args2 = arguments; + return _regenerator2["default"].wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + param = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}; + _context2.prev = 1; + headers = { + headers: _objectSpread({}, (0, _cloneDeep2["default"])(this.stackHeaders)) + } || {}; + _context2.next = 5; + return http.get(this.urlPath, headers); + + case 5: + response = _context2.sent; + + if (!response.data) { + _context2.next = 10; + break; + } + + return _context2.abrupt("return", new _branch.Branch(http, (0, _entity.parseData)(response, this.stackHeaders))); + + case 10: + throw (0, _contentstackError2["default"])(response); + + case 11: + _context2.next = 16; + break; + + case 13: + _context2.prev = 13; + _context2.t0 = _context2["catch"](1); + throw (0, _contentstackError2["default"])(_context2.t0); + + case 16: + case "end": + return _context2.stop(); + } + } + }, _callee2, this, [[1, 13]]); + })); + } else { + this.fetchAll = (0, _entity.fetchAll)(http, _branch.BranchCollection); + } + + return this; +} \ No newline at end of file diff --git a/dist/es5/stack/index.js b/dist/es5/stack/index.js index 4995da36..003570b9 100644 --- a/dist/es5/stack/index.js +++ b/dist/es5/stack/index.js @@ -61,6 +61,10 @@ var _bulkOperation = require("./bulkOperation"); var _label = require("./label"); +var _branch = require("./branch"); + +var _branchAlias = require("./branchAlias"); + function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -89,7 +93,7 @@ function Stack(http, data) { api_key: this.api_key }; - if (this.management_token && this.management_token) { + if (this.management_token && this.management_token !== undefined) { this.stackHeaders.authorization = this.management_token; delete this.management_token; } @@ -278,6 +282,70 @@ function Stack(http, data) { return new _environment.Environment(http, data); }; + /** + * @description + * @param {String} + * @returns {Branch} + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch().create() + * .then((branch) => console.log(branch)) + * + * client.stack({ api_key: 'api_key' }).branch('branch').fetch() + * .then((branch) => console.log(branch)) + * + */ + + + this.branch = function () { + var branchUid = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + var data = { + stackHeaders: _this.stackHeaders + }; + + if (branchUid) { + data.branch = { + uid: branchUid + }; + } + + return new _branch.Branch(http, data); + }; + /** + * @description + * @param {String} + * @returns {BranchAlias} + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias().create() + * .then((branch) => console.log(branch)) + * + * client.stack({ api_key: 'api_key' }).branchAlias('branch_uid').fetch() + * .then((branch) => console.log(branch)) + * + */ + + + this.branchAlias = function () { + var branchUid = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + var data = { + stackHeaders: _this.stackHeaders + }; + + if (branchUid) { + data.branch_alias = { + uid: branchUid + }; + } + + return new _branchAlias.BranchAlias(http, data); + }; /** * @description Delivery Tokens provide read-only access to the associated environments. * @param {String} deliveryTokenUid The UID of the Delivery Token field you want to get details. diff --git a/dist/es5/stack/workflow/index.js b/dist/es5/stack/workflow/index.js index 4ee3390a..4eee388a 100644 --- a/dist/es5/stack/workflow/index.js +++ b/dist/es5/stack/workflow/index.js @@ -308,63 +308,63 @@ function Workflow(http) { * const client = contentstack.client() * * const workflow = { - * "workflow_stages": [ + *"workflow_stages": [ * { - * "color": "#2196f3", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "next_available_stages": [ - * "$all" - * ], - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) - * "name": "Review" - * }, - * { - * "color": "#74ba76", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "next_available_stages": [ - * "$all" - * ], - * "entry_lock": "$none", - * "name": "Complete" - * } - * ], - * "admin_users": { - * "users": [] - * }, - * "name": "Workflow Name", - * "enabled": true, - * "content_types": [ - * "$all" - * ] - * } + * "color": "#2196f3", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "next_available_stages": [ + * "$all" + * ], + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) + * "name": "Review" + * }, + * { + * "color": "#74ba76", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "next_available_stages": [ + * "$all" + * ], + * "entry_lock": "$none", + * "name": "Complete" + * } + * ], + * "admin_users": { + * "users": [] + * }, + * "name": "Workflow Name", + * "enabled": true, + * "content_types": [ + * "$all" + * ] + * } * client.stack().workflow().create({ workflow }) * .then((workflow) => console.log(workflow)) */ diff --git a/dist/es5/stack/workflow/publishRules/index.js b/dist/es5/stack/workflow/publishRules/index.js index 0fdd8f0b..62f9d601 100644 --- a/dist/es5/stack/workflow/publishRules/index.js +++ b/dist/es5/stack/workflow/publishRules/index.js @@ -16,14 +16,6 @@ var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); var _entity = require("../../../entity"); -var _contentstackError = require("../../../core/contentstackError"); - -var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackError); - -var _contentstackCollection = require("../../../contentstackCollection"); - -var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contentstackCollection); - /** * PublishRules is a tool that allows you to streamline the process of content creation and publishing, and lets you manage the content lifecycle of your project smoothly. Read more about PublishRuless and Publish Rules. * @namespace PublishRules @@ -87,50 +79,50 @@ function PublishRules(http) { this.fetch = (0, _entity.fetch)(http, 'publishing_rule'); } else { /** - * @description The Create Publish Rules request allows you to create publish rules for the publish rules of a stack. - * @memberof PublishRules - * @func create - * @returns {Promise} Promise for PublishRules instance - * - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * const publishing_rule = { - * "publish rules": "publish rules_uid", - * "actions": [], - * "content_types": ["$all"], - * "locales": ["en-us"], - * "environment": "environment_uid", - * "approvers": { - * "users": ["user_uid"], - * "roles": ["role_uid"] - * }, - * "publish rules_stage": "publish rules_stage_uid", - * "disable_approver_publishing": false - * } - * client.stack().publishRules().create({ publishing_rule }) - * .then((publishRules) => console.log(publishRules)) - */ + * @description The Create Publish Rules request allows you to create publish rules for the publish rules of a stack. + * @memberof PublishRules + * @func create + * @returns {Promise} Promise for PublishRules instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * const publishing_rule = { + * "publish rules": "publish rules_uid", + * "actions": [], + * "content_types": ["$all"], + * "locales": ["en-us"], + * "environment": "environment_uid", + * "approvers": { + * "users": ["user_uid"], + * "roles": ["role_uid"] + * }, + * "publish rules_stage": "publish rules_stage_uid", + * "disable_approver_publishing": false + * } + * client.stack().publishRules().create({ publishing_rule }) + * .then((publishRules) => console.log(publishRules)) + */ this.create = (0, _entity.create)({ http: http }); /** - * @description The Get all Publish Rules request retrieves the details of all the Publish rules of a workflow. - * @memberof Publish Rules - * @func fetchAll - * @param {String} content_types Enter a comma-separated list of content type UIDs for filtering publish rules on its basis. - * @param {Int} limit The limit parameter will return a specific number of Publish Ruless in the output. - * @param {Int} skip The skip parameter will skip a specific number of Publish Ruless in the output. - * @param {Boolean}include_count To retrieve the count of Publish Ruless. - * @returns {ContentstackCollection} Result collection of content of specified module. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).publishRules().fetchAll({ content_types: 'content_type_uid1,content_type_uid2' }) - * .then((collection) => console.log(collection)) - * - */ + * @description The Get all Publish Rules request retrieves the details of all the Publish rules of a workflow. + * @memberof Publish Rules + * @func fetchAll + * @param {String} content_types Enter a comma-separated list of content type UIDs for filtering publish rules on its basis. + * @param {Int} limit The limit parameter will return a specific number of Publish Rules in the output. + * @param {Int} skip The skip parameter will skip a specific number of Publish Rules in the output. + * @param {Boolean}include_count To retrieve the count of Publish Rules. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).publishRules().fetchAll({ content_types: 'content_type_uid1,content_type_uid2' }) + * .then((collection) => console.log(collection)) + * + */ this.fetchAll = (0, _entity.fetchAll)(http, PublishRulesCollection); } @@ -138,11 +130,10 @@ function PublishRules(http) { function PublishRulesCollection(http, data) { var obj = (0, _cloneDeep2["default"])(data.publishing_rules) || []; - var publishRulesollection = obj.map(function (userdata) { + return obj.map(function (userdata) { return new PublishRules(http, { publishing_rule: userdata, stackHeaders: data.stackHeaders }); }); - return publishRulesollection; } \ No newline at end of file diff --git a/dist/nativescript/contentstack-management.js b/dist/nativescript/contentstack-management.js index 94e01754..da0416f2 100644 --- a/dist/nativescript/contentstack-management.js +++ b/dist/nativescript/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(s):c<128?a+=i[c]:c<2048?a+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?a+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(s)),a+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),i=r(44),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),i=r(52),s=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(i).concat(s),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),i=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),i=r(98),s=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,s(E,e)):f(e,i(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),i=r(73),s=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),i=r(35),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),i=r(94),s=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(s=i.exec(a))&&p=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&s!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(i=[])[f]=o:i[u]=o:i={0:o}}o=i}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(59),i=r(0),s=r.n(i),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=l()(f.a.mark((function r(){var s;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new y(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var s,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,i,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},i),a.getHeaders()),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,i;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},s()(r)),s()(this.stackHeaders)),params:k({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},s()(this.stackHeaders)),params:k({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return l()(f.a.mark((function e(){var r,n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},s()(this.stackHeaders)),params:k({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:k({},s()(this.stackHeaders)),params:k({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Mt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return s()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(s()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,i,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:Ht({},s()(e.stackHeaders)),data:Ht({},s()(o)),params:Ht({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,i;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:Ht({},s()(e.stackHeaders)),params:Ht({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(s()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ft(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ft({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,i=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Ft({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Mt})),this}function Mt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new It(t,{stack:e})}))}function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=$t({},s()(t));return new It(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Gt=r(62),Qt=r.n(Gt),Xt=r(63),Jt=r.n(Xt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((s=e.config.retryDelayOptions.customBackoff(n,t))&&s<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(s=e.config.retryDelayOptions.base*n);else s=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(i(t,o,s)))}),s)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=te(te({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function oe(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Wt({http:i});return u}}]); \ No newline at end of file +module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},s),a.getHeaders()),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((i=e.config.retryDelayOptions.customBackoff(n,t))&&i<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(i=e.config.retryDelayOptions.base*n);else i=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(s(t,o,i)))}),i)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=ae(ae({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}]); \ No newline at end of file diff --git a/dist/node/contentstack-management.js b/dist/node/contentstack-management.js index 3c58d250..cb854a69 100644 --- a/dist/node/contentstack-management.js +++ b/dist/node/contentstack-management.js @@ -1,4 +1,4 @@ -module.exports=function(e){var a={};function t(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var i in e)t.d(n,i,function(a){return e[a]}.bind(null,i));return n},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=193)}([function(e,a,t){var n=t(78);e.exports=function(e){return n(e,5)}},function(e,a,t){e.exports=t(148)},function(e,a){function t(e,a,t,n,i,o,r){try{var s=e[o](r),c=s.value}catch(e){return void t(e)}s.done?a(c):Promise.resolve(c).then(n,i)}e.exports=function(e){return function(){var a=this,n=arguments;return new Promise((function(i,o){var r=e.apply(a,n);function s(e){t(r,i,o,s,c,"next",e)}function c(e){t(r,i,o,s,c,"throw",e)}s(void 0)}))}}},function(e,a){e.exports=function(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}},function(e,a,t){"use strict";function n(e){return(n="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})(e)}var i=t(63),o=Object.prototype.toString;function r(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===n(e)}function p(e){if("[object Object]"!==o.call(e))return!1;var a=Object.getPrototypeOf(e);return null===a||a===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,a){if(null!=e)if("object"!==n(e)&&(e=[e]),r(e))for(var t=0,i=e.length;t1;){var a=e.pop(),t=a.obj[a.prop];if(o(t)){for(var n=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=i.charAt(s):c<128?o+=r[c]:c<2048?o+=r[192|c>>6]+r[128|63&c]:c<55296||c>=57344?o+=r[224|c>>12]+r[128|c>>6&63]+r[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&i.charCodeAt(s)),o+=r[240|c>>18]+r[128|c>>12&63]+r[128|c>>6&63]+r[128|63&c])}return o},isBuffer:function(e){return!(!e||"object"!==n(e))&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,a){if(o(e)){for(var t=[],n=0;n-1&&e%1==0&&e<=9007199254740991}},function(e,a){e.exports=function(e,a){return function(t){return e(a(t))}}},function(e,a,t){var n=t(39),i=t(46);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},function(e,a,t){var n=t(44),i=t(122),o=t(48);e.exports=function(e){return o(e)?n(e,!0):i(e)}},function(e,a){e.exports=function(){return[]}},function(e,a,t){var n=t(52),i=t(53),o=t(28),r=t(50),s=Object.getOwnPropertySymbols?function(e){for(var a=[];e;)n(a,o(e)),e=i(e);return a}:r;e.exports=s},function(e,a){e.exports=function(e,a){for(var t=-1,n=a.length,i=e.length;++ta?1:0}e.exports=function(e,a,t,r){var s=i(e,t);return n(e,a,s,(function t(i,o){i?r(i,o):(s.index++,s.index<(s.keyedList||e).length?n(e,a,s,t):r(null,s.results))})),o.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,a){return-1*r(e,a)}},function(e,a,t){"use strict";var n=String.prototype.replace,i=/%20/g,o=t(35),r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=o.assign({default:r.RFC3986,formatters:{RFC1738:function(e){return n.call(e,i,"+")},RFC3986:function(e){return String(e)}}},r)},function(e,a,t){"use strict";e.exports=function(e,a){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(o)})),e.exports=c},function(e,a,t){"use strict";var n=t(37);e.exports=function(e,a,t){var i=t.config.validateStatus;t.status&&i&&!i(t.status)?a(n("Request failed with status code "+t.status,t.config,null,t.request,t)):e(t)}},function(e,a,t){"use strict";e.exports=function(e,a,t,n,i){return e.config=a,t&&(e.code=t),e.request=n,e.response=i,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}},e}},function(e,a,t){"use strict";var n=t(174),i=t(175);e.exports=function(e,a){return e&&!n(a)?i(e,a):a}},function(e,a,t){function n(e){return(n="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})(e)}var i=t(34),o=i.URL,r=t(32),s=t(33),c=t(31).Writable,p=t(179),u=t(180),l=Object.create(null);["abort","aborted","connect","error","socket","timeout"].forEach((function(e){l[e]=function(a,t,n){this._redirectable.emit(e,a,t,n)}}));var d=j("ERR_FR_REDIRECTION_FAILURE",""),m=j("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),f=j("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),x=j("ERR_STREAM_WRITE_AFTER_END","write after end");function h(e,a){c.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],a&&this.on("response",a);var t=this;this._onNativeResponse=function(e){t._processResponse(e)},this._performRequest()}function v(e,a){clearTimeout(e._timeout),e._timeout=setTimeout((function(){e.emit("timeout")}),a)}function b(){clearTimeout(this._timeout)}function g(e){var a={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(e).forEach((function(n){var r=n+":",s=t[r]=e[n],c=a[n]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,n,s){if("string"==typeof e){var c=e;try{e=w(new o(c))}catch(a){e=i.parse(c)}}else o&&e instanceof o?e=w(e):(s=n,n=e,e={protocol:r});return"function"==typeof n&&(s=n,n=null),(n=Object.assign({maxRedirects:a.maxRedirects,maxBodyLength:a.maxBodyLength},e,n)).nativeProtocols=t,p.equal(n.protocol,r,"protocol mismatch"),u("options",n),new h(n,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,a,t){var n=c.request(e,a,t);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),a}function y(){}function w(e){var a={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&&(a.port=Number(e.port)),a}function k(e,a){var t;for(var n in a)e.test(n)&&(t=a[n],delete a[n]);return t}function j(e,a){function t(e){Error.captureStackTrace(this,this.constructor),this.message=e||a}return t.prototype=new Error,t.prototype.constructor=t,t.prototype.name="Error ["+e+"]",t.prototype.code=e,t}h.prototype=Object.create(c.prototype),h.prototype.write=function(e,a,t){if(this._ending)throw new x;if(!("string"==typeof e||"object"===n(e)&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof a&&(t=a,a=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:a}),this._currentRequest.write(e,a,t)):(this.emit("error",new f),this.abort()):t&&t()},h.prototype.end=function(e,a,t){if("function"==typeof e?(t=e,e=a=null):"function"==typeof a&&(t=a,a=null),e){var n=this,i=this._currentRequest;this.write(e,a,(function(){n._ended=!0,i.end(null,null,t)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,t)},h.prototype.setHeader=function(e,a){this._options.headers[e]=a,this._currentRequest.setHeader(e,a)},h.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},h.prototype.setTimeout=function(e,a){if(a&&this.once("timeout",a),this.socket)v(this,e);else{var t=this;this._currentRequest.once("socket",(function(){v(t,e)}))}return this.once("response",b),this.once("error",b),this},["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){h.prototype[e]=function(a,t){return this._currentRequest[e](a,t)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(h.prototype,e,{get:function(){return this._currentRequest[e]}})})),h.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 a=e.path.indexOf("?");a<0?e.pathname=e.path:(e.pathname=e.path.substring(0,a),e.search=e.path.substring(a))}},h.prototype._performRequest=function(){var e=this._options.protocol,a=this._options.nativeProtocols[e];if(a){if(this._options.agents){var t=e.substr(0,e.length-1);this._options.agent=this._options.agents[t]}var n=this._currentRequest=a.request(this._options,this._onNativeResponse);for(var o in this._currentUrl=i.format(this._options),n._redirectable=this,l)o&&n.on(o,l[o]);if(this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(a){if(n===s._currentRequest)if(a)s.emit("error",a);else if(r=300&&a<400){if(this._currentRequest.removeAllListeners(),this._currentRequest.on("error",y),this._currentRequest.abort(),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new m);((301===a||302===a)&&"POST"===this._options.method||303===a&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var n=k(/^host$/i,this._options.headers)||i.parse(this._currentUrl).hostname,o=i.resolve(this._currentUrl,t);u("redirecting to",o),this._isRedirect=!0;var r=i.parse(o);if(Object.assign(this._options,r),r.hostname!==n&&k(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new d("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=g({http:r,https:s}),e.exports.wrap=g},function(e,a,t){function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,a){if(!e)return;if("string"==typeof e)return i(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,a)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(e,a){e.exports=function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}},function(e,a){function t(a){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(a)}e.exports=t},function(e,a,t){var n=t(159),i=t(160),o=t(161),r=t(163);e.exports=function(e,a){return n(e)||i(e,a)||o(e,a)||r()}},function(e,a,t){"use strict";var n=t(164),i=t(165),o=t(62);e.exports={formats:o,parse:i,stringify:n}},function(e,a,t){var n=t(79),i=t(109),o=t(42),r=t(111),s=t(121),c=t(124),p=t(125),u=t(126),l=t(128),d=t(129),m=t(130),f=t(29),x=t(135),h=t(136),v=t(142),b=t(24),g=t(45),y=t(144),w=t(9),k=t(146),j=t(23),_={};_["[object Arguments]"]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_["[object Object]"]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_["[object Function]"]=_["[object WeakMap]"]=!1,e.exports=function e(a,t,O,S,P,C){var E,z=1&t,H=2&t,A=4&t;if(O&&(E=P?O(a,S,P,C):O(a)),void 0!==E)return E;if(!w(a))return a;var q=b(a);if(q){if(E=x(a),!z)return p(a,E)}else{var R=f(a),T="[object Function]"==R||"[object GeneratorFunction]"==R;if(g(a))return c(a,z);if("[object Object]"==R||"[object Arguments]"==R||T&&!P){if(E=H||T?{}:v(a),!z)return H?l(a,s(E,a)):u(a,r(E,a))}else{if(!_[R])return P?a:{};E=h(a,R,z)}}C||(C=new n);var D=C.get(a);if(D)return D;C.set(a,E),k(a)?a.forEach((function(n){E.add(e(n,t,O,n,a,C))})):y(a)&&a.forEach((function(n,i){E.set(i,e(n,t,O,i,a,C))}));var L=A?H?m:d:H?keysIn:j,F=q?void 0:L(a);return i(F||a,(function(n,i){F&&(n=a[i=n]),o(E,i,e(n,t,O,i,a,C))})),E}},function(e,a,t){var n=t(11),i=t(85),o=t(86),r=t(87),s=t(88),c=t(89);function p(e){var a=this.__data__=new n(e);this.size=a.size}p.prototype.clear=i,p.prototype.delete=o,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},function(e,a){e.exports=function(){this.__data__=[],this.size=0}},function(e,a,t){var n=t(12),i=Array.prototype.splice;e.exports=function(e){var a=this.__data__,t=n(a,e);return!(t<0)&&(t==a.length-1?a.pop():i.call(a,t,1),--this.size,!0)}},function(e,a,t){var n=t(12);e.exports=function(e){var a=this.__data__,t=n(a,e);return t<0?void 0:a[t][1]}},function(e,a,t){var n=t(12);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,a,t){var n=t(12);e.exports=function(e,a){var t=this.__data__,i=n(t,e);return i<0?(++this.size,t.push([e,a])):t[i][1]=a,this}},function(e,a,t){var n=t(11);e.exports=function(){this.__data__=new n,this.size=0}},function(e,a){e.exports=function(e){var a=this.__data__,t=a.delete(e);return this.size=a.size,t}},function(e,a){e.exports=function(e){return this.__data__.get(e)}},function(e,a){e.exports=function(e){return this.__data__.has(e)}},function(e,a,t){var n=t(11),i=t(21),o=t(96);e.exports=function(e,a){var t=this.__data__;if(t instanceof n){var r=t.__data__;if(!i||r.length<199)return r.push([e,a]),this.size=++t.size,this;t=this.__data__=new o(r)}return t.set(e,a),this.size=t.size,this}},function(e,a,t){var n=t(39),i=t(93),o=t(9),r=t(41),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?d:s).test(r(e))}},function(e,a,t){var n=t(22),i=Object.prototype,o=i.hasOwnProperty,r=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var a=o.call(e,s),t=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=r.call(e);return n&&(a?e[s]=t:delete e[s]),i}},function(e,a){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e,a,t){var n,i=t(94),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},function(e,a,t){var n=t(7)["__core-js_shared__"];e.exports=n},function(e,a){e.exports=function(e,a){return null==e?void 0:e[a]}},function(e,a,t){var n=t(97),i=t(104),o=t(106),r=t(107),s=t(108);function c(e){var a=-1,t=null==e?0:e.length;for(this.clear();++a-1&&e%1==0&&e=0;--i){var o=this.tryEntries[i],r=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--a){var t=this.tryEntries[a];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),j(t),l}},catch:function(e){for(var a=this.tryEntries.length-1;a>=0;--a){var t=this.tryEntries[a];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var i=n.arg;j(t)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,t){return this.delegate={iterator:O(e),resultName:a,nextLoc:t},"next"===this.method&&(this.arg=void 0),l}},e}("object"===a(e)?e.exports:{});try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}).call(this,t(17)(e))},function(e,a,t){var n=t(18),i=t(31).Stream,o=t(150);function r(){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=r,n.inherits(r,i),r.create=function(e){var a=new this;for(var t in e=e||{})a[t]=e[t];return a},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.isStreamLike(e)){if(!(e instanceof o)){var a=o.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=a}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,a){return i.prototype.pipe.call(this,e,a),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var a=e;this.write(a),this._getNext()},r.prototype._handleErrors=function(e){var a=this;e.on("error",(function(e){a._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(a){a.dataSize&&(e.dataSize+=a.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},function(e,a,t){var n=t(31).Stream,i=t(18);function o(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=o,i.inherits(o,n),o.create=function(e,a){var t=new this;for(var n in a=a||{})t[n]=a[n];t.source=e;var i=e.emit;return e.emit=function(){return t._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),t.pauseStream&&e.pause(),t},Object.defineProperty(o.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),o.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},o.prototype.resume=function(){this._released||this.release(),this.source.resume()},o.prototype.pause=function(){this.source.pause()},o.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},o.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},o.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))},o.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))}}},function(e,a,t){"use strict"; +module.exports=function(e){var a={};function t(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var i in e)t.d(n,i,function(a){return e[a]}.bind(null,i));return n},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=193)}([function(e,a,t){var n=t(78);e.exports=function(e){return n(e,5)}},function(e,a,t){e.exports=t(148)},function(e,a){function t(e,a,t,n,i,o,r){try{var s=e[o](r),c=s.value}catch(e){return void t(e)}s.done?a(c):Promise.resolve(c).then(n,i)}e.exports=function(e){return function(){var a=this,n=arguments;return new Promise((function(i,o){var r=e.apply(a,n);function s(e){t(r,i,o,s,c,"next",e)}function c(e){t(r,i,o,s,c,"throw",e)}s(void 0)}))}}},function(e,a){e.exports=function(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}},function(e,a,t){"use strict";function n(e){return(n="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})(e)}var i=t(63),o=Object.prototype.toString;function r(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===n(e)}function p(e){if("[object Object]"!==o.call(e))return!1;var a=Object.getPrototypeOf(e);return null===a||a===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,a){if(null!=e)if("object"!==n(e)&&(e=[e]),r(e))for(var t=0,i=e.length;t1;){var a=e.pop(),t=a.obj[a.prop];if(o(t)){for(var n=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=i.charAt(s):c<128?o+=r[c]:c<2048?o+=r[192|c>>6]+r[128|63&c]:c<55296||c>=57344?o+=r[224|c>>12]+r[128|c>>6&63]+r[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&i.charCodeAt(s)),o+=r[240|c>>18]+r[128|c>>12&63]+r[128|c>>6&63]+r[128|63&c])}return o},isBuffer:function(e){return!(!e||"object"!==n(e))&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,a){if(o(e)){for(var t=[],n=0;n-1&&e%1==0&&e<=9007199254740991}},function(e,a){e.exports=function(e,a){return function(t){return e(a(t))}}},function(e,a,t){var n=t(39),i=t(46);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},function(e,a,t){var n=t(44),i=t(122),o=t(48);e.exports=function(e){return o(e)?n(e,!0):i(e)}},function(e,a){e.exports=function(){return[]}},function(e,a,t){var n=t(52),i=t(53),o=t(28),r=t(50),s=Object.getOwnPropertySymbols?function(e){for(var a=[];e;)n(a,o(e)),e=i(e);return a}:r;e.exports=s},function(e,a){e.exports=function(e,a){for(var t=-1,n=a.length,i=e.length;++ta?1:0}e.exports=function(e,a,t,r){var s=i(e,t);return n(e,a,s,(function t(i,o){i?r(i,o):(s.index++,s.index<(s.keyedList||e).length?n(e,a,s,t):r(null,s.results))})),o.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,a){return-1*r(e,a)}},function(e,a,t){"use strict";var n=String.prototype.replace,i=/%20/g,o=t(35),r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=o.assign({default:r.RFC3986,formatters:{RFC1738:function(e){return n.call(e,i,"+")},RFC3986:function(e){return String(e)}}},r)},function(e,a,t){"use strict";e.exports=function(e,a){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(o)})),e.exports=c},function(e,a,t){"use strict";var n=t(37);e.exports=function(e,a,t){var i=t.config.validateStatus;t.status&&i&&!i(t.status)?a(n("Request failed with status code "+t.status,t.config,null,t.request,t)):e(t)}},function(e,a,t){"use strict";e.exports=function(e,a,t,n,i){return e.config=a,t&&(e.code=t),e.request=n,e.response=i,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}},e}},function(e,a,t){"use strict";var n=t(174),i=t(175);e.exports=function(e,a){return e&&!n(a)?i(e,a):a}},function(e,a,t){function n(e){return(n="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})(e)}var i=t(34),o=i.URL,r=t(32),s=t(33),c=t(31).Writable,p=t(179),u=t(180),l=Object.create(null);["abort","aborted","connect","error","socket","timeout"].forEach((function(e){l[e]=function(a,t,n){this._redirectable.emit(e,a,t,n)}}));var d=j("ERR_FR_REDIRECTION_FAILURE",""),m=j("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),f=j("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=j("ERR_STREAM_WRITE_AFTER_END","write after end");function x(e,a){c.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],a&&this.on("response",a);var t=this;this._onNativeResponse=function(e){t._processResponse(e)},this._performRequest()}function v(e,a){clearTimeout(e._timeout),e._timeout=setTimeout((function(){e.emit("timeout")}),a)}function b(){clearTimeout(this._timeout)}function g(e){var a={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(e).forEach((function(n){var r=n+":",s=t[r]=e[n],c=a[n]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,n,s){if("string"==typeof e){var c=e;try{e=w(new o(c))}catch(a){e=i.parse(c)}}else o&&e instanceof o?e=w(e):(s=n,n=e,e={protocol:r});return"function"==typeof n&&(s=n,n=null),(n=Object.assign({maxRedirects:a.maxRedirects,maxBodyLength:a.maxBodyLength},e,n)).nativeProtocols=t,p.equal(n.protocol,r,"protocol mismatch"),u("options",n),new x(n,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,a,t){var n=c.request(e,a,t);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),a}function y(){}function w(e){var a={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&&(a.port=Number(e.port)),a}function k(e,a){var t;for(var n in a)e.test(n)&&(t=a[n],delete a[n]);return t}function j(e,a){function t(e){Error.captureStackTrace(this,this.constructor),this.message=e||a}return t.prototype=new Error,t.prototype.constructor=t,t.prototype.name="Error ["+e+"]",t.prototype.code=e,t}x.prototype=Object.create(c.prototype),x.prototype.write=function(e,a,t){if(this._ending)throw new h;if(!("string"==typeof e||"object"===n(e)&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof a&&(t=a,a=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:a}),this._currentRequest.write(e,a,t)):(this.emit("error",new f),this.abort()):t&&t()},x.prototype.end=function(e,a,t){if("function"==typeof e?(t=e,e=a=null):"function"==typeof a&&(t=a,a=null),e){var n=this,i=this._currentRequest;this.write(e,a,(function(){n._ended=!0,i.end(null,null,t)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,t)},x.prototype.setHeader=function(e,a){this._options.headers[e]=a,this._currentRequest.setHeader(e,a)},x.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},x.prototype.setTimeout=function(e,a){if(a&&this.once("timeout",a),this.socket)v(this,e);else{var t=this;this._currentRequest.once("socket",(function(){v(t,e)}))}return this.once("response",b),this.once("error",b),this},["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){x.prototype[e]=function(a,t){return this._currentRequest[e](a,t)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(x.prototype,e,{get:function(){return this._currentRequest[e]}})})),x.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 a=e.path.indexOf("?");a<0?e.pathname=e.path:(e.pathname=e.path.substring(0,a),e.search=e.path.substring(a))}},x.prototype._performRequest=function(){var e=this._options.protocol,a=this._options.nativeProtocols[e];if(a){if(this._options.agents){var t=e.substr(0,e.length-1);this._options.agent=this._options.agents[t]}var n=this._currentRequest=a.request(this._options,this._onNativeResponse);for(var o in this._currentUrl=i.format(this._options),n._redirectable=this,l)o&&n.on(o,l[o]);if(this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(a){if(n===s._currentRequest)if(a)s.emit("error",a);else if(r=300&&a<400){if(this._currentRequest.removeAllListeners(),this._currentRequest.on("error",y),this._currentRequest.abort(),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new m);((301===a||302===a)&&"POST"===this._options.method||303===a&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var n=k(/^host$/i,this._options.headers)||i.parse(this._currentUrl).hostname,o=i.resolve(this._currentUrl,t);u("redirecting to",o),this._isRedirect=!0;var r=i.parse(o);if(Object.assign(this._options,r),r.hostname!==n&&k(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new d("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=g({http:r,https:s}),e.exports.wrap=g},function(e,a,t){function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,a){if(!e)return;if("string"==typeof e)return i(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,a)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(e,a){e.exports=function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}},function(e,a){function t(a){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(a)}e.exports=t},function(e,a,t){var n=t(159),i=t(160),o=t(161),r=t(163);e.exports=function(e,a){return n(e)||i(e,a)||o(e,a)||r()}},function(e,a,t){"use strict";var n=t(164),i=t(165),o=t(62);e.exports={formats:o,parse:i,stringify:n}},function(e,a,t){var n=t(79),i=t(109),o=t(42),r=t(111),s=t(121),c=t(124),p=t(125),u=t(126),l=t(128),d=t(129),m=t(130),f=t(29),h=t(135),x=t(136),v=t(142),b=t(24),g=t(45),y=t(144),w=t(9),k=t(146),j=t(23),_={};_["[object Arguments]"]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_["[object Object]"]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_["[object Function]"]=_["[object WeakMap]"]=!1,e.exports=function e(a,t,O,P,S,C){var E,z=1&t,H=2&t,A=4&t;if(O&&(E=S?O(a,P,S,C):O(a)),void 0!==E)return E;if(!w(a))return a;var q=b(a);if(q){if(E=h(a),!z)return p(a,E)}else{var R=f(a),T="[object Function]"==R||"[object GeneratorFunction]"==R;if(g(a))return c(a,z);if("[object Object]"==R||"[object Arguments]"==R||T&&!S){if(E=H||T?{}:v(a),!z)return H?l(a,s(E,a)):u(a,r(E,a))}else{if(!_[R])return S?a:{};E=x(a,R,z)}}C||(C=new n);var D=C.get(a);if(D)return D;C.set(a,E),k(a)?a.forEach((function(n){E.add(e(n,t,O,n,a,C))})):y(a)&&a.forEach((function(n,i){E.set(i,e(n,t,O,i,a,C))}));var L=A?H?m:d:H?keysIn:j,F=q?void 0:L(a);return i(F||a,(function(n,i){F&&(n=a[i=n]),o(E,i,e(n,t,O,i,a,C))})),E}},function(e,a,t){var n=t(11),i=t(85),o=t(86),r=t(87),s=t(88),c=t(89);function p(e){var a=this.__data__=new n(e);this.size=a.size}p.prototype.clear=i,p.prototype.delete=o,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},function(e,a){e.exports=function(){this.__data__=[],this.size=0}},function(e,a,t){var n=t(12),i=Array.prototype.splice;e.exports=function(e){var a=this.__data__,t=n(a,e);return!(t<0)&&(t==a.length-1?a.pop():i.call(a,t,1),--this.size,!0)}},function(e,a,t){var n=t(12);e.exports=function(e){var a=this.__data__,t=n(a,e);return t<0?void 0:a[t][1]}},function(e,a,t){var n=t(12);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,a,t){var n=t(12);e.exports=function(e,a){var t=this.__data__,i=n(t,e);return i<0?(++this.size,t.push([e,a])):t[i][1]=a,this}},function(e,a,t){var n=t(11);e.exports=function(){this.__data__=new n,this.size=0}},function(e,a){e.exports=function(e){var a=this.__data__,t=a.delete(e);return this.size=a.size,t}},function(e,a){e.exports=function(e){return this.__data__.get(e)}},function(e,a){e.exports=function(e){return this.__data__.has(e)}},function(e,a,t){var n=t(11),i=t(21),o=t(96);e.exports=function(e,a){var t=this.__data__;if(t instanceof n){var r=t.__data__;if(!i||r.length<199)return r.push([e,a]),this.size=++t.size,this;t=this.__data__=new o(r)}return t.set(e,a),this.size=t.size,this}},function(e,a,t){var n=t(39),i=t(93),o=t(9),r=t(41),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?d:s).test(r(e))}},function(e,a,t){var n=t(22),i=Object.prototype,o=i.hasOwnProperty,r=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var a=o.call(e,s),t=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=r.call(e);return n&&(a?e[s]=t:delete e[s]),i}},function(e,a){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e,a,t){var n,i=t(94),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},function(e,a,t){var n=t(7)["__core-js_shared__"];e.exports=n},function(e,a){e.exports=function(e,a){return null==e?void 0:e[a]}},function(e,a,t){var n=t(97),i=t(104),o=t(106),r=t(107),s=t(108);function c(e){var a=-1,t=null==e?0:e.length;for(this.clear();++a-1&&e%1==0&&e=0;--i){var o=this.tryEntries[i],r=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--a){var t=this.tryEntries[a];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),j(t),l}},catch:function(e){for(var a=this.tryEntries.length-1;a>=0;--a){var t=this.tryEntries[a];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var i=n.arg;j(t)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,t){return this.delegate={iterator:O(e),resultName:a,nextLoc:t},"next"===this.method&&(this.arg=void 0),l}},e}("object"===a(e)?e.exports:{});try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}).call(this,t(17)(e))},function(e,a,t){var n=t(18),i=t(31).Stream,o=t(150);function r(){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=r,n.inherits(r,i),r.create=function(e){var a=new this;for(var t in e=e||{})a[t]=e[t];return a},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.isStreamLike(e)){if(!(e instanceof o)){var a=o.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=a}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,a){return i.prototype.pipe.call(this,e,a),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var a=e;this.write(a),this._getNext()},r.prototype._handleErrors=function(e){var a=this;e.on("error",(function(e){a._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(a){a.dataSize&&(e.dataSize+=a.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},function(e,a,t){var n=t(31).Stream,i=t(18);function o(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=o,i.inherits(o,n),o.create=function(e,a){var t=new this;for(var n in a=a||{})t[n]=a[n];t.source=e;var i=e.emit;return e.emit=function(){return t._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),t.pauseStream&&e.pause(),t},Object.defineProperty(o.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),o.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},o.prototype.resume=function(){this._released||this.release(),this.source.resume()},o.prototype.pause=function(){this.source.pause()},o.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},o.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},o.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))},o.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))}}},function(e,a,t){"use strict"; /*! * mime-types * Copyright(c) 2014 Jonathan Ong @@ -10,4 +10,4 @@ module.exports=function(e){var a={};function t(n){if(a[n])return a[n].exports;va * Copyright(c) 2014 Jonathan Ong * MIT Licensed */ -e.exports=t(153)},function(e){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/a2l":{"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/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/cap+xml":{"source":"iana","charset":"UTF-8","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/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},"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/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":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"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/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/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":{"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},"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/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,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"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/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/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"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"},"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.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/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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"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},"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.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.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.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.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.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-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.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.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":["keynote"]},"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.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.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"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"},"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.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.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.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.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.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.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"},"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.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.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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+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.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"},"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.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.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.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.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.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":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"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-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,"extensions":["xer"]},"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":["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"},"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"]},"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/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"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/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"},"image/avcs":{"source":"iana"},"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/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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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.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/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/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.rosette.annotated-data-model":{"source":"iana"},"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/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/flexfec":{"source":"iana"},"text/fwdred":{"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/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"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.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.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":{"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/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"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"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"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/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/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}}')},function(e,a,t){e.exports={parallel:t(155),serial:t(157),serialOrdered:t(61)}},function(e,a,t){var n=t(56),i=t(59),o=t(60);e.exports=function(e,a,t){var r=i(e);for(;r.index<(r.keyedList||e).length;)n(e,a,r,(function(e,a){e?t(e,a):0!==Object.keys(r.jobs).length||t(null,r.results)})),r.index++;return o.bind(r,t)}},function(e,a){function t(e){return(t="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})(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},function(e,a,t){var n=t(61);e.exports=function(e,a,t){return n(e,a,null,t)}},function(e,a){e.exports=function(e,a){return Object.keys(a).forEach((function(t){e[t]=e[t]||a[t]})),e}},function(e,a){e.exports=function(e){if(Array.isArray(e))return e}},function(e,a){e.exports=function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],n=!0,i=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(t.push(r.value),!a||t.length!==a);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return t}}},function(e,a,t){var n=t(162);e.exports=function(e,a){if(e){if("string"==typeof e)return n(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,a):void 0}}},function(e,a){e.exports=function(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t0?g+b:""}},function(e,a,t){"use strict";var n=t(35),i=Object.prototype.hasOwnProperty,o=Array.isArray,r={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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,a){return String.fromCharCode(parseInt(a,10))}))},c=function(e,a){return e&&"string"==typeof e&&a.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,a,t,n){if(e){var o=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=t.depth>0&&/(\[[^[\]]*])/.exec(o),p=s?o.slice(0,s.index):o,u=[];if(p){if(!t.plainObjects&&i.call(Object.prototype,p)&&!t.allowPrototypes)return;u.push(p)}for(var l=0;t.depth>0&&null!==(s=r.exec(o))&&l=0;--o){var r,s=e[o];if("[]"===s&&t.parseArrays)r=[].concat(i);else{r=t.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);t.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&t.parseArrays&&u<=t.arrayLimit?(r=[])[u]=i:r[p]=i:r={0:i}}i=r}return i}(u,a,t,n)}};e.exports=function(e,a){var t=function(e){if(!e)return r;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 a=void 0===e.charset?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(a);if(""===e||null==e)return t.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,a){var t,p={},u=a.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=a.parameterLimit===1/0?void 0:a.parameterLimit,d=u.split(a.delimiter,l),m=-1,f=a.charset;if(a.charsetSentinel)for(t=0;t-1&&(h=o(h)?[h]:h),i.call(p,x)?p[x]=n.combine(p[x],h):p[x]=h}return p}(e,t):e,l=t.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m=0)return;r[a]="set-cookie"===a?(r[a]?r[a]:[]).concat([t]):r[a]?r[a]+", "+t:t}})),r):r}},function(e,a,t){"use strict";var n=t(4);e.exports=n.isStandardBrowserEnv()?function(){var e,a=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");function i(e){var n=e;return a&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{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 e=i(window.location.href),function(a){var t=n.isString(a)?i(a):a;return t.protocol===e.protocol&&t.host===e.host}}():function(){return!0}},function(e,a,t){"use strict";var n=t(4),i=t(66),o=t(68),r=t(36),s=t(32),c=t(33),p=t(69).http,u=t(69).https,l=t(34),d=t(188),m=t(189),f=t(37),x=t(67),h=/https:?/;e.exports=function(e){return new Promise((function(a,t){var v=function(e){a(e)},b=function(e){t(e)},g=e.data,y=e.headers;if(y["User-Agent"]||y["user-agent"]||(y["User-Agent"]="axios/"+m.version),g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return b(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}y["Content-Length"]=g.length}var w=void 0;e.auth&&(w=(e.auth.username||"")+":"+(e.auth.password||""));var k=o(e.baseURL,e.url),j=l.parse(k),_=j.protocol||"http:";if(!w&&j.auth){var O=j.auth.split(":");w=(O[0]||"")+":"+(O[1]||"")}w&&delete y.Authorization;var S=h.test(_),P=S?e.httpsAgent:e.httpAgent,C={path:r(j.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:y,agent:P,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};e.socketPath?C.socketPath=e.socketPath:(C.hostname=j.hostname,C.port=j.port);var E,z=e.proxy;if(!z&&!1!==z){var H=_.slice(0,-1)+"_proxy",A=process.env[H]||process.env[H.toUpperCase()];if(A){var q=l.parse(A),R=process.env.no_proxy||process.env.NO_PROXY,T=!0;if(R)T=!R.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&j.hostname.substr(j.hostname.length-e.length)===e||j.hostname===e))}));if(T&&(z={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var D=q.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(C.headers.host=j.hostname+(j.port?":"+j.port:""),function e(a,t,n){if(a.hostname=t.host,a.host=t.host,a.port=t.port,a.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");a.headers["Proxy-Authorization"]="Basic "+i}a.beforeRedirect=function(a){a.headers.host=a.host,e(a,t,a.href)}}(C,z,_+"//"+j.hostname+(j.port?":"+j.port:"")+C.path));var L=S&&(!z||h.test(z.protocol));e.transport?E=e.transport:0===e.maxRedirects?E=L?c:s:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),E=L?u:p),e.maxBodyLength>-1&&(C.maxBodyLength=e.maxBodyLength);var F=E.request(C,(function(a){if(!F.aborted){var t=a,o=a.req||F;if(204!==a.statusCode&&"HEAD"!==o.method&&!1!==e.decompress)switch(a.headers["content-encoding"]){case"gzip":case"compress":case"deflate":t=t.pipe(d.createUnzip()),delete a.headers["content-encoding"]}var r={status:a.statusCode,statusText:a.statusMessage,headers:a.headers,config:e,request:o};if("stream"===e.responseType)r.data=t,i(v,b,r);else{var s=[];t.on("data",(function(a){s.push(a),e.maxContentLength>-1&&Buffer.concat(s).length>e.maxContentLength&&(t.destroy(),b(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,o)))})),t.on("error",(function(a){F.aborted||b(x(a,e,null,o))})),t.on("end",(function(){var a=Buffer.concat(s);"arraybuffer"!==e.responseType&&(a=a.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(a=n.stripBOM(a))),r.data=a,i(v,b,r)}))}}}));F.on("error",(function(a){F.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==a.code||b(x(a,e,null,F))})),e.timeout&&F.setTimeout(e.timeout,(function(){F.abort(),b(f("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",F))})),e.cancelToken&&e.cancelToken.promise.then((function(e){F.aborted||(F.abort(),b(e))})),n.isStream(g)?g.on("error",(function(a){b(x(a,e,null,F))})).pipe(F):F.end(g)}))}},function(e,a){e.exports=require("assert")},function(e,a,t){var n;try{n=t(181)("follow-redirects")}catch(e){n=function(){}}e.exports=n},function(e,a,t){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=t(182):e.exports=t(184)},function(e,a,t){var n;a.formatArgs=function(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var t="color: "+this.color;a.splice(1,0,t,"color: inherit");var n=0,i=0;a[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(i=n))})),a.splice(i,0,t)},a.save=function(e){try{e?a.storage.setItem("debug",e):a.storage.removeItem("debug")}catch(e){}},a.load=function(){var e;try{e=a.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},a.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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+)/)},a.storage=function(){try{return localStorage}catch(e){}}(),a.destroy=(n=!1,function(){n||(n=!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`."))}),a.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"],a.log=console.debug||console.log||function(){},e.exports=t(70)(a),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,a){function t(e){return(t="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})(e)}var n=1e3,i=6e4,o=60*i,r=24*o;function s(e,a,t,n){var i=a>=1.5*t;return Math.round(e/t)+" "+n+(i?"s":"")}e.exports=function(e,a){a=a||{};var c=t(e);if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var t=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*t;case"weeks":case"week":case"w":return 6048e5*t;case"days":case"day":case"d":return t*r;case"hours":case"hour":case"hrs":case"hr":case"h":return t*o;case"minutes":case"minute":case"mins":case"min":case"m":return t*i;case"seconds":case"second":case"secs":case"sec":case"s":return t*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}(e);if("number"===c&&isFinite(e))return a.long?function(e){var a=Math.abs(e);if(a>=r)return s(e,a,r,"day");if(a>=o)return s(e,a,o,"hour");if(a>=i)return s(e,a,i,"minute");if(a>=n)return s(e,a,n,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=r)return Math.round(e/r)+"d";if(a>=o)return Math.round(e/o)+"h";if(a>=i)return Math.round(e/i)+"m";if(a>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,a,t){var n=t(185),i=t(18);a.init=function(e){e.inspectOpts={};for(var t=Object.keys(a.inspectOpts),n=0;n=2&&(a.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){}a.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,a){var t=a.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,a){return a.toUpperCase()})),n=process.env[a];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[t]=n,e}),{}),e.exports=t(70)(a);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,a){e.exports=require("tty")},function(e,a,t){"use strict";var n,i=t(19),o=t(187),r=process.env;function s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===n)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!e.isTTY&&!0!==n)return 0;var a=n?1:0;if("win32"===process.platform){var t=i.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:a;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,a)}(e))}o("no-color")||o("no-colors")||o("color=false")?n=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(n=!0),"FORCE_COLOR"in r&&(n=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},function(e,a,t){"use strict";e.exports=function(e,a){a=a||process.argv;var t=e.startsWith("-")?"":1===e.length?"-":"--",n=a.indexOf(t+e),i=a.indexOf("--");return-1!==n&&(-1===i||n2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;b()(this,e);var o=a.data||{};n&&(o.stackHeaders=n),this.items=i(t,o),void 0!==o.schema&&(this.schema=o.schema),void 0!==o.content_type&&(this.content_type=o.content_type),void 0!==o.count&&(this.count=o.count),void 0!==o.notice&&(this.notice=o.notice)};function y(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var a=1;a3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0,o={};n&&(o.headers=n);var r=null;t&&(t.content_type_uid&&(r=t.content_type_uid,delete t.content_type_uid),o.params=w({},s()(t)));var c=function(){var t=x()(m.a.mark((function t(){var s;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a,o);case 3:if(!(s=t.sent).data){t.next=9;break}return r&&(s.data.content_type_uid=r),t.abrupt("return",new g(s,e,n,i));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(0),h(t.t0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=x()(m.a.mark((function t(){var n;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o.params=w(w({},o.params),{},{count:!0}),t.prev=1,t.next=4,e.get(a,o);case 4:if(!(n=t.sent).data){t.next=9;break}return t.abrupt("return",n.data);case 9:throw h(n);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}}(),u=function(){var t=x()(m.a.mark((function t(){var s,c;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=o).params.limit=1,t.prev=2,t.next=5,e.get(a,s);case 5:if(!(c=t.sent).data){t.next=11;break}return r&&(c.data.content_type_uid=r),t.abrupt("return",new g(c,e,n,i));case 11:throw h(c);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(2),h(t.t0);case 17:case"end":return t.stop()}}),t,null,[[2,14]])})));return function(){return t.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function _(e){for(var a=1;a4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==o&&(n.locale=o),null!==r&&(n.version=r),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,a.post(t,n,i);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw h(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),h(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(a,t,n,i){return e.apply(this,arguments)}}(),C=function(){var e=x()(m.a.mark((function e(a){var t,n,i,o,r,c,p,u;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.http,n=a.urlPath,i=a.stackHeaders,o=a.formData,r=a.params,c=a.method,p=void 0===c?"POST":c,u={headers:_(_(_({},r),o.getHeaders()),s()(i))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",t.post(n,o,u));case 6:return e.abrupt("return",t.put(n,o,u));case 7:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),E=function(e){var a=e.http,t=e.params;return function(){var e=x()(m.a.mark((function e(n,i){var o,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={headers:_(_({},s()(t)),s()(this.stackHeaders)),params:_({},s()(i))}||{},e.prev=1,e.next=4,a.post(this.urlPath,n,o);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(a,T(r,this.stackHeaders,this.content_type_uid)));case 9:throw h(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),h(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(a,t){return e.apply(this,arguments)}}()},z=function(e){var a=e.http,t=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(a,this.urlPath,e,this.stackHeaders,t)}},H=function(e,a){return x()(m.a.mark((function t(){var n,i,o,r,c=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},i={},delete(o=s()(this)).stackHeaders,delete o.urlPath,delete o.uid,delete o.org_uid,delete o.api_key,delete o.created_at,delete o.created_by,delete o.deleted_at,delete o.updated_at,delete o.updated_by,delete o.updated_at,i[a]=o,t.prev=15,t.next=18,e.put(this.urlPath,i,{headers:_({},s()(this.stackHeaders)),params:_({},s()(n))});case 18:if(!(r=t.sent).data){t.next=23;break}return t.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 23:throw h(r);case 24:t.next=29;break;case 26:throw t.prev=26,t.t0=t.catch(15),h(t.t0);case 29:case"end":return t.stop()}}),t,this,[[15,26]])})))},A=function(e){return x()(m.a.mark((function a(){var t,n,i,o=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},a.prev=1,n={headers:_({},s()(this.stackHeaders)),params:_({},s()(t))}||{},a.next=5,e.delete(this.urlPath,n);case 5:if(!(i=a.sent).data){a.next=10;break}return a.abrupt("return",i.data);case 10:throw h(i);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(1),h(a.t0);case 16:case"end":return a.stop()}}),a,this,[[1,13]])})))},q=function(e,a){return x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},t.next=5,e.get(this.urlPath,i);case 5:if(!(o=t.sent).data){t.next=11;break}return"entry"===a&&(o.data[a].content_type=o.data.content_type,o.data[a].schema=o.data.schema),t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders,this.content_type_uid)));case 11:throw h(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(1),h(t.t0);case 17:case"end":return t.stop()}}),t,this,[[1,14]])})))},R=function(e,a){return x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=_({},s()(n))),t.prev=4,t.next=7,e.get(this.urlPath,i);case 7:if(!(o=t.sent).data){t.next=12;break}return t.abrupt("return",new g(o,e,this.stackHeaders,a));case 12:throw h(o);case 13:t.next=18;break;case 15:throw t.prev=15,t.t0=t.catch(4),h(t.t0);case 18:case"end":return t.stop()}}),t,this,[[4,15]])})))};function T(e,a,t){var n=e.data||{};return a&&(n.stackHeaders=a),t&&(n.content_type_uid=t),n}function D(e,a){return this.urlPath="/roles",this.stackHeaders=a.stackHeaders,a.role?(Object.assign(this,s()(a.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(e,"role"),this.delete=A(e),this.fetch=q(e,"role"))):(this.create=E({http:e}),this.fetchAll=R(e,L),this.query=z({http:e,wrapperCollection:L})),this}function L(e,a){return s()(a.roles||[]).map((function(t){return new D(e,{role:t,stackHeaders:a.stackHeaders})}))}function F(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function B(e){for(var a=1;a0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/stacks"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,$e));case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.transferOwnership=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.addUser=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/share"),{share:B({},n)});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.getInvitations=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/share"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.resendInvitation=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.roles=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/roles"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,L));case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}())):this.fetchAll=R(e,U)}function U(e,a){return s()(a.organizations||[]).map((function(a){return new N(e,{organization:a})}))}function I(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function M(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/content_types",t.content_type?(Object.assign(this,s()(t.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(e,"content_type"),this.delete=A(e),this.fetch=q(e,"content_type"),this.entry=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return n.content_type_uid=a.uid,t&&(n.entry={uid:t}),new Y(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Z}),this.import=function(){var a=x()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw h(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function Z(e,a){return(s()(a.content_types)||[]).map((function(t){return new X(e,{content_type:t,stackHeaders:a.stackHeaders})}))}function ee(e){var a=new K.a,t=Object(W.createReadStream)(e.content_type);return a.append("content_type",t),a}function ae(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/global_fields",a.global_field?(Object.assign(this,s()(a.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(e,"global_field"),this.delete=A(e),this.fetch=q(e,"global_field")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:te}),this.import=function(){var a=x()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw h(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function te(e,a){return(s()(a.global_fields)||[]).map((function(t){return new ae(e,{global_field:t,stackHeaders:a.stackHeaders})}))}function ne(e){var a=new K.a,t=Object(W.createReadStream)(e.global_field);return a.append("global_field",t),a}function ie(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/delivery_tokens",a.token?(Object.assign(this,s()(a.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(e,"token"),this.delete=A(e),this.fetch=q(e,"token")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:oe}))}function oe(e,a){return(s()(a.tokens)||[]).map((function(t){return new ie(e,{token:t,stackHeaders:a.stackHeaders})}))}function re(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/environments",a.environment?(Object.assign(this,s()(a.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(e,"environment"),this.delete=A(e),this.fetch=q(e,"environment")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:se}))}function se(e,a){return(s()(a.environments)||[]).map((function(t){return new re(e,{environment:t,stackHeaders:a.stackHeaders})}))}function ce(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a.stackHeaders&&(this.stackHeaders=a.stackHeaders),this.urlPath="/assets/folders",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset")):this.create=E({http:e})}function pe(e){var a=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/assets",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset"),this.replace=function(){var a=x()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n,method:"PUT"});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw h(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.publish=O(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new ce(e,n)},this.create=function(){var a=x()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw h(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.query=z({http:e,wrapperCollection:ue})),this}function ue(e,a){return(s()(a.assets)||[]).map((function(t){return new pe(e,{asset:t,stackHeaders:a.stackHeaders})}))}function le(e){var a=new K.a;"string"==typeof e.parent_uid&&a.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&a.append("asset[description]",e.description),e.tags instanceof Array?a.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("asset[tags]",e.tags),"string"==typeof e.title&&a.append("asset[title]",e.title);var t=Object(W.createReadStream)(e.upload);return a.append("asset[upload]",t),a}function de(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/locales",a.locale?(Object.assign(this,s()(a.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(e,"locale"),this.delete=A(e),this.fetch=q(e,"locale")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:me})),this}function me(e,a){return(s()(a.locales)||[]).map((function(t){return new de(e,{locale:t,stackHeaders:a.stackHeaders})}))}var fe=t(75),xe=t.n(fe);function he(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/extensions",a.extension?(Object.assign(this,s()(a.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(e,"extension"),this.delete=A(e),this.fetch=q(e,"extension")):(this.upload=function(){var a=x()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw h(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.create=E({http:e}),this.query=z({http:e,wrapperCollection:ve}))}function ve(e,a){return(s()(a.extensions)||[]).map((function(t){return new he(e,{extension:t,stackHeaders:a.stackHeaders})}))}function be(e){var a=new K.a;"string"==typeof e.title&&a.append("extension[title]",e.title),"object"===xe()(e.scope)&&a.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&a.append("extension[data_type]",e.data_type),"string"==typeof e.type&&a.append("extension[type]",e.type),e.tags instanceof Array?a.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&a.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&a.append("extension[enable]","".concat(e.enable));var t=Object(W.createReadStream)(e.upload);return a.append("extension[upload]",t),a}function ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ye(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/webhooks",t.webhook?(Object.assign(this,s()(t.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(e,"webhook"),this.delete=A(e),this.fetch=q(e,"webhook"),this.executions=function(){var t=x()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),n&&(i.params=ye({},s()(n))),t.prev=3,t.next=6,e.get("".concat(a.urlPath,"/executions"),i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:throw h(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),h(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.retry=function(){var t=x()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/retry"),{execution_uid:n},i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw h(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(2),h(t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,13]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.fetchAll=R(e,ke)),this.import=function(){var t=x()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C({http:e,urlPath:"".concat(a.urlPath,"/import"),stackHeaders:a.stackHeaders,formData:je(n)});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new a.constructor(e,T(i,a.stackHeaders)));case 8:throw h(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),h(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this}function ke(e,a){return(s()(a.webhooks)||[]).map((function(t){return new we(e,{webhook:t,stackHeaders:a.stackHeaders})}))}function je(e){var a=new K.a,t=Object(W.createReadStream)(e.webhook);return a.append("webhook",t),a}function _e(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows/publishing_rules",a.publishing_rule?(Object.assign(this,s()(a.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(e,"publishing_rule"),this.delete=A(e),this.fetch=q(e,"publishing_rule")):(this.create=E({http:e}),this.fetchAll=R(e,Oe))}function Oe(e,a){return(s()(a.publishing_rules)||[]).map((function(t){return new _e(e,{publishing_rule:t,stackHeaders:a.stackHeaders})}))}function Se(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Pe(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows",t.workflow?(Object.assign(this,s()(t.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(e,"workflow"),this.disable=x()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw h(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.enable=x()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw h(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.delete=A(e),this.fetch=q(e,"workflow")):(this.contentType=function(t){if(t)return{getPublishRules:function(){var a=x()(m.a.mark((function a(n){var i,o;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=Pe({},s()(n))),a.prev=3,a.next=6,e.get("/workflows/content_type/".concat(t),i);case 6:if(!(o=a.sent).data){a.next=11;break}return a.abrupt("return",new g(o,e,this.stackHeaders,Oe));case 11:throw h(o);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),h(a.t0);case 17:case"end":return a.stop()}}),a,this,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),stackHeaders:Pe({},a.stackHeaders)}},this.create=E({http:e}),this.fetchAll=R(e,Ee),this.publishRule=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.publishing_rule={uid:t}),new _e(e,n)})}function Ee(e,a){return(s()(a.workflows)||[]).map((function(t){return new Ce(e,{workflow:t,stackHeaders:a.stackHeaders})}))}function ze(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function He(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,t.item&&Object.assign(this,s()(t.item)),t.releaseUid&&(this.urlPath="releases/".concat(t.releaseUid,"/items"),this.delete=function(){var n=x()(m.a.mark((function n(i){var o,r,c;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},void 0===i&&(o={all:!0}),n.prev=2,r={headers:He({},s()(a.stackHeaders)),data:He({},s()(i)),params:He({},s()(o))}||{},n.next=6,e.delete(a.urlPath,r);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new De(e,He(He({},c.data),{},{stackHeaders:t.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=x()(m.a.mark((function n(i){var o,r;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={headers:He({},s()(a.stackHeaders))}||{},n.prev=1,n.next=4,e.post(i.item?"releases/".concat(t.releaseUid,"/item"):a.urlPath,i,o);case 4:if(!(r=n.sent).data){n.next=10;break}if(!r.data){n.next=8;break}return n.abrupt("return",new De(e,He(He({},r.data),{},{stackHeaders:t.stackHeaders})));case 8:n.next=11;break;case 10:throw h(r);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:He({},s()(a.stackHeaders)),params:He({},s()(n))}||{},t.next=5,e.get(a.urlPath,i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",new g(o,e,a.stackHeaders,qe));case 10:throw h(o);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(1),h(t.t0);case 16:case"end":return t.stop()}}),t,null,[[1,13]])})))),this}function qe(e,a,t){return(s()(a.items)||[]).map((function(n){return new Ae(e,{releaseUid:t,item:n,stackHeaders:a.stackHeaders})}))}function Re(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Te(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/releases",t.release?(Object.assign(this,s()(t.release)),t.release.items&&(this.items=new qe(e,{items:t.release.items,stackHeaders:t.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(e,"release"),this.fetch=q(e,"release"),this.delete=A(e),this.item=function(){return new Ae(e,{releaseUid:a.uid,stackHeaders:a.stackHeaders})},this.deploy=function(){var t=x()(m.a.mark((function t(n){var i,o,r,c,p,u,l;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.environments,o=n.locales,r=n.scheduledAt,c=n.action,p={environments:i,locales:o,scheduledAt:r,action:c},u={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=t.sent).data){t.next=11;break}return t.abrupt("return",l.data);case 11:throw h(l);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),h(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.clone=function(){var t=x()(m.a.mark((function t(n){var i,o,r,c,p;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.name,o=n.description,r={name:i,description:o},c={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/clone"),{release:r},c);case 6:if(!(p=t.sent).data){t.next=11;break}return t.abrupt("return",new De(e,p.data));case 11:throw h(p);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),h(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Le})),this}function Le(e,a){return(s()(a.releases)||[]).map((function(t){return new De(e,{release:t,stackHeaders:a.stackHeaders})}))}function Fe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Be(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/bulk",this.publish=x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",P(e,"/bulk/publish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.unpublish=x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",P(e,"/bulk/unpublish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.delete=x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},t.abrupt("return",P(e,"/bulk/delete",i,o));case 5:case"end":return t.stop()}}),t)})))}function Ue(e,a){this.stackHeaders=a.stackHeaders,this.urlPath="/labels",a.label?(Object.assign(this,s()(a.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(e,"label"),this.delete=A(e),this.fetch=q(e,"label")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ie}))}function Ie(e,a){return(s()(a.labels)||[]).map((function(t){return new Ue(e,{label:t,stackHeaders:a.stackHeaders})}))}function Me(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ve(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.content_type={uid:a}),new X(e,n)},this.locale=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.locale={code:a}),new de(e,n)},this.asset=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new pe(e,n)},this.globalField=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.global_field={uid:a}),new ae(e,n)},this.environment=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.environment={name:a}),new re(e,n)},this.deliveryToken=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.token={uid:a}),new ie(e,n)},this.extension=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.extension={uid:a}),new he(e,n)},this.workflow=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.workflow={uid:a}),new Ce(e,n)},this.webhook=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.webhook={uid:a}),new we(e,n)},this.label=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.label={uid:a}),new Ue(e,n)},this.release=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.release={uid:a}),new De(e,n)},this.bulkOperation=function(){var a={stackHeaders:t.stackHeaders};return new Ne(e,a)},this.users=x()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t.urlPath,{params:{include_collaborators:!0},headers:Ve({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",G(e,n.data.stack));case 8:return a.abrupt("return",h(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.transferOwnership=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ve({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.settings=x()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/settings"),{headers:Ve({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",h(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.resetSettings=x()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ve({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",h(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.addSettings=x()(m.a.mark((function a(){var n,i,o=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=o.length>0&&void 0!==o[0]?o[0]:{},a.prev=1,a.next=4,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ve({},s()(t.stackHeaders))});case 4:if(!(i=a.sent).data){a.next=9;break}return a.abrupt("return",i.data.stack_settings);case 9:return a.abrupt("return",h(i));case 10:a.next=15;break;case 12:return a.prev=12,a.t0=a.catch(1),a.abrupt("return",h(a.t0));case 15:case"end":return a.stop()}}),a,null,[[1,12]])}))),this.share=x()(m.a.mark((function a(){var n,i,o,r=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:[],i=r.length>1&&void 0!==r[1]?r[1]:{},a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/share"),{emails:n,roles:i},{headers:Ve({},s()(t.stackHeaders))});case 5:if(!(o=a.sent).data){a.next=10;break}return a.abrupt("return",o.data);case 10:return a.abrupt("return",h(o));case 11:a.next=16;break;case 13:return a.prev=13,a.t0=a.catch(2),a.abrupt("return",h(a.t0));case 16:case"end":return a.stop()}}),a,null,[[2,13]])}))),this.unShare=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/unshare"),{email:n},{headers:Ve({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.role=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.role={uid:a}),new D(e,n)}):(this.create=E({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=z({http:e,wrapperCollection:$e})),this}function $e(e,a){var t=a.stacks||[];return s()(t).map((function(a){return new Ge(e,{stack:a})}))}function Ke(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function We(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/user-session",{user:e},{params:t}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(a.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new V(a,e.data)),e.data}),h)},logout:function(e){return void 0!==e?a.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),h):a.delete("/user-session").then((function(e){return a.defaults.headers.common&&delete a.defaults.headers.common.authtoken,delete a.defaults.headers.authtoken,delete a.httpClientParams.authtoken,delete a.httpClientParams.headers.authtoken,e.data}),h)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a.get("/user",{params:e}).then((function(e){return new V(a,e.data)}),h)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=We({},s()(e));return new Ge(a,{stack:t})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new N(a,null!==e?{organization:{uid:e}}:null)},axiosInstance:a}}var Je=t(76),Qe=t.n(Je),Xe=t(77),Ze=t.n(Xe),ea=t(20),aa=t.n(ea);function ta(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function na(e){for(var a=1;a0?new Promise((function(t){a.unshift({request:e,resolve:t})})):e.retryCount>0?e:new Promise((function(t){a.push({request:e,resolve:t})}))})),this.interceptors.response=t.interceptors.response.use(o,(function(e){var n=e.config.retryCount,i=null;if(!a.config.retryOnError||n>a.config.retryLimit)return Promise.reject(o(e));var s=a.config.retryDelay,c=e.response;if(c){if(429===c.status)return i="Error with status: ".concat(c.status),++n>a.config.retryLimit?Promise.reject(o(e)):(a.running.shift(),function e(t){if(!a.paused)return a.paused=!0,a.running.length>0&&setTimeout((function(){e(t)}),t),new Promise((function(e){return setTimeout((function(){a.paused=!1;for(var e=0;ea.config.retryLimit)return Promise.reject(o(e));if(a.config.retryDelayOptions)if(a.config.retryDelayOptions.customBackoff){if((s=a.config.retryDelayOptions.customBackoff(n,e))&&s<=0)return Promise.reject(o(e))}else a.config.retryDelayOptions.base&&(s=a.config.retryDelayOptions.base*n);else s=a.config.retryDelay;return e.config.retryCount=n,new Promise((function(a){return setTimeout((function(){return a(t(r(e,i,s)))}),s)}))}}else{if("ECONNABORTED"!==e.code)return Promise.reject(o(e));e.response=na(na({},e.response),{},{status:408,statusText:"timeout of ".concat(a.config.timeout,"ms exceeded")})}return Promise.reject(o(e))}))}function ra(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function sa(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a={defaultHostName:"api.contentstack.io"},t="contentstack-management-javascript/".concat(o.version),n=l(t,e.application,e.integration,e.feature),i={"X-User-Agent":t,"User-Agent":n};e.authtoken&&(i.authtoken=e.authtoken),(e=ua(ua({},a),s()(e))).headers=ua(ua({},e.headers),i);var r=ca(e),c=Ye({http:r});return c}}]); \ No newline at end of file +e.exports=t(153)},function(e){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/a2l":{"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/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/cap+xml":{"source":"iana","charset":"UTF-8","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/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},"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/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":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"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/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/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":{"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},"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/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,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"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/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/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"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"},"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.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/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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"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},"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.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.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.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.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.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-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.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.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":["keynote"]},"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.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.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"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"},"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.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.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.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.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.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.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"},"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.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.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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+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.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"},"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.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.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.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.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.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":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"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-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,"extensions":["xer"]},"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":["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"},"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"]},"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/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"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/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"},"image/avcs":{"source":"iana"},"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/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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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.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/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/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.rosette.annotated-data-model":{"source":"iana"},"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/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/flexfec":{"source":"iana"},"text/fwdred":{"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/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"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.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.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":{"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/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"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"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"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/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/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}}')},function(e,a,t){e.exports={parallel:t(155),serial:t(157),serialOrdered:t(61)}},function(e,a,t){var n=t(56),i=t(59),o=t(60);e.exports=function(e,a,t){var r=i(e);for(;r.index<(r.keyedList||e).length;)n(e,a,r,(function(e,a){e?t(e,a):0!==Object.keys(r.jobs).length||t(null,r.results)})),r.index++;return o.bind(r,t)}},function(e,a){function t(e){return(t="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})(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},function(e,a,t){var n=t(61);e.exports=function(e,a,t){return n(e,a,null,t)}},function(e,a){e.exports=function(e,a){return Object.keys(a).forEach((function(t){e[t]=e[t]||a[t]})),e}},function(e,a){e.exports=function(e){if(Array.isArray(e))return e}},function(e,a){e.exports=function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],n=!0,i=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(t.push(r.value),!a||t.length!==a);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return t}}},function(e,a,t){var n=t(162);e.exports=function(e,a){if(e){if("string"==typeof e)return n(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,a):void 0}}},function(e,a){e.exports=function(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t0?g+b:""}},function(e,a,t){"use strict";var n=t(35),i=Object.prototype.hasOwnProperty,o=Array.isArray,r={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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,a){return String.fromCharCode(parseInt(a,10))}))},c=function(e,a){return e&&"string"==typeof e&&a.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,a,t,n){if(e){var o=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=t.depth>0&&/(\[[^[\]]*])/.exec(o),p=s?o.slice(0,s.index):o,u=[];if(p){if(!t.plainObjects&&i.call(Object.prototype,p)&&!t.allowPrototypes)return;u.push(p)}for(var l=0;t.depth>0&&null!==(s=r.exec(o))&&l=0;--o){var r,s=e[o];if("[]"===s&&t.parseArrays)r=[].concat(i);else{r=t.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);t.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&t.parseArrays&&u<=t.arrayLimit?(r=[])[u]=i:r[p]=i:r={0:i}}i=r}return i}(u,a,t,n)}};e.exports=function(e,a){var t=function(e){if(!e)return r;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 a=void 0===e.charset?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(a);if(""===e||null==e)return t.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,a){var t,p={},u=a.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=a.parameterLimit===1/0?void 0:a.parameterLimit,d=u.split(a.delimiter,l),m=-1,f=a.charset;if(a.charsetSentinel)for(t=0;t-1&&(x=o(x)?[x]:x),i.call(p,h)?p[h]=n.combine(p[h],x):p[h]=x}return p}(e,t):e,l=t.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m=0)return;r[a]="set-cookie"===a?(r[a]?r[a]:[]).concat([t]):r[a]?r[a]+", "+t:t}})),r):r}},function(e,a,t){"use strict";var n=t(4);e.exports=n.isStandardBrowserEnv()?function(){var e,a=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");function i(e){var n=e;return a&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{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 e=i(window.location.href),function(a){var t=n.isString(a)?i(a):a;return t.protocol===e.protocol&&t.host===e.host}}():function(){return!0}},function(e,a,t){"use strict";var n=t(4),i=t(66),o=t(68),r=t(36),s=t(32),c=t(33),p=t(69).http,u=t(69).https,l=t(34),d=t(188),m=t(189),f=t(37),h=t(67),x=/https:?/;e.exports=function(e){return new Promise((function(a,t){var v=function(e){a(e)},b=function(e){t(e)},g=e.data,y=e.headers;if(y["User-Agent"]||y["user-agent"]||(y["User-Agent"]="axios/"+m.version),g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return b(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}y["Content-Length"]=g.length}var w=void 0;e.auth&&(w=(e.auth.username||"")+":"+(e.auth.password||""));var k=o(e.baseURL,e.url),j=l.parse(k),_=j.protocol||"http:";if(!w&&j.auth){var O=j.auth.split(":");w=(O[0]||"")+":"+(O[1]||"")}w&&delete y.Authorization;var P=x.test(_),S=P?e.httpsAgent:e.httpAgent,C={path:r(j.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:y,agent:S,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};e.socketPath?C.socketPath=e.socketPath:(C.hostname=j.hostname,C.port=j.port);var E,z=e.proxy;if(!z&&!1!==z){var H=_.slice(0,-1)+"_proxy",A=process.env[H]||process.env[H.toUpperCase()];if(A){var q=l.parse(A),R=process.env.no_proxy||process.env.NO_PROXY,T=!0;if(R)T=!R.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&j.hostname.substr(j.hostname.length-e.length)===e||j.hostname===e))}));if(T&&(z={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var D=q.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(C.headers.host=j.hostname+(j.port?":"+j.port:""),function e(a,t,n){if(a.hostname=t.host,a.host=t.host,a.port=t.port,a.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");a.headers["Proxy-Authorization"]="Basic "+i}a.beforeRedirect=function(a){a.headers.host=a.host,e(a,t,a.href)}}(C,z,_+"//"+j.hostname+(j.port?":"+j.port:"")+C.path));var L=P&&(!z||x.test(z.protocol));e.transport?E=e.transport:0===e.maxRedirects?E=L?c:s:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),E=L?u:p),e.maxBodyLength>-1&&(C.maxBodyLength=e.maxBodyLength);var F=E.request(C,(function(a){if(!F.aborted){var t=a,o=a.req||F;if(204!==a.statusCode&&"HEAD"!==o.method&&!1!==e.decompress)switch(a.headers["content-encoding"]){case"gzip":case"compress":case"deflate":t=t.pipe(d.createUnzip()),delete a.headers["content-encoding"]}var r={status:a.statusCode,statusText:a.statusMessage,headers:a.headers,config:e,request:o};if("stream"===e.responseType)r.data=t,i(v,b,r);else{var s=[];t.on("data",(function(a){s.push(a),e.maxContentLength>-1&&Buffer.concat(s).length>e.maxContentLength&&(t.destroy(),b(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,o)))})),t.on("error",(function(a){F.aborted||b(h(a,e,null,o))})),t.on("end",(function(){var a=Buffer.concat(s);"arraybuffer"!==e.responseType&&(a=a.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(a=n.stripBOM(a))),r.data=a,i(v,b,r)}))}}}));F.on("error",(function(a){F.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==a.code||b(h(a,e,null,F))})),e.timeout&&F.setTimeout(e.timeout,(function(){F.abort(),b(f("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",F))})),e.cancelToken&&e.cancelToken.promise.then((function(e){F.aborted||(F.abort(),b(e))})),n.isStream(g)?g.on("error",(function(a){b(h(a,e,null,F))})).pipe(F):F.end(g)}))}},function(e,a){e.exports=require("assert")},function(e,a,t){var n;try{n=t(181)("follow-redirects")}catch(e){n=function(){}}e.exports=n},function(e,a,t){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=t(182):e.exports=t(184)},function(e,a,t){var n;a.formatArgs=function(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var t="color: "+this.color;a.splice(1,0,t,"color: inherit");var n=0,i=0;a[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(i=n))})),a.splice(i,0,t)},a.save=function(e){try{e?a.storage.setItem("debug",e):a.storage.removeItem("debug")}catch(e){}},a.load=function(){var e;try{e=a.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},a.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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+)/)},a.storage=function(){try{return localStorage}catch(e){}}(),a.destroy=(n=!1,function(){n||(n=!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`."))}),a.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"],a.log=console.debug||console.log||function(){},e.exports=t(70)(a),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,a){function t(e){return(t="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})(e)}var n=1e3,i=6e4,o=60*i,r=24*o;function s(e,a,t,n){var i=a>=1.5*t;return Math.round(e/t)+" "+n+(i?"s":"")}e.exports=function(e,a){a=a||{};var c=t(e);if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var t=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*t;case"weeks":case"week":case"w":return 6048e5*t;case"days":case"day":case"d":return t*r;case"hours":case"hour":case"hrs":case"hr":case"h":return t*o;case"minutes":case"minute":case"mins":case"min":case"m":return t*i;case"seconds":case"second":case"secs":case"sec":case"s":return t*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}(e);if("number"===c&&isFinite(e))return a.long?function(e){var a=Math.abs(e);if(a>=r)return s(e,a,r,"day");if(a>=o)return s(e,a,o,"hour");if(a>=i)return s(e,a,i,"minute");if(a>=n)return s(e,a,n,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=r)return Math.round(e/r)+"d";if(a>=o)return Math.round(e/o)+"h";if(a>=i)return Math.round(e/i)+"m";if(a>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,a,t){var n=t(185),i=t(18);a.init=function(e){e.inspectOpts={};for(var t=Object.keys(a.inspectOpts),n=0;n=2&&(a.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){}a.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,a){var t=a.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,a){return a.toUpperCase()})),n=process.env[a];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[t]=n,e}),{}),e.exports=t(70)(a);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,a){e.exports=require("tty")},function(e,a,t){"use strict";var n,i=t(19),o=t(187),r=process.env;function s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===n)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!e.isTTY&&!0!==n)return 0;var a=n?1:0;if("win32"===process.platform){var t=i.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:a;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,a)}(e))}o("no-color")||o("no-colors")||o("color=false")?n=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(n=!0),"FORCE_COLOR"in r&&(n=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},function(e,a,t){"use strict";e.exports=function(e,a){a=a||process.argv;var t=e.startsWith("-")?"":1===e.length?"-":"--",n=a.indexOf(t+e),i=a.indexOf("--");return-1!==n&&(-1===i||n2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;b()(this,e);var o=a.data||{};n&&(o.stackHeaders=n),this.items=i(t,o),void 0!==o.schema&&(this.schema=o.schema),void 0!==o.content_type&&(this.content_type=o.content_type),void 0!==o.count&&(this.count=o.count),void 0!==o.notice&&(this.notice=o.notice)};function y(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var a=1;a3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0,o={};n&&(o.headers=n);var r=null;t&&(t.content_type_uid&&(r=t.content_type_uid,delete t.content_type_uid),o.params=w({},s()(t)));var c=function(){var t=h()(m.a.mark((function t(){var s;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a,o);case 3:if(!(s=t.sent).data){t.next=9;break}return r&&(s.data.content_type_uid=r),t.abrupt("return",new g(s,e,n,i));case 9:throw x(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(0),x(t.t0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=h()(m.a.mark((function t(){var n;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o.params=w(w({},o.params),{},{count:!0}),t.prev=1,t.next=4,e.get(a,o);case 4:if(!(n=t.sent).data){t.next=9;break}return t.abrupt("return",n.data);case 9:throw x(n);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),x(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}}(),u=function(){var t=h()(m.a.mark((function t(){var s,c;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=o).params.limit=1,t.prev=2,t.next=5,e.get(a,s);case 5:if(!(c=t.sent).data){t.next=11;break}return r&&(c.data.content_type_uid=r),t.abrupt("return",new g(c,e,n,i));case 11:throw x(c);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(2),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[2,14]])})));return function(){return t.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function _(e){for(var a=1;a4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==o&&(n.locale=o),null!==r&&(n.version=r),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,a.post(t,n,i);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(a,t,n,i){return e.apply(this,arguments)}}(),C=function(){var e=h()(m.a.mark((function e(a){var t,n,i,o,r,c,p,u;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.http,n=a.urlPath,i=a.stackHeaders,o=a.formData,r=a.params,c=a.method,p=void 0===c?"POST":c,u={headers:_(_(_({},r),o.getHeaders()),s()(i))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",t.post(n,o,u));case 6:return e.abrupt("return",t.put(n,o,u));case 7:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),E=function(e){var a=e.http,t=e.params;return function(){var e=h()(m.a.mark((function e(n,i){var o,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={headers:_(_({},s()(t)),s()(this.stackHeaders)),params:_({},s()(i))}||{},e.prev=1,e.next=4,a.post(this.urlPath,n,o);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(a,T(r,this.stackHeaders,this.content_type_uid)));case 9:throw x(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(a,t){return e.apply(this,arguments)}}()},z=function(e){var a=e.http,t=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(a,this.urlPath,e,this.stackHeaders,t)}},H=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r,c=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},i={},delete(o=s()(this)).stackHeaders,delete o.urlPath,delete o.uid,delete o.org_uid,delete o.api_key,delete o.created_at,delete o.created_by,delete o.deleted_at,delete o.updated_at,delete o.updated_by,delete o.updated_at,i[a]=o,t.prev=15,t.next=18,e.put(this.urlPath,i,{headers:_({},s()(this.stackHeaders)),params:_({},s()(n))});case 18:if(!(r=t.sent).data){t.next=23;break}return t.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 23:throw x(r);case 24:t.next=29;break;case 26:throw t.prev=26,t.t0=t.catch(15),x(t.t0);case 29:case"end":return t.stop()}}),t,this,[[15,26]])})))},A=function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},!0===a&&(i.params.force=!0),t.next=6,e.delete(this.urlPath,i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:if(!(o.status>=200&&o.status<300)){t.next=15;break}return t.abrupt("return",{status:o.status,statusText:o.statusText});case 15:throw x(o);case 16:t.next=21;break;case 18:throw t.prev=18,t.t0=t.catch(1),x(t.t0);case 21:case"end":return t.stop()}}),t,this,[[1,18]])})))},q=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},t.next=5,e.get(this.urlPath,i);case 5:if(!(o=t.sent).data){t.next=11;break}return"entry"===a&&(o.data[a].content_type=o.data.content_type,o.data[a].schema=o.data.schema),t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders,this.content_type_uid)));case 11:throw x(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(1),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[1,14]])})))},R=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=_({},s()(n))),t.prev=4,t.next=7,e.get(this.urlPath,i);case 7:if(!(o=t.sent).data){t.next=12;break}return t.abrupt("return",new g(o,e,this.stackHeaders,a));case 12:throw x(o);case 13:t.next=18;break;case 15:throw t.prev=15,t.t0=t.catch(4),x(t.t0);case 18:case"end":return t.stop()}}),t,this,[[4,15]])})))};function T(e,a,t){var n=e.data||{};return a&&(n.stackHeaders=a),t&&(n.content_type_uid=t),n}function D(e,a){return this.urlPath="/roles",this.stackHeaders=a.stackHeaders,a.role?(Object.assign(this,s()(a.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(e,"role"),this.delete=A(e),this.fetch=q(e,"role"))):(this.create=E({http:e}),this.fetchAll=R(e,L),this.query=z({http:e,wrapperCollection:L})),this}function L(e,a){return s()(a.roles||[]).map((function(t){return new D(e,{role:t,stackHeaders:a.stackHeaders})}))}function F(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function B(e){for(var a=1;a0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/stacks"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,Qe));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.transferOwnership=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.addUser=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/share"),{share:B({},n)});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.getInvitations=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/share"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.resendInvitation=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.roles=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/roles"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,L));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}())):this.fetchAll=R(e,U)}function U(e,a){return s()(a.organizations||[]).map((function(a){return new N(e,{organization:a})}))}function I(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function M(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/content_types",t.content_type?(Object.assign(this,s()(t.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(e,"content_type"),this.delete=A(e),this.fetch=q(e,"content_type"),this.entry=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return n.content_type_uid=a.uid,t&&(n.entry={uid:t}),new Y(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Z}),this.import=function(){var a=h()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function Z(e,a){return(s()(a.content_types)||[]).map((function(t){return new X(e,{content_type:t,stackHeaders:a.stackHeaders})}))}function ee(e){var a=new K.a,t=Object(W.createReadStream)(e.content_type);return a.append("content_type",t),a}function ae(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/global_fields",a.global_field?(Object.assign(this,s()(a.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(e,"global_field"),this.delete=A(e),this.fetch=q(e,"global_field")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:te}),this.import=function(){var a=h()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function te(e,a){return(s()(a.global_fields)||[]).map((function(t){return new ae(e,{global_field:t,stackHeaders:a.stackHeaders})}))}function ne(e){var a=new K.a,t=Object(W.createReadStream)(e.global_field);return a.append("global_field",t),a}function ie(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/delivery_tokens",a.token?(Object.assign(this,s()(a.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(e,"token"),this.delete=A(e),this.fetch=q(e,"token")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:oe}))}function oe(e,a){return(s()(a.tokens)||[]).map((function(t){return new ie(e,{token:t,stackHeaders:a.stackHeaders})}))}function re(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/environments",a.environment?(Object.assign(this,s()(a.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(e,"environment"),this.delete=A(e),this.fetch=q(e,"environment")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:se}))}function se(e,a){return(s()(a.environments)||[]).map((function(t){return new re(e,{environment:t,stackHeaders:a.stackHeaders})}))}function ce(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a.stackHeaders&&(this.stackHeaders=a.stackHeaders),this.urlPath="/assets/folders",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset")):this.create=E({http:e})}function pe(e){var a=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/assets",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset"),this.replace=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n,method:"PUT"});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.publish=O(e,"asset"),this.unpublish=P(e,"asset")):(this.folder=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new ce(e,n)},this.create=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.query=z({http:e,wrapperCollection:ue})),this}function ue(e,a){return(s()(a.assets)||[]).map((function(t){return new pe(e,{asset:t,stackHeaders:a.stackHeaders})}))}function le(e){var a=new K.a;"string"==typeof e.parent_uid&&a.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&a.append("asset[description]",e.description),e.tags instanceof Array?a.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("asset[tags]",e.tags),"string"==typeof e.title&&a.append("asset[title]",e.title);var t=Object(W.createReadStream)(e.upload);return a.append("asset[upload]",t),a}function de(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/locales",a.locale?(Object.assign(this,s()(a.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(e,"locale"),this.delete=A(e),this.fetch=q(e,"locale")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:me})),this}function me(e,a){return(s()(a.locales)||[]).map((function(t){return new de(e,{locale:t,stackHeaders:a.stackHeaders})}))}var fe=t(75),he=t.n(fe);function xe(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/extensions",a.extension?(Object.assign(this,s()(a.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(e,"extension"),this.delete=A(e),this.fetch=q(e,"extension")):(this.upload=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.create=E({http:e}),this.query=z({http:e,wrapperCollection:ve}))}function ve(e,a){return(s()(a.extensions)||[]).map((function(t){return new xe(e,{extension:t,stackHeaders:a.stackHeaders})}))}function be(e){var a=new K.a;"string"==typeof e.title&&a.append("extension[title]",e.title),"object"===he()(e.scope)&&a.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&a.append("extension[data_type]",e.data_type),"string"==typeof e.type&&a.append("extension[type]",e.type),e.tags instanceof Array?a.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&a.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&a.append("extension[enable]","".concat(e.enable));var t=Object(W.createReadStream)(e.upload);return a.append("extension[upload]",t),a}function ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ye(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/webhooks",t.webhook?(Object.assign(this,s()(t.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(e,"webhook"),this.delete=A(e),this.fetch=q(e,"webhook"),this.executions=function(){var t=h()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),n&&(i.params=ye({},s()(n))),t.prev=3,t.next=6,e.get("".concat(a.urlPath,"/executions"),i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:throw x(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.retry=function(){var t=h()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/retry"),{execution_uid:n},i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(2),x(t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,13]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.fetchAll=R(e,ke)),this.import=function(){var t=h()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C({http:e,urlPath:"".concat(a.urlPath,"/import"),stackHeaders:a.stackHeaders,formData:je(n)});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new a.constructor(e,T(i,a.stackHeaders)));case 8:throw x(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this}function ke(e,a){return(s()(a.webhooks)||[]).map((function(t){return new we(e,{webhook:t,stackHeaders:a.stackHeaders})}))}function je(e){var a=new K.a,t=Object(W.createReadStream)(e.webhook);return a.append("webhook",t),a}function _e(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows/publishing_rules",a.publishing_rule?(Object.assign(this,s()(a.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(e,"publishing_rule"),this.delete=A(e),this.fetch=q(e,"publishing_rule")):(this.create=E({http:e}),this.fetchAll=R(e,Oe))}function Oe(e,a){return(s()(a.publishing_rules)||[]).map((function(t){return new _e(e,{publishing_rule:t,stackHeaders:a.stackHeaders})}))}function Pe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Se(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows",t.workflow?(Object.assign(this,s()(t.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(e,"workflow"),this.disable=h()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Se({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw x(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.enable=h()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Se({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw x(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.delete=A(e),this.fetch=q(e,"workflow")):(this.contentType=function(t){if(t)return{getPublishRules:function(){var a=h()(m.a.mark((function a(n){var i,o;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=Se({},s()(n))),a.prev=3,a.next=6,e.get("/workflows/content_type/".concat(t),i);case 6:if(!(o=a.sent).data){a.next=11;break}return a.abrupt("return",new g(o,e,this.stackHeaders,Oe));case 11:throw x(o);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,this,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),stackHeaders:Se({},a.stackHeaders)}},this.create=E({http:e}),this.fetchAll=R(e,Ee),this.publishRule=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.publishing_rule={uid:t}),new _e(e,n)})}function Ee(e,a){return(s()(a.workflows)||[]).map((function(t){return new Ce(e,{workflow:t,stackHeaders:a.stackHeaders})}))}function ze(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function He(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,t.item&&Object.assign(this,s()(t.item)),t.releaseUid&&(this.urlPath="releases/".concat(t.releaseUid,"/items"),this.delete=function(){var n=h()(m.a.mark((function n(i){var o,r,c;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},void 0===i&&(o={all:!0}),n.prev=2,r={headers:He({},s()(a.stackHeaders)),data:He({},s()(i)),params:He({},s()(o))}||{},n.next=6,e.delete(a.urlPath,r);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new De(e,He(He({},c.data),{},{stackHeaders:t.stackHeaders})));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=h()(m.a.mark((function n(i){var o,r;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={headers:He({},s()(a.stackHeaders))}||{},n.prev=1,n.next=4,e.post(i.item?"releases/".concat(t.releaseUid,"/item"):a.urlPath,i,o);case 4:if(!(r=n.sent).data){n.next=10;break}if(!r.data){n.next=8;break}return n.abrupt("return",new De(e,He(He({},r.data),{},{stackHeaders:t.stackHeaders})));case 8:n.next=11;break;case 10:throw x(r);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:He({},s()(a.stackHeaders)),params:He({},s()(n))}||{},t.next=5,e.get(a.urlPath,i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",new g(o,e,a.stackHeaders,qe));case 10:throw x(o);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,null,[[1,13]])})))),this}function qe(e,a,t){return(s()(a.items)||[]).map((function(n){return new Ae(e,{releaseUid:t,item:n,stackHeaders:a.stackHeaders})}))}function Re(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Te(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/releases",t.release?(Object.assign(this,s()(t.release)),t.release.items&&(this.items=new qe(e,{items:t.release.items,stackHeaders:t.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(e,"release"),this.fetch=q(e,"release"),this.delete=A(e),this.item=function(){return new Ae(e,{releaseUid:a.uid,stackHeaders:a.stackHeaders})},this.deploy=function(){var t=h()(m.a.mark((function t(n){var i,o,r,c,p,u,l;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.environments,o=n.locales,r=n.scheduledAt,c=n.action,p={environments:i,locales:o,scheduledAt:r,action:c},u={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=t.sent).data){t.next=11;break}return t.abrupt("return",l.data);case 11:throw x(l);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.clone=function(){var t=h()(m.a.mark((function t(n){var i,o,r,c,p;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.name,o=n.description,r={name:i,description:o},c={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/clone"),{release:r},c);case 6:if(!(p=t.sent).data){t.next=11;break}return t.abrupt("return",new De(e,p.data));case 11:throw x(p);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Le})),this}function Le(e,a){return(s()(a.releases)||[]).map((function(t){return new De(e,{release:t,stackHeaders:a.stackHeaders})}))}function Fe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Be(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/bulk",this.publish=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",S(e,"/bulk/publish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.unpublish=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",S(e,"/bulk/unpublish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.delete=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},t.abrupt("return",S(e,"/bulk/delete",i,o));case 5:case"end":return t.stop()}}),t)})))}function Ue(e,a){this.stackHeaders=a.stackHeaders,this.urlPath="/labels",a.label?(Object.assign(this,s()(a.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(e,"label"),this.delete=A(e),this.fetch=q(e,"label")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ie}))}function Ie(e,a){return(s()(a.labels)||[]).map((function(t){return new Ue(e,{label:t,stackHeaders:a.stackHeaders})}))}function Me(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/branches",a.branch=a.branch||a.branch_alias,delete a.branch_alias,a.branch?(Object.assign(this,s()(a.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=A(e),this.fetch=q(e,"branch")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ve})),this}function Ve(e,a){return(s()(a.branches)||a.branch_aliases||[]).map((function(t){return new Me(e,{branch:t,stackHeaders:a.stackHeaders})}))}function Ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function $e(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/branch_aliases",t.branch_alias?(Object.assign(this,s()(t.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var t=h()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.put(a.urlPath,{branch_alias:{target_branch:n}},{headers:$e({},s()(a.stackHeaders))});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new Me(e,T(i,a.stackHeaders)));case 8:throw x(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.delete=A(e,!0),this.fetch=h()(m.a.mark((function a(){var t,n,i=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,t={headers:$e({},s()(this.stackHeaders))}||{},a.next=5,e.get(this.urlPath,t);case 5:if(!(n=a.sent).data){a.next=10;break}return a.abrupt("return",new Me(e,T(n,this.stackHeaders)));case 10:throw x(n);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,this,[[1,13]])})))):this.fetchAll=R(e,Ve),this}function We(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ye(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.content_type={uid:a}),new X(e,n)},this.locale=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.locale={code:a}),new de(e,n)},this.asset=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new pe(e,n)},this.globalField=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.global_field={uid:a}),new ae(e,n)},this.environment=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.environment={name:a}),new re(e,n)},this.branch=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.branch={uid:a}),new Me(e,n)},this.branchAlias=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.branch_alias={uid:a}),new Ke(e,n)},this.deliveryToken=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.token={uid:a}),new ie(e,n)},this.extension=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.extension={uid:a}),new xe(e,n)},this.workflow=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.workflow={uid:a}),new Ce(e,n)},this.webhook=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.webhook={uid:a}),new we(e,n)},this.label=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.label={uid:a}),new Ue(e,n)},this.release=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.release={uid:a}),new De(e,n)},this.bulkOperation=function(){var a={stackHeaders:t.stackHeaders};return new Ne(e,a)},this.users=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t.urlPath,{params:{include_collaborators:!0},headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",G(e,n.data.stack));case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.transferOwnership=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.settings=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/settings"),{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.resetSettings=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.addSettings=h()(m.a.mark((function a(){var n,i,o=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=o.length>0&&void 0!==o[0]?o[0]:{},a.prev=1,a.next=4,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ye({},s()(t.stackHeaders))});case 4:if(!(i=a.sent).data){a.next=9;break}return a.abrupt("return",i.data.stack_settings);case 9:return a.abrupt("return",x(i));case 10:a.next=15;break;case 12:return a.prev=12,a.t0=a.catch(1),a.abrupt("return",x(a.t0));case 15:case"end":return a.stop()}}),a,null,[[1,12]])}))),this.share=h()(m.a.mark((function a(){var n,i,o,r=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:[],i=r.length>1&&void 0!==r[1]?r[1]:{},a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/share"),{emails:n,roles:i},{headers:Ye({},s()(t.stackHeaders))});case 5:if(!(o=a.sent).data){a.next=10;break}return a.abrupt("return",o.data);case 10:return a.abrupt("return",x(o));case 11:a.next=16;break;case 13:return a.prev=13,a.t0=a.catch(2),a.abrupt("return",x(a.t0));case 16:case"end":return a.stop()}}),a,null,[[2,13]])}))),this.unShare=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/unshare"),{email:n},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.role=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.role={uid:a}),new D(e,n)}):(this.create=E({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=z({http:e,wrapperCollection:Qe})),this}function Qe(e,a){var t=a.stacks||[];return s()(t).map((function(a){return new Je(e,{stack:a})}))}function Xe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ze(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/user-session",{user:e},{params:t}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(a.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new V(a,e.data)),e.data}),x)},logout:function(e){return void 0!==e?a.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):a.delete("/user-session").then((function(e){return a.defaults.headers.common&&delete a.defaults.headers.common.authtoken,delete a.defaults.headers.authtoken,delete a.httpClientParams.authtoken,delete a.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a.get("/user",{params:e}).then((function(e){return new V(a,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ze({},s()(e));return new Je(a,{stack:t})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new N(a,null!==e?{organization:{uid:e}}:null)},axiosInstance:a}}var aa=t(76),ta=t.n(aa),na=t(77),ia=t.n(na),oa=t(20),ra=t.n(oa);function sa(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ca(e){for(var a=1;a0?new Promise((function(t){a.unshift({request:e,resolve:t})})):e.retryCount>0?e:new Promise((function(t){a.push({request:e,resolve:t})}))})),this.interceptors.response=t.interceptors.response.use(o,(function(e){var n=e.config.retryCount,i=null;if(!a.config.retryOnError||n>a.config.retryLimit)return Promise.reject(o(e));var s=a.config.retryDelay,c=e.response;if(c){if(429===c.status)return i="Error with status: ".concat(c.status),++n>a.config.retryLimit?Promise.reject(o(e)):(a.running.shift(),function e(t){if(!a.paused)return a.paused=!0,a.running.length>0&&setTimeout((function(){e(t)}),t),new Promise((function(e){return setTimeout((function(){a.paused=!1;for(var e=0;ea.config.retryLimit)return Promise.reject(o(e));if(a.config.retryDelayOptions)if(a.config.retryDelayOptions.customBackoff){if((s=a.config.retryDelayOptions.customBackoff(n,e))&&s<=0)return Promise.reject(o(e))}else a.config.retryDelayOptions.base&&(s=a.config.retryDelayOptions.base*n);else s=a.config.retryDelay;return e.config.retryCount=n,new Promise((function(a){return setTimeout((function(){return a(t(r(e,i,s)))}),s)}))}}else{if("ECONNABORTED"!==e.code)return Promise.reject(o(e));e.response=ca(ca({},e.response),{},{status:408,statusText:"timeout of ".concat(a.config.timeout,"ms exceeded")})}return Promise.reject(o(e))}))}function la(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function da(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a={defaultHostName:"api.contentstack.io"},t="contentstack-management-javascript/".concat(o.version),n=l(t,e.application,e.integration,e.feature),i={"X-User-Agent":t,"User-Agent":n};e.authtoken&&(i.authtoken=e.authtoken),(e=ha(ha({},a),s()(e))).headers=ha(ha({},e.headers),i);var r=ma(e);return ea({http:r})}}]); \ No newline at end of file diff --git a/dist/react-native/contentstack-management.js b/dist/react-native/contentstack-management.js index 94e01754..da0416f2 100644 --- a/dist/react-native/contentstack-management.js +++ b/dist/react-native/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(s):c<128?a+=i[c]:c<2048?a+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?a+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(s)),a+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),i=r(44),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),i=r(52),s=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(i).concat(s),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),i=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),i=r(98),s=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,s(E,e)):f(e,i(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),i=r(73),s=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),i=r(35),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),i=r(94),s=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(s=i.exec(a))&&p=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&s!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(i=[])[f]=o:i[u]=o:i={0:o}}o=i}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(59),i=r(0),s=r.n(i),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=l()(f.a.mark((function r(){var s;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new y(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var s,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,i,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},i),a.getHeaders()),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,i;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},s()(r)),s()(this.stackHeaders)),params:k({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},s()(this.stackHeaders)),params:k({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return l()(f.a.mark((function e(){var r,n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},s()(this.stackHeaders)),params:k({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:k({},s()(this.stackHeaders)),params:k({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Mt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return s()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(s()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,i,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:Ht({},s()(e.stackHeaders)),data:Ht({},s()(o)),params:Ht({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,i;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:Ht({},s()(e.stackHeaders)),params:Ht({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(s()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ft(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ft({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,i=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Ft({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Mt})),this}function Mt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new It(t,{stack:e})}))}function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=$t({},s()(t));return new It(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Gt=r(62),Qt=r.n(Gt),Xt=r(63),Jt=r.n(Xt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((s=e.config.retryDelayOptions.customBackoff(n,t))&&s<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(s=e.config.retryDelayOptions.base*n);else s=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(i(t,o,s)))}),s)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=te(te({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function oe(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Wt({http:i});return u}}]); \ No newline at end of file +module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},s),a.getHeaders()),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((i=e.config.retryDelayOptions.customBackoff(n,t))&&i<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(i=e.config.retryDelayOptions.base*n);else i=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(s(t,o,i)))}),i)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=ae(ae({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}]); \ No newline at end of file diff --git a/dist/web/contentstack-management.js b/dist/web/contentstack-management.js index 85b0bfbe..effb3ff2 100644 --- a/dist/web/contentstack-management.js +++ b/dist/web/contentstack-management.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentstack-management"]=e():t["contentstack-management"]=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(s):c<128?a+=i[c]:c<2048?a+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?a+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(s)),a+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),i=r(44),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),i=r(52),s=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(i).concat(s),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),i=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),i=r(98),s=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,s(E,e)):f(e,i(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),i=r(73),s=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),i=r(35),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),i=r(94),s=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(s=i.exec(a))&&p=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&s!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(i=[])[f]=o:i[u]=o:i={0:o}}o=i}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(59),i=r(0),s=r.n(i),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=l()(f.a.mark((function r(){var s;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new y(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var s,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,i,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},i),a.getHeaders()),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,i;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},s()(r)),s()(this.stackHeaders)),params:k({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},s()(this.stackHeaders)),params:k({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return l()(f.a.mark((function e(){var r,n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},s()(this.stackHeaders)),params:k({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:k({},s()(this.stackHeaders)),params:k({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Mt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return s()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(s()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,i,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:Ht({},s()(e.stackHeaders)),data:Ht({},s()(o)),params:Ht({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,i;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:Ht({},s()(e.stackHeaders)),params:Ht({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(s()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ft(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ft({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,i=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Ft({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Mt})),this}function Mt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new It(t,{stack:e})}))}function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=$t({},s()(t));return new It(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Gt=r(62),Qt=r.n(Gt),Xt=r(63),Jt=r.n(Xt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((s=e.config.retryDelayOptions.customBackoff(n,t))&&s<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(s=e.config.retryDelayOptions.base*n);else s=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(i(t,o,s)))}),s)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=te(te({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function oe(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Wt({http:i});return u}}])})); \ No newline at end of file +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentstack-management"]=e():t["contentstack-management"]=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},s),a.getHeaders()),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((i=e.config.retryDelayOptions.customBackoff(n,t))&&i<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(i=e.config.retryDelayOptions.base*n);else i=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(s(t,o,i)))}),i)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=ae(ae({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}])})); \ No newline at end of file diff --git a/jsdocs/Asset.html b/jsdocs/Asset.html index 03e54816..94235545 100644 --- a/jsdocs/Asset.html +++ b/jsdocs/Asset.html @@ -38,7 +38,7 @@
@@ -1354,7 +1354,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BulkOperation.html b/jsdocs/BulkOperation.html index e5e14dc9..dcf24000 100644 --- a/jsdocs/BulkOperation.html +++ b/jsdocs/BulkOperation.html @@ -38,7 +38,7 @@
@@ -800,7 +800,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentType.html b/jsdocs/ContentType.html index 175ee77b..376be8d8 100644 --- a/jsdocs/ContentType.html +++ b/jsdocs/ContentType.html @@ -38,7 +38,7 @@
@@ -1317,7 +1317,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Contentstack.html b/jsdocs/Contentstack.html index 57384f47..63858854 100644 --- a/jsdocs/Contentstack.html +++ b/jsdocs/Contentstack.html @@ -38,7 +38,7 @@
@@ -829,7 +829,7 @@
Examples

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentstackClient.html b/jsdocs/ContentstackClient.html index 8aa9ba89..9b6d8e46 100644 --- a/jsdocs/ContentstackClient.html +++ b/jsdocs/ContentstackClient.html @@ -38,7 +38,7 @@
@@ -516,7 +516,7 @@
Returns:
-

(static) stack(api_key, management_token) → {Stack}

+

(static) stack(api_key, management_token, branch_name) → {Stack}

@@ -599,6 +599,12 @@
Examples
client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid').fetch() .then((stack) => console.log(stack)) +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch()
+.then((stack) => console.log(stack))
+ @@ -666,7 +672,30 @@
Parameters:
- Stack API Key + Management token for Stack. + + + + + + + branch_name + + + + + +String + + + + + + + + + + Branch name or alias to access specific branch. Default is master. @@ -730,7 +759,7 @@

(static) Source:
@@ -903,7 +932,7 @@

(static) logou
Source:
@@ -1077,7 +1106,7 @@

Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/DeliveryToken.html b/jsdocs/DeliveryToken.html index 94c5695e..403974c8 100644 --- a/jsdocs/DeliveryToken.html +++ b/jsdocs/DeliveryToken.html @@ -38,7 +38,7 @@
@@ -763,7 +763,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Entry.html b/jsdocs/Entry.html index edac6ebf..0ab6867c 100644 --- a/jsdocs/Entry.html +++ b/jsdocs/Entry.html @@ -38,7 +38,7 @@
@@ -1693,7 +1693,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Environment.html b/jsdocs/Environment.html index d3a634d0..f152909f 100644 --- a/jsdocs/Environment.html +++ b/jsdocs/Environment.html @@ -38,7 +38,7 @@
@@ -766,7 +766,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Extension.html b/jsdocs/Extension.html index 58adcf71..85354b94 100644 --- a/jsdocs/Extension.html +++ b/jsdocs/Extension.html @@ -38,7 +38,7 @@
@@ -944,7 +944,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Folder.html b/jsdocs/Folder.html index 767bb814..df9ca3be 100644 --- a/jsdocs/Folder.html +++ b/jsdocs/Folder.html @@ -38,7 +38,7 @@
@@ -633,7 +633,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/GlobalField.html b/jsdocs/GlobalField.html index 98895bba..ac35d309 100644 --- a/jsdocs/GlobalField.html +++ b/jsdocs/GlobalField.html @@ -38,7 +38,7 @@
@@ -908,7 +908,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Label.html b/jsdocs/Label.html index 0c97c7c2..7347e87b 100644 --- a/jsdocs/Label.html +++ b/jsdocs/Label.html @@ -38,7 +38,7 @@
@@ -855,7 +855,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Locale.html b/jsdocs/Locale.html index dadf7b5b..c0e10d45 100644 --- a/jsdocs/Locale.html +++ b/jsdocs/Locale.html @@ -38,7 +38,7 @@
@@ -850,7 +850,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Organization.html b/jsdocs/Organization.html index 3ea13be7..917fde20 100644 --- a/jsdocs/Organization.html +++ b/jsdocs/Organization.html @@ -38,7 +38,7 @@
@@ -1691,7 +1691,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/PublishRules.html b/jsdocs/PublishRules.html index fd85aff4..0e3550c9 100644 --- a/jsdocs/PublishRules.html +++ b/jsdocs/PublishRules.html @@ -38,7 +38,7 @@
@@ -73,7 +73,7 @@

Source:
@@ -154,7 +154,7 @@

(static) creat
Source:
@@ -287,7 +287,7 @@

Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Release.html b/jsdocs/Release.html index 72a43f35..a69bacd3 100644 --- a/jsdocs/Release.html +++ b/jsdocs/Release.html @@ -38,7 +38,7 @@
@@ -1503,7 +1503,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Role.html b/jsdocs/Role.html index 1452cddd..095e9c28 100644 --- a/jsdocs/Role.html +++ b/jsdocs/Role.html @@ -38,7 +38,7 @@
@@ -1125,7 +1125,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Stack.html b/jsdocs/Stack.html index fbb7737e..40137efd 100644 --- a/jsdocs/Stack.html +++ b/jsdocs/Stack.html @@ -38,7 +38,7 @@
@@ -73,7 +73,7 @@

Source:
@@ -154,7 +154,7 @@

(static) updat
Source:
@@ -277,7 +277,7 @@

(static) fetch<
Source:
@@ -395,7 +395,7 @@

contentTyp
Source:
@@ -565,7 +565,7 @@

localeSource:
@@ -735,7 +735,7 @@

assetSource:
@@ -905,7 +905,7 @@

globalFiel
Source:
@@ -1075,7 +1075,7 @@

environmen
Source:
@@ -1233,6 +1233,330 @@

Returns:
+

branch(branchUid) → {Branch}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key'}).branch().create()
+.then((branch) => console.log(branch))
+
+client.stack({ api_key: 'api_key' }).branch('branch_uid').fetch()
+.then((branch) => console.log(branch))
+ + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
branchUid + + +String + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Branch + + +
+
+ + + + + + + + + + +

branchAlias(branchUid) → {BranchAlias}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key'}).branchAlias().create()
+.then((branch) => console.log(branch))
+
+client.stack({ api_key: 'api_key' }).branchAlias('branch_alias_uid').fetch()
+.then((branch) => console.log(branch))
+ + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
branchUid + + +String + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +BranchAlias + + +
+
+ + + + + + + + + +

deliveryToken(deliveryTokenUid) → {DeliveryToken}

@@ -1245,7 +1569,7 @@

delivery
Source:
@@ -1415,7 +1739,7 @@

extensionSource:
@@ -1585,7 +1909,7 @@

workflowSource:
@@ -1755,7 +2079,7 @@

webhookSource:
@@ -1925,7 +2249,7 @@

labelSource:
@@ -2095,7 +2419,7 @@

releaseSource:
@@ -2265,7 +2589,7 @@

bulkOper
Source:
@@ -2402,7 +2726,7 @@

(static) users<
Source:
@@ -2520,7 +2844,7 @@

(static) <
Source:
@@ -2687,7 +3011,7 @@

(static) set
Source:
@@ -2805,7 +3129,7 @@

(static) Source:
@@ -2923,7 +3247,7 @@

(static)
Source:
@@ -3041,7 +3365,7 @@

(static) share<
Source:
@@ -3231,7 +3555,7 @@

(static) unSh
Source:
@@ -3398,7 +3722,7 @@

(static) roleSource:
@@ -3587,7 +3911,7 @@

(static) creat
Source:
@@ -3705,7 +4029,7 @@

(static) query<
Source:
@@ -3967,7 +4291,7 @@

Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/User.html b/jsdocs/User.html index 66df4163..1adb8185 100644 --- a/jsdocs/User.html +++ b/jsdocs/User.html @@ -38,7 +38,7 @@
@@ -883,7 +883,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Webhook.html b/jsdocs/Webhook.html index 71f9f981..7f09d05e 100644 --- a/jsdocs/Webhook.html +++ b/jsdocs/Webhook.html @@ -38,7 +38,7 @@
@@ -1410,7 +1410,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Workflow.html b/jsdocs/Workflow.html index 8e4439b0..2dcceb6a 100644 --- a/jsdocs/Workflow.html +++ b/jsdocs/Workflow.html @@ -38,7 +38,7 @@
@@ -1039,63 +1039,63 @@
Example
const client = contentstack.client() const workflow = { - "workflow_stages": [ +"workflow_stages": [ { - "color": "#2196f3", - "SYS_ACL": { - "roles": { - "uids": [] - }, - "users": { - "uids": [ - "$all" - ] - }, - "others": {} - }, - "next_available_stages": [ - "$all" - ], - "allStages": true, - "allUsers": true, - "specificStages": false, - "specificUsers": false, - "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) - "name": "Review" - }, - { - "color": "#74ba76", - "SYS_ACL": { - "roles": { - "uids": [] - }, - "users": { - "uids": [ - "$all" - ] - }, - "others": {} - }, - "allStages": true, - "allUsers": true, - "specificStages": false, - "specificUsers": false, - "next_available_stages": [ - "$all" - ], - "entry_lock": "$none", - "name": "Complete" - } - ], - "admin_users": { - "users": [] - }, - "name": "Workflow Name", - "enabled": true, - "content_types": [ - "$all" - ] - } + "color": "#2196f3", + "SYS_ACL": { + "roles": { + "uids": [] + }, + "users": { + "uids": [ + "$all" + ] + }, + "others": {} + }, + "next_available_stages": [ + "$all" + ], + "allStages": true, + "allUsers": true, + "specificStages": false, + "specificUsers": false, + "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) + "name": "Review" + }, + { + "color": "#74ba76", + "SYS_ACL": { + "roles": { + "uids": [] + }, + "users": { + "uids": [ + "$all" + ] + }, + "others": {} + }, + "allStages": true, + "allUsers": true, + "specificStages": false, + "specificUsers": false, + "next_available_stages": [ + "$all" + ], + "entry_lock": "$none", + "name": "Complete" + } + ], + "admin_users": { + "users": [] + }, + "name": "Workflow Name", + "enabled": true, + "content_types": [ + "$all" + ] + } client.stack().workflow().create({ workflow }) .then((workflow) => console.log(workflow)) @@ -1544,7 +1544,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstack.js.html b/jsdocs/contentstack.js.html index 203f1fe5..60fa6000 100644 --- a/jsdocs/contentstack.js.html +++ b/jsdocs/contentstack.js.html @@ -38,7 +38,7 @@
@@ -197,10 +197,9 @@

contentstack.js

...requiredHeaders } const http = httpClient(params) - const api = contentstackClient({ + return contentstackClient({ http: http }) - return api } @@ -216,7 +215,7 @@

contentstack.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstackClient.js.html b/jsdocs/contentstackClient.js.html index 8c4717b9..56342f9f 100644 --- a/jsdocs/contentstackClient.js.html +++ b/jsdocs/contentstackClient.js.html @@ -38,7 +38,7 @@
@@ -116,7 +116,8 @@

contentstackClient.js

* @memberof ContentstackClient * @func stack * @param {String} api_key - Stack API Key - * @param {String} management_token - Stack API Key + * @param {String} management_token - Management token for Stack. + * @param {String} branch_name - Branch name or alias to access specific branch. Default is master. * @returns {Stack} Instance of Stack * * @example @@ -140,6 +141,12 @@

contentstackClient.js

* client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid').fetch() * .then((stack) => console.log(stack)) * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch() + * .then((stack) => console.log(stack)) */ function stack (params = {}) { const stack = { ...cloneDeep(params) } @@ -237,7 +244,7 @@

contentstackClient.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/index.html b/jsdocs/index.html index c1b20668..266cc9aa 100644 --- a/jsdocs/index.html +++ b/jsdocs/index.html @@ -38,7 +38,7 @@
@@ -171,7 +171,7 @@

The MIT License (MIT)


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/organization_index.js.html b/jsdocs/organization_index.js.html index 0fd07c4a..2866e592 100644 --- a/jsdocs/organization_index.js.html +++ b/jsdocs/organization_index.js.html @@ -38,7 +38,7 @@
@@ -301,7 +301,7 @@

organization/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/query_index.js.html b/jsdocs/query_index.js.html index 96e5447e..cef9a25c 100644 --- a/jsdocs/query_index.js.html +++ b/jsdocs/query_index.js.html @@ -38,7 +38,7 @@
@@ -195,7 +195,7 @@

query/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_folders_index.js.html b/jsdocs/stack_asset_folders_index.js.html index 73440cab..80a4f5f0 100644 --- a/jsdocs/stack_asset_folders_index.js.html +++ b/jsdocs/stack_asset_folders_index.js.html @@ -38,7 +38,7 @@
@@ -162,7 +162,7 @@

stack/asset/folders/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_index.js.html b/jsdocs/stack_asset_index.js.html index ef2723e4..fc3c69ef 100644 --- a/jsdocs/stack_asset_index.js.html +++ b/jsdocs/stack_asset_index.js.html @@ -38,7 +38,7 @@
@@ -327,7 +327,7 @@

stack/asset/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_bulkOperation_index.js.html b/jsdocs/stack_bulkOperation_index.js.html index 40b7e689..2dd56516 100644 --- a/jsdocs/stack_bulkOperation_index.js.html +++ b/jsdocs/stack_bulkOperation_index.js.html @@ -38,7 +38,7 @@
@@ -225,7 +225,7 @@

stack/bulkOperation/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_entry_index.js.html b/jsdocs/stack_contentType_entry_index.js.html index cf7976f6..bc6c6a01 100644 --- a/jsdocs/stack_contentType_entry_index.js.html +++ b/jsdocs/stack_contentType_entry_index.js.html @@ -38,7 +38,7 @@
@@ -351,7 +351,7 @@

stack/contentType/entry/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_index.js.html b/jsdocs/stack_contentType_index.js.html index c4070e30..c95c1910 100644 --- a/jsdocs/stack_contentType_index.js.html +++ b/jsdocs/stack_contentType_index.js.html @@ -38,7 +38,7 @@
@@ -273,7 +273,7 @@

stack/contentType/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_deliveryToken_index.js.html b/jsdocs/stack_deliveryToken_index.js.html index 6d0607c6..41aba89e 100644 --- a/jsdocs/stack_deliveryToken_index.js.html +++ b/jsdocs/stack_deliveryToken_index.js.html @@ -38,7 +38,7 @@
@@ -178,7 +178,7 @@

stack/deliveryToken/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_environment_index.js.html b/jsdocs/stack_environment_index.js.html index 170881a4..b52db95d 100644 --- a/jsdocs/stack_environment_index.js.html +++ b/jsdocs/stack_environment_index.js.html @@ -38,7 +38,7 @@
@@ -183,7 +183,7 @@

stack/environment/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_extension_index.js.html b/jsdocs/stack_extension_index.js.html index 2efa0f91..242e5afb 100644 --- a/jsdocs/stack_extension_index.js.html +++ b/jsdocs/stack_extension_index.js.html @@ -38,7 +38,7 @@
@@ -255,7 +255,7 @@

stack/extension/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_globalField_index.js.html b/jsdocs/stack_globalField_index.js.html index 34dd666a..57778e23 100644 --- a/jsdocs/stack_globalField_index.js.html +++ b/jsdocs/stack_globalField_index.js.html @@ -38,7 +38,7 @@
@@ -223,7 +223,7 @@

stack/globalField/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_index.js.html b/jsdocs/stack_index.js.html index ee99dd6d..6c6a8e8c 100644 --- a/jsdocs/stack_index.js.html +++ b/jsdocs/stack_index.js.html @@ -38,7 +38,7 @@
@@ -70,6 +70,8 @@

stack/index.js

import { Release } from './release' import { BulkOperation } from './bulkOperation' import { Label } from './label' +import { Branch } from './branch' +import { BranchAlias } from './branchAlias' // import { format } from 'util' /** * A stack is a space that stores the content of a project (a web or mobile property). Within a stack, you can create content structures, content entries, users, etc. related to the project. Read more about <a href='https://www.contentstack.com/docs/guide/stack'>Stacks</a>. @@ -86,10 +88,11 @@

stack/index.js

} if (data && data.stack && data.stack.api_key) { this.stackHeaders = { api_key: this.api_key } - if (this.management_token && this.management_token) { + if (this.management_token && this.management_token !== undefined) { this.stackHeaders.authorization = this.management_token delete this.management_token } + /** * @description The Update stack call lets you update the name and description of an existing stack. * @memberof Stack @@ -233,6 +236,55 @@

stack/index.js

} return new Environment(http, data) } + + /** + * @description + * @param {String} + * @returns {Branch} + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branch().create() + * .then((branch) => console.log(branch)) + * + * client.stack({ api_key: 'api_key' }).branch('branch_uid').fetch() + * .then((branch) => console.log(branch)) + * + */ + this.branch = (branchUid = null) => { + const data = { stackHeaders: this.stackHeaders } + if (branchUid) { + data.branch = { uid: branchUid } + } + return new Branch(http, data) + } + + /** + * @description + * @param {String} + * @returns {BranchAlias} + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias().create() + * .then((branch) => console.log(branch)) + * + * client.stack({ api_key: 'api_key' }).branchAlias('branch_alias_uid').fetch() + * .then((branch) => console.log(branch)) + * + */ + this.branchAlias = (branchUid = null) => { + const data = { stackHeaders: this.stackHeaders } + if (branchUid) { + data.branch_alias = { uid: branchUid } + } + return new BranchAlias(http, data) + } + /** * @description Delivery Tokens provide read-only access to the associated environments. * @param {String} deliveryTokenUid The UID of the Delivery Token field you want to get details. @@ -708,7 +760,7 @@

stack/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_label_index.js.html b/jsdocs/stack_label_index.js.html index ce36a089..80437bc2 100644 --- a/jsdocs/stack_label_index.js.html +++ b/jsdocs/stack_label_index.js.html @@ -38,7 +38,7 @@
@@ -178,7 +178,7 @@

stack/label/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_locale_index.js.html b/jsdocs/stack_locale_index.js.html index 3301c8f3..3b5eb914 100644 --- a/jsdocs/stack_locale_index.js.html +++ b/jsdocs/stack_locale_index.js.html @@ -38,7 +38,7 @@
@@ -173,7 +173,7 @@

stack/locale/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_release_index.js.html b/jsdocs/stack_release_index.js.html index 2f308371..8fb929c6 100644 --- a/jsdocs/stack_release_index.js.html +++ b/jsdocs/stack_release_index.js.html @@ -38,7 +38,7 @@
@@ -313,7 +313,7 @@

stack/release/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_roles_index.js.html b/jsdocs/stack_roles_index.js.html index c62af970..cd0c211d 100644 --- a/jsdocs/stack_roles_index.js.html +++ b/jsdocs/stack_roles_index.js.html @@ -38,7 +38,7 @@
@@ -231,7 +231,7 @@

stack/roles/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_webhook_index.js.html b/jsdocs/stack_webhook_index.js.html index 145f60c4..b87d7672 100644 --- a/jsdocs/stack_webhook_index.js.html +++ b/jsdocs/stack_webhook_index.js.html @@ -38,7 +38,7 @@
@@ -306,7 +306,7 @@

stack/webhook/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_index.js.html b/jsdocs/stack_workflow_index.js.html index 666ef4cf..eff2305c 100644 --- a/jsdocs/stack_workflow_index.js.html +++ b/jsdocs/stack_workflow_index.js.html @@ -38,7 +38,7 @@
@@ -205,7 +205,7 @@

stack/workflow/index.js

* client.stack({ api_key: 'api_key'}).workflow('workflow_uid').contentType('contentType_uid').getPublishRules() * .then((collection) => console.log(collection)) */ - async function getPublishRules (params) { + const getPublishRules = async function (params) { const headers = {} if (this.stackHeaders) { headers.headers = this.stackHeaders @@ -233,113 +233,113 @@

stack/workflow/index.js

} } /** - * @description The Create a Workflow request allows you to create a Workflow. - * @memberof Workflow - * @func create - * @returns {Promise<Workflow.Workflow>} Promise for Workflow instance - * - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * const workflow = { - * "workflow_stages": [ - * { - * "color": "#2196f3", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "next_available_stages": [ - * "$all" - * ], - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) - * "name": "Review" - * }, - * { - * "color": "#74ba76", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "next_available_stages": [ - * "$all" - * ], - * "entry_lock": "$none", - * "name": "Complete" - * } - * ], - * "admin_users": { - * "users": [] - * }, - * "name": "Workflow Name", - * "enabled": true, - * "content_types": [ - * "$all" - * ] - * } - * client.stack().workflow().create({ workflow }) - * .then((workflow) => console.log(workflow)) - */ + * @description The Create a Workflow request allows you to create a Workflow. + * @memberof Workflow + * @func create + * @returns {Promise<Workflow.Workflow>} Promise for Workflow instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * const workflow = { + *"workflow_stages": [ + * { + * "color": "#2196f3", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "next_available_stages": [ + * "$all" + * ], + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) + * "name": "Review" + * }, + * { + * "color": "#74ba76", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "next_available_stages": [ + * "$all" + * ], + * "entry_lock": "$none", + * "name": "Complete" + * } + * ], + * "admin_users": { + * "users": [] + * }, + * "name": "Workflow Name", + * "enabled": true, + * "content_types": [ + * "$all" + * ] + * } + * client.stack().workflow().create({ workflow }) + * .then((workflow) => console.log(workflow)) + */ this.create = create({ http: http }) /** - * @description The Get all Workflows request retrieves the details of all the Workflows of a stack. - * @memberof Workflow - * @func fetchAll - * @param {Int} limit The limit parameter will return a specific number of Workflows in the output. - * @param {Int} skip The skip parameter will skip a specific number of Workflows in the output. - * @param {Boolean}include_count To retrieve the count of Workflows. - * @returns {ContentstackCollection} Result collection of content of specified module. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).workflow().fetchAll() - * .then((collection) => console.log(collection)) - * - */ + * @description The Get all Workflows request retrieves the details of all the Workflows of a stack. + * @memberof Workflow + * @func fetchAll + * @param {Int} limit The limit parameter will return a specific number of Workflows in the output. + * @param {Int} skip The skip parameter will skip a specific number of Workflows in the output. + * @param {Boolean}include_count To retrieve the count of Workflows. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).workflow().fetchAll() + * .then((collection) => console.log(collection)) + * + */ this.fetchAll = fetchAll(http, WorkflowCollection) /** - * @description The Publish rule allow you to create, fetch, delete, update the publish rules. - * @memberof Workflow - * @func publishRule - * @param {Int} ruleUid The UID of the Publish rules you want to get details. - * @returns {PublishRules} Instace of PublishRules. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).workflow().publishRule().fetchAll() - * .then((collection) => console.log(collection)) - * - * client.stack({ api_key: 'api_key'}).workflow().publishRule('rule_uid').fetch() - * .then((publishrule) => console.log(publishrule)) - * - */ + * @description The Publish rule allow you to create, fetch, delete, update the publish rules. + * @memberof Workflow + * @func publishRule + * @param {Int} ruleUid The UID of the Publish rules you want to get details. + * @returns {PublishRules} Instace of PublishRules. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).workflow().publishRule().fetchAll() + * .then((collection) => console.log(collection)) + * + * client.stack({ api_key: 'api_key'}).workflow().publishRule('rule_uid').fetch() + * .then((publishrule) => console.log(publishrule)) + * + */ this.publishRule = (ruleUid = null) => { const publishInfo = { stackHeaders: this.stackHeaders } if (ruleUid) { @@ -371,7 +371,7 @@

stack/workflow/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_publishRules_index.js.html b/jsdocs/stack_workflow_publishRules_index.js.html index 148e07fd..b0ff2a18 100644 --- a/jsdocs/stack_workflow_publishRules_index.js.html +++ b/jsdocs/stack_workflow_publishRules_index.js.html @@ -38,7 +38,7 @@
@@ -61,8 +61,6 @@

stack/workflow/publishRules/index.js

fetch, fetchAll } from '../../../entity' -import error from '../../../core/contentstackError' -import ContentstackCollection from '../../../contentstackCollection' /** * PublishRules is a tool that allows you to streamline the process of content creation and publishing, and lets you manage the content lifecycle of your project smoothly. Read more about <a href='https://www.contentstack.com/docs/developers/set-up-publish ruless-and-publish-rules'>PublishRuless and Publish Rules</a>. @@ -127,59 +125,58 @@

stack/workflow/publishRules/index.js

this.fetch = fetch(http, 'publishing_rule') } else { /** - * @description The Create Publish Rules request allows you to create publish rules for the publish rules of a stack. - * @memberof PublishRules - * @func create - * @returns {Promise<PublishRules.PublishRules>} Promise for PublishRules instance - * - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * const publishing_rule = { - * "publish rules": "publish rules_uid", - * "actions": [], - * "content_types": ["$all"], - * "locales": ["en-us"], - * "environment": "environment_uid", - * "approvers": { - * "users": ["user_uid"], - * "roles": ["role_uid"] - * }, - * "publish rules_stage": "publish rules_stage_uid", - * "disable_approver_publishing": false - * } - * client.stack().publishRules().create({ publishing_rule }) - * .then((publishRules) => console.log(publishRules)) - */ + * @description The Create Publish Rules request allows you to create publish rules for the publish rules of a stack. + * @memberof PublishRules + * @func create + * @returns {Promise<PublishRules.PublishRules>} Promise for PublishRules instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * const publishing_rule = { + * "publish rules": "publish rules_uid", + * "actions": [], + * "content_types": ["$all"], + * "locales": ["en-us"], + * "environment": "environment_uid", + * "approvers": { + * "users": ["user_uid"], + * "roles": ["role_uid"] + * }, + * "publish rules_stage": "publish rules_stage_uid", + * "disable_approver_publishing": false + * } + * client.stack().publishRules().create({ publishing_rule }) + * .then((publishRules) => console.log(publishRules)) + */ this.create = create({ http: http }) /** - * @description The Get all Publish Rules request retrieves the details of all the Publish rules of a workflow. - * @memberof Publish Rules - * @func fetchAll - * @param {String} content_types Enter a comma-separated list of content type UIDs for filtering publish rules on its basis. - * @param {Int} limit The limit parameter will return a specific number of Publish Ruless in the output. - * @param {Int} skip The skip parameter will skip a specific number of Publish Ruless in the output. - * @param {Boolean}include_count To retrieve the count of Publish Ruless. - * @returns {ContentstackCollection} Result collection of content of specified module. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).publishRules().fetchAll({ content_types: 'content_type_uid1,content_type_uid2' }) - * .then((collection) => console.log(collection)) - * - */ + * @description The Get all Publish Rules request retrieves the details of all the Publish rules of a workflow. + * @memberof Publish Rules + * @func fetchAll + * @param {String} content_types Enter a comma-separated list of content type UIDs for filtering publish rules on its basis. + * @param {Int} limit The limit parameter will return a specific number of Publish Rules in the output. + * @param {Int} skip The skip parameter will skip a specific number of Publish Rules in the output. + * @param {Boolean}include_count To retrieve the count of Publish Rules. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).publishRules().fetchAll({ content_types: 'content_type_uid1,content_type_uid2' }) + * .then((collection) => console.log(collection)) + * + */ this.fetchAll = fetchAll(http, PublishRulesCollection) } } export function PublishRulesCollection (http, data) { const obj = cloneDeep(data.publishing_rules) || [] - const publishRulesollection = obj.map((userdata) => { + return obj.map((userdata) => { return new PublishRules(http, { publishing_rule: userdata, stackHeaders: data.stackHeaders }) }) - return publishRulesollection } @@ -195,7 +192,7 @@

stack/workflow/publishRules/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/user_index.js.html b/jsdocs/user_index.js.html index d4321ddf..4b3f7b88 100644 --- a/jsdocs/user_index.js.html +++ b/jsdocs/user_index.js.html @@ -38,7 +38,7 @@
@@ -185,7 +185,7 @@

user/index.js

const headers = {} if (params) { headers.params = { - ...cloneDeep(params) + ...cloneDeep(params) } } try { @@ -225,7 +225,7 @@

user/index.js


- Documentation generated by JSDoc 3.6.5 on Mon May 17 2021 11:47:21 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/lib/stack/branch/index.js b/lib/stack/branch/index.js index 3507cfa1..f575010a 100644 --- a/lib/stack/branch/index.js +++ b/lib/stack/branch/index.js @@ -25,7 +25,7 @@ export function Branch (http, data = {}) { * import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key'}).branch('branch_name').delete() + * client.stack({ api_key: 'api_key'}).branch('branch_uid').delete() * .then((response) => console.log(response.notice)) */ this.delete = deleteEntity(http) @@ -39,7 +39,7 @@ export function Branch (http, data = {}) { * import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key'}).branch('branch_name').fetch() + * client.stack({ api_key: 'api_key'}).branch('branch_uid').fetch() * .then((branch) => console.log(branch)) * */ diff --git a/lib/stack/branchAlias/index.js b/lib/stack/branchAlias/index.js index 7915278a..54923eed 100644 --- a/lib/stack/branchAlias/index.js +++ b/lib/stack/branchAlias/index.js @@ -1,7 +1,7 @@ import cloneDeep from 'lodash/cloneDeep' import error from '../../core/contentstackError' -import { deleteEntity, parseData } from '../../entity' -import { Branch } from '../branch' +import { deleteEntity, fetchAll, parseData } from '../../entity' +import { Branch, BranchCollection } from '../branch' /** * @@ -18,7 +18,7 @@ export function BranchAlias (http, data = {}) { * @description The Update BranchAlias call lets you update the name of an existing BranchAlias. * @memberof BranchAlias * @func update - * @returns {Promise} Promise for BranchAlias instance + * @returns {Promise} Promise for Branch instance * @example * import * as contentstack from '@contentstack/management' * const client = contentstack.client() @@ -59,11 +59,12 @@ export function BranchAlias (http, data = {}) { * .then((response) => console.log(response.notice)) */ this.delete = deleteEntity(http, true) + /** * @description The fetch BranchAlias call fetches BranchAlias details. * @memberof BranchAlias * @func fetch - * @returns {Promise} Promise for BranchAlias instance + * @returns {Promise} Promise for Branch instance * @example * import * as contentstack from '@contentstack/management' * const client = contentstack.client() @@ -87,13 +88,24 @@ export function BranchAlias (http, data = {}) { throw error(err) } } + } else { + /** + * @description The Get all BranchAlias request retrieves the details of all the Branch of a stack. + * @memberof BranchAlias + * @func fetchAll + * @param {Int} limit The limit parameter will return a specific number of Branch in the output. + * @param {Int} skip The skip parameter will skip a specific number of Branch in the output. + * @param {Boolean}include_count To retrieve the count of Branch. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias().fetchAll() + * .then((collection) => console.log(collection)) + * + */ + this.fetchAll = fetchAll(http, BranchCollection) } return this } - -export function BranchAliasCollection (http, data) { - const obj = cloneDeep(data.branch_aliases) || [] - return obj.map((branchAlias) => { - return new BranchAlias(http, { branch_alias: branchAlias, stackHeaders: data.stackHeaders }) - }) -} diff --git a/lib/stack/index.js b/lib/stack/index.js index 6a570a36..4c2caa38 100644 --- a/lib/stack/index.js +++ b/lib/stack/index.js @@ -194,7 +194,7 @@ export function Stack (http, data) { * client.stack({ api_key: 'api_key'}).branch().create() * .then((branch) => console.log(branch)) * - * client.stack({ api_key: 'api_key' }).branch('branch').fetch() + * client.stack({ api_key: 'api_key' }).branch('branch_uid').fetch() * .then((branch) => console.log(branch)) * */ @@ -218,7 +218,7 @@ export function Stack (http, data) { * client.stack({ api_key: 'api_key'}).branchAlias().create() * .then((branch) => console.log(branch)) * - * client.stack({ api_key: 'api_key' }).branchAlias('branch_uid').fetch() + * client.stack({ api_key: 'api_key' }).branchAlias('branch_alias_uid').fetch() * .then((branch) => console.log(branch)) * */ diff --git a/lib/stack/workflow/index.js b/lib/stack/workflow/index.js index 0b3a1f3a..d1b88608 100644 --- a/lib/stack/workflow/index.js +++ b/lib/stack/workflow/index.js @@ -178,113 +178,113 @@ export function Workflow (http, data = {}) { } } /** - * @description The Create a Workflow request allows you to create a Workflow. - * @memberof Workflow - * @func create - * @returns {Promise} Promise for Workflow instance - * - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * const workflow = { - *"workflow_stages": [ - * { - * "color": "#2196f3", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "next_available_stages": [ - * "$all" - * ], - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) - * "name": "Review" - * }, - * { - * "color": "#74ba76", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "next_available_stages": [ - * "$all" - * ], - * "entry_lock": "$none", - * "name": "Complete" - * } - * ], - * "admin_users": { - * "users": [] - * }, - * "name": "Workflow Name", - * "enabled": true, - * "content_types": [ - * "$all" - * ] - * } - * client.stack().workflow().create({ workflow }) - * .then((workflow) => console.log(workflow)) - */ + * @description The Create a Workflow request allows you to create a Workflow. + * @memberof Workflow + * @func create + * @returns {Promise} Promise for Workflow instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * const workflow = { + *"workflow_stages": [ + * { + * "color": "#2196f3", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "next_available_stages": [ + * "$all" + * ], + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) + * "name": "Review" + * }, + * { + * "color": "#74ba76", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "next_available_stages": [ + * "$all" + * ], + * "entry_lock": "$none", + * "name": "Complete" + * } + * ], + * "admin_users": { + * "users": [] + * }, + * "name": "Workflow Name", + * "enabled": true, + * "content_types": [ + * "$all" + * ] + * } + * client.stack().workflow().create({ workflow }) + * .then((workflow) => console.log(workflow)) + */ this.create = create({ http: http }) /** - * @description The Get all Workflows request retrieves the details of all the Workflows of a stack. - * @memberof Workflow - * @func fetchAll - * @param {Int} limit The limit parameter will return a specific number of Workflows in the output. - * @param {Int} skip The skip parameter will skip a specific number of Workflows in the output. - * @param {Boolean}include_count To retrieve the count of Workflows. - * @returns {ContentstackCollection} Result collection of content of specified module. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).workflow().fetchAll() - * .then((collection) => console.log(collection)) - * - */ + * @description The Get all Workflows request retrieves the details of all the Workflows of a stack. + * @memberof Workflow + * @func fetchAll + * @param {Int} limit The limit parameter will return a specific number of Workflows in the output. + * @param {Int} skip The skip parameter will skip a specific number of Workflows in the output. + * @param {Boolean}include_count To retrieve the count of Workflows. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).workflow().fetchAll() + * .then((collection) => console.log(collection)) + * + */ this.fetchAll = fetchAll(http, WorkflowCollection) /** - * @description The Publish rule allow you to create, fetch, delete, update the publish rules. - * @memberof Workflow - * @func publishRule - * @param {Int} ruleUid The UID of the Publish rules you want to get details. - * @returns {PublishRules} Instace of PublishRules. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).workflow().publishRule().fetchAll() - * .then((collection) => console.log(collection)) - * - * client.stack({ api_key: 'api_key'}).workflow().publishRule('rule_uid').fetch() - * .then((publishrule) => console.log(publishrule)) - * - */ + * @description The Publish rule allow you to create, fetch, delete, update the publish rules. + * @memberof Workflow + * @func publishRule + * @param {Int} ruleUid The UID of the Publish rules you want to get details. + * @returns {PublishRules} Instace of PublishRules. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).workflow().publishRule().fetchAll() + * .then((collection) => console.log(collection)) + * + * client.stack({ api_key: 'api_key'}).workflow().publishRule('rule_uid').fetch() + * .then((publishrule) => console.log(publishrule)) + * + */ this.publishRule = (ruleUid = null) => { const publishInfo = { stackHeaders: this.stackHeaders } if (ruleUid) { diff --git a/test/api/branchAlias-test.js b/test/api/branchAlias-test.js index df5dc7e5..4153fa90 100644 --- a/test/api/branchAlias-test.js +++ b/test/api/branchAlias-test.js @@ -14,21 +14,19 @@ describe('Branch api Test', () => { client = contentstackClient(user.authtoken) }) - // it('Branch query should return master branch', done => { - // makeBranchAlias() - // .query({ query: { uid: 'development' } }) - // .find() - // .then((response) => { - // console.log(response) - // // expect(response.items.length).to.be.equal(1) - // // var item = response.items[0] - // // expect(item.urlPath).to.be.equal(`/stacks/branch_aliases/${item.uid}`) - // // expect(item.delete).to.not.equal(undefined) - // // expect(item.fetch).to.not.equal(undefined) - // done() - // }) - // .catch(done) - // }) + it('Branch query should return master branch', done => { + makeBranchAlias() + .fetchAll({ query: { uid: 'master' } }) + .then((response) => { + expect(response.items.length).to.be.equal(1) + var item = response.items[0] + expect(item.urlPath).to.be.equal(`/stacks/branches/master`) + expect(item.delete).to.not.equal(undefined) + expect(item.fetch).to.not.equal(undefined) + done() + }) + .catch(done) + }) it('Should create Branch Alias', done => { makeBranchAlias(`${branch.uid}_alias`) @@ -38,6 +36,7 @@ describe('Branch api Test', () => { expect(response.urlPath).to.be.equal(`/stacks/branches/${branch.uid}`) expect(response.source).to.be.equal(branch.source) expect(response.alias.length).to.be.equal(1) + expect(response.alias[0].uid).to.be.equal(`${branch.uid}_alias`) expect(response.delete).to.not.equal(undefined) expect(response.fetch).to.not.equal(undefined) done() diff --git a/test/unit/branchAlias-test.js b/test/unit/branchAlias-test.js index 1f89a7c5..4fd8bd99 100644 --- a/test/unit/branchAlias-test.js +++ b/test/unit/branchAlias-test.js @@ -28,73 +28,53 @@ describe('Contentstack BranchAlias test', () => { done() }) - it('BranchAlias Collection test with blank data', done => { - const branchAlias = new BranchAliasCollection(Axios, {}) - expect(branchAlias.length).to.be.equal(0) - done() + it('BranchAlias Fetch all without Stack Headers test', done => { + var mock = new MockAdapter(Axios) + mock.onGet('/stacks/branch_aliases').reply(200, { + branch_aliases: [ + branchAliasMock + ] + }) + makeBranchAlias() + .fetchAll() + .then((workflows) => { + checkBranchAlias(workflows.items[0]) + done() + }) + .catch(done) }) - it('BranchAlias Collection test with data', done => { - const branchAlias = new BranchAliasCollection(Axios, { + it('BranchAlias Fetch all with params test', done => { + var mock = new MockAdapter(Axios) + mock.onGet('/stacks/branch_aliases').reply(200, { branch_aliases: [ branchAliasMock ] }) - expect(branchAlias.length).to.be.equal(1) - checkBranchAlias(branchAlias[0]) - done() + makeBranchAlias({ stackHeaders: stackHeadersMock }) + .fetchAll({}) + .then((workflows) => { + checkBranchAlias(workflows.items[0]) + done() + }) + .catch(done) }) - // it('BranchAlias Fetch all without Stack Headers test', done => { - // var mock = new MockAdapter(Axios) - // mock.onGet('/stacks/branch_aliases').reply(200, { - // branch_aliases: [ - // branchAliasMock - // ] - // }) - // makeBranchAlias() - // .query() - // .find() - // .then((workflows) => { - // checkBranchAlias(workflows.items[0]) - // done() - // }) - // .catch(done) - // }) - - // it('BranchAlias Fetch all with params test', done => { - // var mock = new MockAdapter(Axios) - // mock.onGet('/stacks/branch_aliases').reply(200, { - // branch_aliases: [ - // branchAliasMock - // ] - // }) - // makeBranchAlias({ stackHeaders: stackHeadersMock }) - // .query() - // .find({}) - // .then((workflows) => { - // checkBranchAlias(workflows.items[0]) - // done() - // }) - // .catch(done) - // }) - - // it('BranchAlias Fetch all without params test', done => { - // var mock = new MockAdapter(Axios) - // mock.onGet('/stacks/branch_aliases').reply(200, { - // branch_aliases: [ - // branchAliasMock - // ] - // }) - // makeBranchAlias({ stackHeaders: stackHeadersMock }) - // .query() - // .find(null) - // .then((workflows) => { - // checkBranchAlias(workflows.items[0]) - // done() - // }) - // .catch(done) - // }) + it('BranchAlias Fetch all without params test', done => { + var mock = new MockAdapter(Axios) + mock.onGet('/stacks/branch_aliases').reply(200, { + branch_aliases: [ + branchAliasMock + ] + }) + makeBranchAlias({ stackHeaders: stackHeadersMock }) + .fetchAll(null) + .then((workflows) => { + checkBranchAlias(workflows.items[0]) + done() + }) + .catch(done) + }) it('BranchAlias update test', done => { var mock = new MockAdapter(Axios) From cc727750e30afe710810432bc7f3207a56f06445 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Mon, 14 Jun 2021 10:45:32 +0530 Subject: [PATCH 04/16] refactor: :recycle: Chagne test cases --- lib/stack/branch/index.js | 2 +- test/api/branch-test.js | 1 - test/api/branchAlias-test.js | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/stack/branch/index.js b/lib/stack/branch/index.js index f575010a..b9e3dd70 100644 --- a/lib/stack/branch/index.js +++ b/lib/stack/branch/index.js @@ -28,7 +28,7 @@ export function Branch (http, data = {}) { * client.stack({ api_key: 'api_key'}).branch('branch_uid').delete() * .then((response) => console.log(response.notice)) */ - this.delete = deleteEntity(http) + this.delete = deleteEntity(http, true) /** * @description The fetch Branch call fetches Branch details. diff --git a/test/api/branch-test.js b/test/api/branch-test.js index 226879ae..f045adc6 100644 --- a/test/api/branch-test.js +++ b/test/api/branch-test.js @@ -111,7 +111,6 @@ describe('Branch api Test', () => { makeBranch(devBranch.uid) .delete() .then((response) => { - console.log(response) expect(response.notice).to.be.equal('Branch deleted successfully.') done() }) diff --git a/test/api/branchAlias-test.js b/test/api/branchAlias-test.js index 4153fa90..1364cb70 100644 --- a/test/api/branchAlias-test.js +++ b/test/api/branchAlias-test.js @@ -64,8 +64,7 @@ describe('Branch api Test', () => { makeBranchAlias(`${branch.uid}_alias`) .delete() .then((response) => { - expect(response.status).to.be.equal(204) - expect(response.statusText).to.be.equal('No Content') + expect(response.notice).to.be.equal('BranchAlias deleted successfully.') done() }) .catch(done) From 967de56b54d0c7ca2255befbc095e6d7a74c8d3d Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Tue, 27 Jul 2021 15:53:40 +0530 Subject: [PATCH 05/16] :memo: Docs Update --- dist/es-modules/stack/branch/index.js | 6 +- dist/es-modules/stack/branchAlias/index.js | 20 +- dist/es-modules/stack/index.js | 8 +- dist/es-modules/stack/workflow/index.js | 202 ++--- dist/es5/stack/branch/index.js | 6 +- dist/es5/stack/branchAlias/index.js | 20 +- dist/es5/stack/index.js | 8 +- dist/es5/stack/workflow/index.js | 202 ++--- dist/nativescript/contentstack-management.js | 2 +- dist/node/contentstack-management.js | 2 +- dist/react-native/contentstack-management.js | 2 +- dist/web/contentstack-management.js | 2 +- jsdocs/Asset.html | 4 +- jsdocs/Branch.html | 643 +++++++++++++++ jsdocs/BranchAlias.html | 739 ++++++++++++++++++ jsdocs/BulkOperation.html | 4 +- jsdocs/ContentType.html | 4 +- jsdocs/Contentstack.html | 4 +- jsdocs/ContentstackClient.html | 4 +- jsdocs/DeliveryToken.html | 4 +- jsdocs/Entry.html | 4 +- jsdocs/Environment.html | 4 +- jsdocs/Extension.html | 4 +- jsdocs/Folder.html | 4 +- jsdocs/GlobalField.html | 4 +- jsdocs/Label.html | 4 +- jsdocs/Locale.html | 4 +- jsdocs/Organization.html | 4 +- jsdocs/PublishRules.html | 4 +- jsdocs/Release.html | 4 +- jsdocs/Role.html | 4 +- jsdocs/Stack.html | 20 +- jsdocs/User.html | 4 +- jsdocs/Webhook.html | 4 +- jsdocs/Workflow.html | 4 +- jsdocs/contentstack.js.html | 4 +- jsdocs/contentstackClient.js.html | 4 +- jsdocs/index.html | 4 +- jsdocs/organization_index.js.html | 4 +- jsdocs/query_index.js.html | 4 +- jsdocs/stack_asset_folders_index.js.html | 4 +- jsdocs/stack_asset_index.js.html | 4 +- jsdocs/stack_branchAlias_index.js.html | 191 +++++ jsdocs/stack_branch_index.js.html | 170 ++++ jsdocs/stack_bulkOperation_index.js.html | 4 +- jsdocs/stack_contentType_entry_index.js.html | 4 +- jsdocs/stack_contentType_index.js.html | 4 +- jsdocs/stack_deliveryToken_index.js.html | 4 +- jsdocs/stack_environment_index.js.html | 4 +- jsdocs/stack_extension_index.js.html | 4 +- jsdocs/stack_globalField_index.js.html | 4 +- jsdocs/stack_index.js.html | 8 +- jsdocs/stack_label_index.js.html | 4 +- jsdocs/stack_locale_index.js.html | 4 +- jsdocs/stack_release_index.js.html | 4 +- jsdocs/stack_roles_index.js.html | 4 +- jsdocs/stack_webhook_index.js.html | 4 +- jsdocs/stack_workflow_index.js.html | 4 +- .../stack_workflow_publishRules_index.js.html | 4 +- jsdocs/user_index.js.html | 4 +- lib/stack/index.js | 4 +- 61 files changed, 2103 insertions(+), 320 deletions(-) create mode 100644 jsdocs/Branch.html create mode 100644 jsdocs/BranchAlias.html create mode 100644 jsdocs/stack_branchAlias_index.js.html create mode 100644 jsdocs/stack_branch_index.js.html diff --git a/dist/es-modules/stack/branch/index.js b/dist/es-modules/stack/branch/index.js index 5319822d..ad3346f4 100644 --- a/dist/es-modules/stack/branch/index.js +++ b/dist/es-modules/stack/branch/index.js @@ -24,11 +24,11 @@ export function Branch(http) { * import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key'}).branch('branch_name').delete() + * client.stack({ api_key: 'api_key'}).branch('branch_uid').delete() * .then((response) => console.log(response.notice)) */ - this["delete"] = deleteEntity(http); + this["delete"] = deleteEntity(http, true); /** * @description The fetch Branch call fetches Branch details. * @memberof Branch @@ -38,7 +38,7 @@ export function Branch(http) { * import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key'}).branch('branch_name').fetch() + * client.stack({ api_key: 'api_key'}).branch('branch_uid').fetch() * .then((branch) => console.log(branch)) * */ diff --git a/dist/es-modules/stack/branchAlias/index.js b/dist/es-modules/stack/branchAlias/index.js index b13acc44..f32a0dd0 100644 --- a/dist/es-modules/stack/branchAlias/index.js +++ b/dist/es-modules/stack/branchAlias/index.js @@ -29,7 +29,7 @@ export function BranchAlias(http) { * @description The Update BranchAlias call lets you update the name of an existing BranchAlias. * @memberof BranchAlias * @func update - * @returns {Promise} Promise for BranchAlias instance + * @returns {Promise} Promise for Branch instance * @example * import * as contentstack from '@contentstack/management' * const client = contentstack.client() @@ -113,7 +113,7 @@ export function BranchAlias(http) { * @description The fetch BranchAlias call fetches BranchAlias details. * @memberof BranchAlias * @func fetch - * @returns {Promise} Promise for BranchAlias instance + * @returns {Promise} Promise for Branch instance * @example * import * as contentstack from '@contentstack/management' * const client = contentstack.client() @@ -170,6 +170,22 @@ export function BranchAlias(http) { }, _callee2, this, [[1, 13]]); })); } else { + /** + * @description The Get all BranchAlias request retrieves the details of all the Branch of a stack. + * @memberof BranchAlias + * @func fetchAll + * @param {Int} limit The limit parameter will return a specific number of Branch in the output. + * @param {Int} skip The skip parameter will skip a specific number of Branch in the output. + * @param {Boolean}include_count To retrieve the count of Branch. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias().fetchAll() + * .then((collection) => console.log(collection)) + * + */ this.fetchAll = fetchAll(http, BranchCollection); } diff --git a/dist/es-modules/stack/index.js b/dist/es-modules/stack/index.js index fceabbb2..ae4c7ed4 100644 --- a/dist/es-modules/stack/index.js +++ b/dist/es-modules/stack/index.js @@ -239,7 +239,7 @@ export function Stack(http, data) { return new Environment(http, data); }; /** - * @description + * @description Branch corresponds to Stack branch. * @param {String} * @returns {Branch} * @@ -250,7 +250,7 @@ export function Stack(http, data) { * client.stack({ api_key: 'api_key'}).branch().create() * .then((branch) => console.log(branch)) * - * client.stack({ api_key: 'api_key' }).branch('branch').fetch() + * client.stack({ api_key: 'api_key' }).branch('branch_uid').fetch() * .then((branch) => console.log(branch)) * */ @@ -271,7 +271,7 @@ export function Stack(http, data) { return new Branch(http, data); }; /** - * @description + * @description Branch corresponds to Stack branch. * @param {String} * @returns {BranchAlias} * @@ -282,7 +282,7 @@ export function Stack(http, data) { * client.stack({ api_key: 'api_key'}).branchAlias().create() * .then((branch) => console.log(branch)) * - * client.stack({ api_key: 'api_key' }).branchAlias('branch_uid').fetch() + * client.stack({ api_key: 'api_key' }).branchAlias('branch_alias_uid').fetch() * .then((branch) => console.log(branch)) * */ diff --git a/dist/es-modules/stack/workflow/index.js b/dist/es-modules/stack/workflow/index.js index 53dc10b7..ba78cd25 100644 --- a/dist/es-modules/stack/workflow/index.js +++ b/dist/es-modules/stack/workflow/index.js @@ -267,116 +267,116 @@ export function Workflow(http) { } }; /** - * @description The Create a Workflow request allows you to create a Workflow. - * @memberof Workflow - * @func create - * @returns {Promise} Promise for Workflow instance - * - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * const workflow = { - *"workflow_stages": [ - * { - * "color": "#2196f3", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "next_available_stages": [ - * "$all" - * ], - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) - * "name": "Review" - * }, - * { - * "color": "#74ba76", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "next_available_stages": [ - * "$all" - * ], - * "entry_lock": "$none", - * "name": "Complete" - * } - * ], - * "admin_users": { - * "users": [] - * }, - * "name": "Workflow Name", - * "enabled": true, - * "content_types": [ - * "$all" - * ] - * } - * client.stack().workflow().create({ workflow }) - * .then((workflow) => console.log(workflow)) - */ + * @description The Create a Workflow request allows you to create a Workflow. + * @memberof Workflow + * @func create + * @returns {Promise} Promise for Workflow instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * const workflow = { + *"workflow_stages": [ + * { + * "color": "#2196f3", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "next_available_stages": [ + * "$all" + * ], + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) + * "name": "Review" + * }, + * { + * "color": "#74ba76", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "next_available_stages": [ + * "$all" + * ], + * "entry_lock": "$none", + * "name": "Complete" + * } + * ], + * "admin_users": { + * "users": [] + * }, + * "name": "Workflow Name", + * "enabled": true, + * "content_types": [ + * "$all" + * ] + * } + * client.stack().workflow().create({ workflow }) + * .then((workflow) => console.log(workflow)) + */ this.create = create({ http: http }); /** - * @description The Get all Workflows request retrieves the details of all the Workflows of a stack. - * @memberof Workflow - * @func fetchAll - * @param {Int} limit The limit parameter will return a specific number of Workflows in the output. - * @param {Int} skip The skip parameter will skip a specific number of Workflows in the output. - * @param {Boolean}include_count To retrieve the count of Workflows. - * @returns {ContentstackCollection} Result collection of content of specified module. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).workflow().fetchAll() - * .then((collection) => console.log(collection)) - * - */ + * @description The Get all Workflows request retrieves the details of all the Workflows of a stack. + * @memberof Workflow + * @func fetchAll + * @param {Int} limit The limit parameter will return a specific number of Workflows in the output. + * @param {Int} skip The skip parameter will skip a specific number of Workflows in the output. + * @param {Boolean}include_count To retrieve the count of Workflows. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).workflow().fetchAll() + * .then((collection) => console.log(collection)) + * + */ this.fetchAll = fetchAll(http, WorkflowCollection); /** - * @description The Publish rule allow you to create, fetch, delete, update the publish rules. - * @memberof Workflow - * @func publishRule - * @param {Int} ruleUid The UID of the Publish rules you want to get details. - * @returns {PublishRules} Instace of PublishRules. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).workflow().publishRule().fetchAll() - * .then((collection) => console.log(collection)) - * - * client.stack({ api_key: 'api_key'}).workflow().publishRule('rule_uid').fetch() - * .then((publishrule) => console.log(publishrule)) - * - */ + * @description The Publish rule allow you to create, fetch, delete, update the publish rules. + * @memberof Workflow + * @func publishRule + * @param {Int} ruleUid The UID of the Publish rules you want to get details. + * @returns {PublishRules} Instace of PublishRules. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).workflow().publishRule().fetchAll() + * .then((collection) => console.log(collection)) + * + * client.stack({ api_key: 'api_key'}).workflow().publishRule('rule_uid').fetch() + * .then((publishrule) => console.log(publishrule)) + * + */ this.publishRule = function () { var ruleUid = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; diff --git a/dist/es5/stack/branch/index.js b/dist/es5/stack/branch/index.js index ed539cca..3c122a72 100644 --- a/dist/es5/stack/branch/index.js +++ b/dist/es5/stack/branch/index.js @@ -39,11 +39,11 @@ function Branch(http) { * import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key'}).branch('branch_name').delete() + * client.stack({ api_key: 'api_key'}).branch('branch_uid').delete() * .then((response) => console.log(response.notice)) */ - this["delete"] = (0, _entity.deleteEntity)(http); + this["delete"] = (0, _entity.deleteEntity)(http, true); /** * @description The fetch Branch call fetches Branch details. * @memberof Branch @@ -53,7 +53,7 @@ function Branch(http) { * import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key'}).branch('branch_name').fetch() + * client.stack({ api_key: 'api_key'}).branch('branch_uid').fetch() * .then((branch) => console.log(branch)) * */ diff --git a/dist/es5/stack/branchAlias/index.js b/dist/es5/stack/branchAlias/index.js index f6e49bfb..caf344fc 100644 --- a/dist/es5/stack/branchAlias/index.js +++ b/dist/es5/stack/branchAlias/index.js @@ -56,7 +56,7 @@ function BranchAlias(http) { * @description The Update BranchAlias call lets you update the name of an existing BranchAlias. * @memberof BranchAlias * @func update - * @returns {Promise} Promise for BranchAlias instance + * @returns {Promise} Promise for Branch instance * @example * import * as contentstack from '@contentstack/management' * const client = contentstack.client() @@ -140,7 +140,7 @@ function BranchAlias(http) { * @description The fetch BranchAlias call fetches BranchAlias details. * @memberof BranchAlias * @func fetch - * @returns {Promise} Promise for BranchAlias instance + * @returns {Promise} Promise for Branch instance * @example * import * as contentstack from '@contentstack/management' * const client = contentstack.client() @@ -197,6 +197,22 @@ function BranchAlias(http) { }, _callee2, this, [[1, 13]]); })); } else { + /** + * @description The Get all BranchAlias request retrieves the details of all the Branch of a stack. + * @memberof BranchAlias + * @func fetchAll + * @param {Int} limit The limit parameter will return a specific number of Branch in the output. + * @param {Int} skip The skip parameter will skip a specific number of Branch in the output. + * @param {Boolean}include_count To retrieve the count of Branch. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).branchAlias().fetchAll() + * .then((collection) => console.log(collection)) + * + */ this.fetchAll = (0, _entity.fetchAll)(http, _branch.BranchCollection); } diff --git a/dist/es5/stack/index.js b/dist/es5/stack/index.js index 003570b9..b710f217 100644 --- a/dist/es5/stack/index.js +++ b/dist/es5/stack/index.js @@ -283,7 +283,7 @@ function Stack(http, data) { return new _environment.Environment(http, data); }; /** - * @description + * @description Branch corresponds to Stack branch. * @param {String} * @returns {Branch} * @@ -294,7 +294,7 @@ function Stack(http, data) { * client.stack({ api_key: 'api_key'}).branch().create() * .then((branch) => console.log(branch)) * - * client.stack({ api_key: 'api_key' }).branch('branch').fetch() + * client.stack({ api_key: 'api_key' }).branch('branch_uid').fetch() * .then((branch) => console.log(branch)) * */ @@ -315,7 +315,7 @@ function Stack(http, data) { return new _branch.Branch(http, data); }; /** - * @description + * @description Branch corresponds to Stack branch. * @param {String} * @returns {BranchAlias} * @@ -326,7 +326,7 @@ function Stack(http, data) { * client.stack({ api_key: 'api_key'}).branchAlias().create() * .then((branch) => console.log(branch)) * - * client.stack({ api_key: 'api_key' }).branchAlias('branch_uid').fetch() + * client.stack({ api_key: 'api_key' }).branchAlias('branch_alias_uid').fetch() * .then((branch) => console.log(branch)) * */ diff --git a/dist/es5/stack/workflow/index.js b/dist/es5/stack/workflow/index.js index 4eee388a..ad1af4c9 100644 --- a/dist/es5/stack/workflow/index.js +++ b/dist/es5/stack/workflow/index.js @@ -298,116 +298,116 @@ function Workflow(http) { } }; /** - * @description The Create a Workflow request allows you to create a Workflow. - * @memberof Workflow - * @func create - * @returns {Promise} Promise for Workflow instance - * - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * const workflow = { - *"workflow_stages": [ - * { - * "color": "#2196f3", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "next_available_stages": [ - * "$all" - * ], - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) - * "name": "Review" - * }, - * { - * "color": "#74ba76", - * "SYS_ACL": { - * "roles": { - * "uids": [] - * }, - * "users": { - * "uids": [ - * "$all" - * ] - * }, - * "others": {} - * }, - * "allStages": true, - * "allUsers": true, - * "specificStages": false, - * "specificUsers": false, - * "next_available_stages": [ - * "$all" - * ], - * "entry_lock": "$none", - * "name": "Complete" - * } - * ], - * "admin_users": { - * "users": [] - * }, - * "name": "Workflow Name", - * "enabled": true, - * "content_types": [ - * "$all" - * ] - * } - * client.stack().workflow().create({ workflow }) - * .then((workflow) => console.log(workflow)) - */ + * @description The Create a Workflow request allows you to create a Workflow. + * @memberof Workflow + * @func create + * @returns {Promise} Promise for Workflow instance + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * const workflow = { + *"workflow_stages": [ + * { + * "color": "#2196f3", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "next_available_stages": [ + * "$all" + * ], + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "entry_lock": "$none", //assign any one of the assign any one of the ($none/$others/$all) + * "name": "Review" + * }, + * { + * "color": "#74ba76", + * "SYS_ACL": { + * "roles": { + * "uids": [] + * }, + * "users": { + * "uids": [ + * "$all" + * ] + * }, + * "others": {} + * }, + * "allStages": true, + * "allUsers": true, + * "specificStages": false, + * "specificUsers": false, + * "next_available_stages": [ + * "$all" + * ], + * "entry_lock": "$none", + * "name": "Complete" + * } + * ], + * "admin_users": { + * "users": [] + * }, + * "name": "Workflow Name", + * "enabled": true, + * "content_types": [ + * "$all" + * ] + * } + * client.stack().workflow().create({ workflow }) + * .then((workflow) => console.log(workflow)) + */ this.create = (0, _entity.create)({ http: http }); /** - * @description The Get all Workflows request retrieves the details of all the Workflows of a stack. - * @memberof Workflow - * @func fetchAll - * @param {Int} limit The limit parameter will return a specific number of Workflows in the output. - * @param {Int} skip The skip parameter will skip a specific number of Workflows in the output. - * @param {Boolean}include_count To retrieve the count of Workflows. - * @returns {ContentstackCollection} Result collection of content of specified module. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).workflow().fetchAll() - * .then((collection) => console.log(collection)) - * - */ + * @description The Get all Workflows request retrieves the details of all the Workflows of a stack. + * @memberof Workflow + * @func fetchAll + * @param {Int} limit The limit parameter will return a specific number of Workflows in the output. + * @param {Int} skip The skip parameter will skip a specific number of Workflows in the output. + * @param {Boolean}include_count To retrieve the count of Workflows. + * @returns {ContentstackCollection} Result collection of content of specified module. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).workflow().fetchAll() + * .then((collection) => console.log(collection)) + * + */ this.fetchAll = (0, _entity.fetchAll)(http, WorkflowCollection); /** - * @description The Publish rule allow you to create, fetch, delete, update the publish rules. - * @memberof Workflow - * @func publishRule - * @param {Int} ruleUid The UID of the Publish rules you want to get details. - * @returns {PublishRules} Instace of PublishRules. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).workflow().publishRule().fetchAll() - * .then((collection) => console.log(collection)) - * - * client.stack({ api_key: 'api_key'}).workflow().publishRule('rule_uid').fetch() - * .then((publishrule) => console.log(publishrule)) - * - */ + * @description The Publish rule allow you to create, fetch, delete, update the publish rules. + * @memberof Workflow + * @func publishRule + * @param {Int} ruleUid The UID of the Publish rules you want to get details. + * @returns {PublishRules} Instace of PublishRules. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).workflow().publishRule().fetchAll() + * .then((collection) => console.log(collection)) + * + * client.stack({ api_key: 'api_key'}).workflow().publishRule('rule_uid').fetch() + * .then((publishrule) => console.log(publishrule)) + * + */ this.publishRule = function () { var ruleUid = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; diff --git a/dist/nativescript/contentstack-management.js b/dist/nativescript/contentstack-management.js index da0416f2..24ec1180 100644 --- a/dist/nativescript/contentstack-management.js +++ b/dist/nativescript/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},s),a.getHeaders()),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((i=e.config.retryDelayOptions.customBackoff(n,t))&&i<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(i=e.config.retryDelayOptions.base*n);else i=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(s(t,o,i)))}),i)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=ae(ae({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}]); \ No newline at end of file +module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},s),a.getHeaders()),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((i=e.config.retryDelayOptions.customBackoff(n,t))&&i<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(i=e.config.retryDelayOptions.base*n);else i=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(s(t,o,i)))}),i)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=ae(ae({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}]); \ No newline at end of file diff --git a/dist/node/contentstack-management.js b/dist/node/contentstack-management.js index cb854a69..96933e25 100644 --- a/dist/node/contentstack-management.js +++ b/dist/node/contentstack-management.js @@ -10,4 +10,4 @@ module.exports=function(e){var a={};function t(n){if(a[n])return a[n].exports;va * Copyright(c) 2014 Jonathan Ong * MIT Licensed */ -e.exports=t(153)},function(e){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/a2l":{"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/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/cap+xml":{"source":"iana","charset":"UTF-8","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/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},"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/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":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"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/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/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":{"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},"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/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,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"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/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/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"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"},"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.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/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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"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},"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.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.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.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.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.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-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.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.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":["keynote"]},"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.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.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"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"},"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.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.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.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.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.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.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"},"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.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.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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+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.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"},"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.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.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.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.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.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":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"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-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,"extensions":["xer"]},"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":["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"},"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"]},"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/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"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/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"},"image/avcs":{"source":"iana"},"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/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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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.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/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/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.rosette.annotated-data-model":{"source":"iana"},"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/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/flexfec":{"source":"iana"},"text/fwdred":{"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/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"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.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.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":{"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/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"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"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"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/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/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}}')},function(e,a,t){e.exports={parallel:t(155),serial:t(157),serialOrdered:t(61)}},function(e,a,t){var n=t(56),i=t(59),o=t(60);e.exports=function(e,a,t){var r=i(e);for(;r.index<(r.keyedList||e).length;)n(e,a,r,(function(e,a){e?t(e,a):0!==Object.keys(r.jobs).length||t(null,r.results)})),r.index++;return o.bind(r,t)}},function(e,a){function t(e){return(t="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})(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},function(e,a,t){var n=t(61);e.exports=function(e,a,t){return n(e,a,null,t)}},function(e,a){e.exports=function(e,a){return Object.keys(a).forEach((function(t){e[t]=e[t]||a[t]})),e}},function(e,a){e.exports=function(e){if(Array.isArray(e))return e}},function(e,a){e.exports=function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],n=!0,i=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(t.push(r.value),!a||t.length!==a);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return t}}},function(e,a,t){var n=t(162);e.exports=function(e,a){if(e){if("string"==typeof e)return n(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,a):void 0}}},function(e,a){e.exports=function(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t0?g+b:""}},function(e,a,t){"use strict";var n=t(35),i=Object.prototype.hasOwnProperty,o=Array.isArray,r={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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,a){return String.fromCharCode(parseInt(a,10))}))},c=function(e,a){return e&&"string"==typeof e&&a.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,a,t,n){if(e){var o=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=t.depth>0&&/(\[[^[\]]*])/.exec(o),p=s?o.slice(0,s.index):o,u=[];if(p){if(!t.plainObjects&&i.call(Object.prototype,p)&&!t.allowPrototypes)return;u.push(p)}for(var l=0;t.depth>0&&null!==(s=r.exec(o))&&l=0;--o){var r,s=e[o];if("[]"===s&&t.parseArrays)r=[].concat(i);else{r=t.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);t.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&t.parseArrays&&u<=t.arrayLimit?(r=[])[u]=i:r[p]=i:r={0:i}}i=r}return i}(u,a,t,n)}};e.exports=function(e,a){var t=function(e){if(!e)return r;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 a=void 0===e.charset?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(a);if(""===e||null==e)return t.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,a){var t,p={},u=a.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=a.parameterLimit===1/0?void 0:a.parameterLimit,d=u.split(a.delimiter,l),m=-1,f=a.charset;if(a.charsetSentinel)for(t=0;t-1&&(x=o(x)?[x]:x),i.call(p,h)?p[h]=n.combine(p[h],x):p[h]=x}return p}(e,t):e,l=t.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m=0)return;r[a]="set-cookie"===a?(r[a]?r[a]:[]).concat([t]):r[a]?r[a]+", "+t:t}})),r):r}},function(e,a,t){"use strict";var n=t(4);e.exports=n.isStandardBrowserEnv()?function(){var e,a=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");function i(e){var n=e;return a&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{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 e=i(window.location.href),function(a){var t=n.isString(a)?i(a):a;return t.protocol===e.protocol&&t.host===e.host}}():function(){return!0}},function(e,a,t){"use strict";var n=t(4),i=t(66),o=t(68),r=t(36),s=t(32),c=t(33),p=t(69).http,u=t(69).https,l=t(34),d=t(188),m=t(189),f=t(37),h=t(67),x=/https:?/;e.exports=function(e){return new Promise((function(a,t){var v=function(e){a(e)},b=function(e){t(e)},g=e.data,y=e.headers;if(y["User-Agent"]||y["user-agent"]||(y["User-Agent"]="axios/"+m.version),g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return b(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}y["Content-Length"]=g.length}var w=void 0;e.auth&&(w=(e.auth.username||"")+":"+(e.auth.password||""));var k=o(e.baseURL,e.url),j=l.parse(k),_=j.protocol||"http:";if(!w&&j.auth){var O=j.auth.split(":");w=(O[0]||"")+":"+(O[1]||"")}w&&delete y.Authorization;var P=x.test(_),S=P?e.httpsAgent:e.httpAgent,C={path:r(j.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:y,agent:S,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};e.socketPath?C.socketPath=e.socketPath:(C.hostname=j.hostname,C.port=j.port);var E,z=e.proxy;if(!z&&!1!==z){var H=_.slice(0,-1)+"_proxy",A=process.env[H]||process.env[H.toUpperCase()];if(A){var q=l.parse(A),R=process.env.no_proxy||process.env.NO_PROXY,T=!0;if(R)T=!R.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&j.hostname.substr(j.hostname.length-e.length)===e||j.hostname===e))}));if(T&&(z={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var D=q.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(C.headers.host=j.hostname+(j.port?":"+j.port:""),function e(a,t,n){if(a.hostname=t.host,a.host=t.host,a.port=t.port,a.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");a.headers["Proxy-Authorization"]="Basic "+i}a.beforeRedirect=function(a){a.headers.host=a.host,e(a,t,a.href)}}(C,z,_+"//"+j.hostname+(j.port?":"+j.port:"")+C.path));var L=P&&(!z||x.test(z.protocol));e.transport?E=e.transport:0===e.maxRedirects?E=L?c:s:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),E=L?u:p),e.maxBodyLength>-1&&(C.maxBodyLength=e.maxBodyLength);var F=E.request(C,(function(a){if(!F.aborted){var t=a,o=a.req||F;if(204!==a.statusCode&&"HEAD"!==o.method&&!1!==e.decompress)switch(a.headers["content-encoding"]){case"gzip":case"compress":case"deflate":t=t.pipe(d.createUnzip()),delete a.headers["content-encoding"]}var r={status:a.statusCode,statusText:a.statusMessage,headers:a.headers,config:e,request:o};if("stream"===e.responseType)r.data=t,i(v,b,r);else{var s=[];t.on("data",(function(a){s.push(a),e.maxContentLength>-1&&Buffer.concat(s).length>e.maxContentLength&&(t.destroy(),b(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,o)))})),t.on("error",(function(a){F.aborted||b(h(a,e,null,o))})),t.on("end",(function(){var a=Buffer.concat(s);"arraybuffer"!==e.responseType&&(a=a.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(a=n.stripBOM(a))),r.data=a,i(v,b,r)}))}}}));F.on("error",(function(a){F.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==a.code||b(h(a,e,null,F))})),e.timeout&&F.setTimeout(e.timeout,(function(){F.abort(),b(f("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",F))})),e.cancelToken&&e.cancelToken.promise.then((function(e){F.aborted||(F.abort(),b(e))})),n.isStream(g)?g.on("error",(function(a){b(h(a,e,null,F))})).pipe(F):F.end(g)}))}},function(e,a){e.exports=require("assert")},function(e,a,t){var n;try{n=t(181)("follow-redirects")}catch(e){n=function(){}}e.exports=n},function(e,a,t){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=t(182):e.exports=t(184)},function(e,a,t){var n;a.formatArgs=function(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var t="color: "+this.color;a.splice(1,0,t,"color: inherit");var n=0,i=0;a[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(i=n))})),a.splice(i,0,t)},a.save=function(e){try{e?a.storage.setItem("debug",e):a.storage.removeItem("debug")}catch(e){}},a.load=function(){var e;try{e=a.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},a.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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+)/)},a.storage=function(){try{return localStorage}catch(e){}}(),a.destroy=(n=!1,function(){n||(n=!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`."))}),a.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"],a.log=console.debug||console.log||function(){},e.exports=t(70)(a),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,a){function t(e){return(t="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})(e)}var n=1e3,i=6e4,o=60*i,r=24*o;function s(e,a,t,n){var i=a>=1.5*t;return Math.round(e/t)+" "+n+(i?"s":"")}e.exports=function(e,a){a=a||{};var c=t(e);if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var t=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*t;case"weeks":case"week":case"w":return 6048e5*t;case"days":case"day":case"d":return t*r;case"hours":case"hour":case"hrs":case"hr":case"h":return t*o;case"minutes":case"minute":case"mins":case"min":case"m":return t*i;case"seconds":case"second":case"secs":case"sec":case"s":return t*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}(e);if("number"===c&&isFinite(e))return a.long?function(e){var a=Math.abs(e);if(a>=r)return s(e,a,r,"day");if(a>=o)return s(e,a,o,"hour");if(a>=i)return s(e,a,i,"minute");if(a>=n)return s(e,a,n,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=r)return Math.round(e/r)+"d";if(a>=o)return Math.round(e/o)+"h";if(a>=i)return Math.round(e/i)+"m";if(a>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,a,t){var n=t(185),i=t(18);a.init=function(e){e.inspectOpts={};for(var t=Object.keys(a.inspectOpts),n=0;n=2&&(a.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){}a.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,a){var t=a.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,a){return a.toUpperCase()})),n=process.env[a];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[t]=n,e}),{}),e.exports=t(70)(a);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,a){e.exports=require("tty")},function(e,a,t){"use strict";var n,i=t(19),o=t(187),r=process.env;function s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===n)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!e.isTTY&&!0!==n)return 0;var a=n?1:0;if("win32"===process.platform){var t=i.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:a;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,a)}(e))}o("no-color")||o("no-colors")||o("color=false")?n=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(n=!0),"FORCE_COLOR"in r&&(n=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},function(e,a,t){"use strict";e.exports=function(e,a){a=a||process.argv;var t=e.startsWith("-")?"":1===e.length?"-":"--",n=a.indexOf(t+e),i=a.indexOf("--");return-1!==n&&(-1===i||n2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;b()(this,e);var o=a.data||{};n&&(o.stackHeaders=n),this.items=i(t,o),void 0!==o.schema&&(this.schema=o.schema),void 0!==o.content_type&&(this.content_type=o.content_type),void 0!==o.count&&(this.count=o.count),void 0!==o.notice&&(this.notice=o.notice)};function y(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var a=1;a3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0,o={};n&&(o.headers=n);var r=null;t&&(t.content_type_uid&&(r=t.content_type_uid,delete t.content_type_uid),o.params=w({},s()(t)));var c=function(){var t=h()(m.a.mark((function t(){var s;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a,o);case 3:if(!(s=t.sent).data){t.next=9;break}return r&&(s.data.content_type_uid=r),t.abrupt("return",new g(s,e,n,i));case 9:throw x(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(0),x(t.t0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=h()(m.a.mark((function t(){var n;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o.params=w(w({},o.params),{},{count:!0}),t.prev=1,t.next=4,e.get(a,o);case 4:if(!(n=t.sent).data){t.next=9;break}return t.abrupt("return",n.data);case 9:throw x(n);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),x(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}}(),u=function(){var t=h()(m.a.mark((function t(){var s,c;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=o).params.limit=1,t.prev=2,t.next=5,e.get(a,s);case 5:if(!(c=t.sent).data){t.next=11;break}return r&&(c.data.content_type_uid=r),t.abrupt("return",new g(c,e,n,i));case 11:throw x(c);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(2),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[2,14]])})));return function(){return t.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function _(e){for(var a=1;a4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==o&&(n.locale=o),null!==r&&(n.version=r),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,a.post(t,n,i);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(a,t,n,i){return e.apply(this,arguments)}}(),C=function(){var e=h()(m.a.mark((function e(a){var t,n,i,o,r,c,p,u;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.http,n=a.urlPath,i=a.stackHeaders,o=a.formData,r=a.params,c=a.method,p=void 0===c?"POST":c,u={headers:_(_(_({},r),o.getHeaders()),s()(i))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",t.post(n,o,u));case 6:return e.abrupt("return",t.put(n,o,u));case 7:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),E=function(e){var a=e.http,t=e.params;return function(){var e=h()(m.a.mark((function e(n,i){var o,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={headers:_(_({},s()(t)),s()(this.stackHeaders)),params:_({},s()(i))}||{},e.prev=1,e.next=4,a.post(this.urlPath,n,o);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(a,T(r,this.stackHeaders,this.content_type_uid)));case 9:throw x(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(a,t){return e.apply(this,arguments)}}()},z=function(e){var a=e.http,t=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(a,this.urlPath,e,this.stackHeaders,t)}},H=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r,c=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},i={},delete(o=s()(this)).stackHeaders,delete o.urlPath,delete o.uid,delete o.org_uid,delete o.api_key,delete o.created_at,delete o.created_by,delete o.deleted_at,delete o.updated_at,delete o.updated_by,delete o.updated_at,i[a]=o,t.prev=15,t.next=18,e.put(this.urlPath,i,{headers:_({},s()(this.stackHeaders)),params:_({},s()(n))});case 18:if(!(r=t.sent).data){t.next=23;break}return t.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 23:throw x(r);case 24:t.next=29;break;case 26:throw t.prev=26,t.t0=t.catch(15),x(t.t0);case 29:case"end":return t.stop()}}),t,this,[[15,26]])})))},A=function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},!0===a&&(i.params.force=!0),t.next=6,e.delete(this.urlPath,i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:if(!(o.status>=200&&o.status<300)){t.next=15;break}return t.abrupt("return",{status:o.status,statusText:o.statusText});case 15:throw x(o);case 16:t.next=21;break;case 18:throw t.prev=18,t.t0=t.catch(1),x(t.t0);case 21:case"end":return t.stop()}}),t,this,[[1,18]])})))},q=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},t.next=5,e.get(this.urlPath,i);case 5:if(!(o=t.sent).data){t.next=11;break}return"entry"===a&&(o.data[a].content_type=o.data.content_type,o.data[a].schema=o.data.schema),t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders,this.content_type_uid)));case 11:throw x(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(1),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[1,14]])})))},R=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=_({},s()(n))),t.prev=4,t.next=7,e.get(this.urlPath,i);case 7:if(!(o=t.sent).data){t.next=12;break}return t.abrupt("return",new g(o,e,this.stackHeaders,a));case 12:throw x(o);case 13:t.next=18;break;case 15:throw t.prev=15,t.t0=t.catch(4),x(t.t0);case 18:case"end":return t.stop()}}),t,this,[[4,15]])})))};function T(e,a,t){var n=e.data||{};return a&&(n.stackHeaders=a),t&&(n.content_type_uid=t),n}function D(e,a){return this.urlPath="/roles",this.stackHeaders=a.stackHeaders,a.role?(Object.assign(this,s()(a.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(e,"role"),this.delete=A(e),this.fetch=q(e,"role"))):(this.create=E({http:e}),this.fetchAll=R(e,L),this.query=z({http:e,wrapperCollection:L})),this}function L(e,a){return s()(a.roles||[]).map((function(t){return new D(e,{role:t,stackHeaders:a.stackHeaders})}))}function F(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function B(e){for(var a=1;a0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/stacks"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,Qe));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.transferOwnership=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.addUser=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/share"),{share:B({},n)});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.getInvitations=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/share"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.resendInvitation=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.roles=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/roles"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,L));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}())):this.fetchAll=R(e,U)}function U(e,a){return s()(a.organizations||[]).map((function(a){return new N(e,{organization:a})}))}function I(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function M(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/content_types",t.content_type?(Object.assign(this,s()(t.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(e,"content_type"),this.delete=A(e),this.fetch=q(e,"content_type"),this.entry=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return n.content_type_uid=a.uid,t&&(n.entry={uid:t}),new Y(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Z}),this.import=function(){var a=h()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function Z(e,a){return(s()(a.content_types)||[]).map((function(t){return new X(e,{content_type:t,stackHeaders:a.stackHeaders})}))}function ee(e){var a=new K.a,t=Object(W.createReadStream)(e.content_type);return a.append("content_type",t),a}function ae(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/global_fields",a.global_field?(Object.assign(this,s()(a.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(e,"global_field"),this.delete=A(e),this.fetch=q(e,"global_field")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:te}),this.import=function(){var a=h()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function te(e,a){return(s()(a.global_fields)||[]).map((function(t){return new ae(e,{global_field:t,stackHeaders:a.stackHeaders})}))}function ne(e){var a=new K.a,t=Object(W.createReadStream)(e.global_field);return a.append("global_field",t),a}function ie(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/delivery_tokens",a.token?(Object.assign(this,s()(a.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(e,"token"),this.delete=A(e),this.fetch=q(e,"token")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:oe}))}function oe(e,a){return(s()(a.tokens)||[]).map((function(t){return new ie(e,{token:t,stackHeaders:a.stackHeaders})}))}function re(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/environments",a.environment?(Object.assign(this,s()(a.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(e,"environment"),this.delete=A(e),this.fetch=q(e,"environment")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:se}))}function se(e,a){return(s()(a.environments)||[]).map((function(t){return new re(e,{environment:t,stackHeaders:a.stackHeaders})}))}function ce(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a.stackHeaders&&(this.stackHeaders=a.stackHeaders),this.urlPath="/assets/folders",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset")):this.create=E({http:e})}function pe(e){var a=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/assets",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset"),this.replace=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n,method:"PUT"});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.publish=O(e,"asset"),this.unpublish=P(e,"asset")):(this.folder=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new ce(e,n)},this.create=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.query=z({http:e,wrapperCollection:ue})),this}function ue(e,a){return(s()(a.assets)||[]).map((function(t){return new pe(e,{asset:t,stackHeaders:a.stackHeaders})}))}function le(e){var a=new K.a;"string"==typeof e.parent_uid&&a.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&a.append("asset[description]",e.description),e.tags instanceof Array?a.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("asset[tags]",e.tags),"string"==typeof e.title&&a.append("asset[title]",e.title);var t=Object(W.createReadStream)(e.upload);return a.append("asset[upload]",t),a}function de(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/locales",a.locale?(Object.assign(this,s()(a.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(e,"locale"),this.delete=A(e),this.fetch=q(e,"locale")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:me})),this}function me(e,a){return(s()(a.locales)||[]).map((function(t){return new de(e,{locale:t,stackHeaders:a.stackHeaders})}))}var fe=t(75),he=t.n(fe);function xe(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/extensions",a.extension?(Object.assign(this,s()(a.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(e,"extension"),this.delete=A(e),this.fetch=q(e,"extension")):(this.upload=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.create=E({http:e}),this.query=z({http:e,wrapperCollection:ve}))}function ve(e,a){return(s()(a.extensions)||[]).map((function(t){return new xe(e,{extension:t,stackHeaders:a.stackHeaders})}))}function be(e){var a=new K.a;"string"==typeof e.title&&a.append("extension[title]",e.title),"object"===he()(e.scope)&&a.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&a.append("extension[data_type]",e.data_type),"string"==typeof e.type&&a.append("extension[type]",e.type),e.tags instanceof Array?a.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&a.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&a.append("extension[enable]","".concat(e.enable));var t=Object(W.createReadStream)(e.upload);return a.append("extension[upload]",t),a}function ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ye(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/webhooks",t.webhook?(Object.assign(this,s()(t.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(e,"webhook"),this.delete=A(e),this.fetch=q(e,"webhook"),this.executions=function(){var t=h()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),n&&(i.params=ye({},s()(n))),t.prev=3,t.next=6,e.get("".concat(a.urlPath,"/executions"),i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:throw x(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.retry=function(){var t=h()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/retry"),{execution_uid:n},i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(2),x(t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,13]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.fetchAll=R(e,ke)),this.import=function(){var t=h()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C({http:e,urlPath:"".concat(a.urlPath,"/import"),stackHeaders:a.stackHeaders,formData:je(n)});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new a.constructor(e,T(i,a.stackHeaders)));case 8:throw x(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this}function ke(e,a){return(s()(a.webhooks)||[]).map((function(t){return new we(e,{webhook:t,stackHeaders:a.stackHeaders})}))}function je(e){var a=new K.a,t=Object(W.createReadStream)(e.webhook);return a.append("webhook",t),a}function _e(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows/publishing_rules",a.publishing_rule?(Object.assign(this,s()(a.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(e,"publishing_rule"),this.delete=A(e),this.fetch=q(e,"publishing_rule")):(this.create=E({http:e}),this.fetchAll=R(e,Oe))}function Oe(e,a){return(s()(a.publishing_rules)||[]).map((function(t){return new _e(e,{publishing_rule:t,stackHeaders:a.stackHeaders})}))}function Pe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Se(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows",t.workflow?(Object.assign(this,s()(t.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(e,"workflow"),this.disable=h()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Se({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw x(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.enable=h()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Se({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw x(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.delete=A(e),this.fetch=q(e,"workflow")):(this.contentType=function(t){if(t)return{getPublishRules:function(){var a=h()(m.a.mark((function a(n){var i,o;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=Se({},s()(n))),a.prev=3,a.next=6,e.get("/workflows/content_type/".concat(t),i);case 6:if(!(o=a.sent).data){a.next=11;break}return a.abrupt("return",new g(o,e,this.stackHeaders,Oe));case 11:throw x(o);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,this,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),stackHeaders:Se({},a.stackHeaders)}},this.create=E({http:e}),this.fetchAll=R(e,Ee),this.publishRule=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.publishing_rule={uid:t}),new _e(e,n)})}function Ee(e,a){return(s()(a.workflows)||[]).map((function(t){return new Ce(e,{workflow:t,stackHeaders:a.stackHeaders})}))}function ze(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function He(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,t.item&&Object.assign(this,s()(t.item)),t.releaseUid&&(this.urlPath="releases/".concat(t.releaseUid,"/items"),this.delete=function(){var n=h()(m.a.mark((function n(i){var o,r,c;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},void 0===i&&(o={all:!0}),n.prev=2,r={headers:He({},s()(a.stackHeaders)),data:He({},s()(i)),params:He({},s()(o))}||{},n.next=6,e.delete(a.urlPath,r);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new De(e,He(He({},c.data),{},{stackHeaders:t.stackHeaders})));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=h()(m.a.mark((function n(i){var o,r;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={headers:He({},s()(a.stackHeaders))}||{},n.prev=1,n.next=4,e.post(i.item?"releases/".concat(t.releaseUid,"/item"):a.urlPath,i,o);case 4:if(!(r=n.sent).data){n.next=10;break}if(!r.data){n.next=8;break}return n.abrupt("return",new De(e,He(He({},r.data),{},{stackHeaders:t.stackHeaders})));case 8:n.next=11;break;case 10:throw x(r);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:He({},s()(a.stackHeaders)),params:He({},s()(n))}||{},t.next=5,e.get(a.urlPath,i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",new g(o,e,a.stackHeaders,qe));case 10:throw x(o);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,null,[[1,13]])})))),this}function qe(e,a,t){return(s()(a.items)||[]).map((function(n){return new Ae(e,{releaseUid:t,item:n,stackHeaders:a.stackHeaders})}))}function Re(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Te(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/releases",t.release?(Object.assign(this,s()(t.release)),t.release.items&&(this.items=new qe(e,{items:t.release.items,stackHeaders:t.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(e,"release"),this.fetch=q(e,"release"),this.delete=A(e),this.item=function(){return new Ae(e,{releaseUid:a.uid,stackHeaders:a.stackHeaders})},this.deploy=function(){var t=h()(m.a.mark((function t(n){var i,o,r,c,p,u,l;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.environments,o=n.locales,r=n.scheduledAt,c=n.action,p={environments:i,locales:o,scheduledAt:r,action:c},u={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=t.sent).data){t.next=11;break}return t.abrupt("return",l.data);case 11:throw x(l);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.clone=function(){var t=h()(m.a.mark((function t(n){var i,o,r,c,p;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.name,o=n.description,r={name:i,description:o},c={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/clone"),{release:r},c);case 6:if(!(p=t.sent).data){t.next=11;break}return t.abrupt("return",new De(e,p.data));case 11:throw x(p);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Le})),this}function Le(e,a){return(s()(a.releases)||[]).map((function(t){return new De(e,{release:t,stackHeaders:a.stackHeaders})}))}function Fe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Be(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/bulk",this.publish=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",S(e,"/bulk/publish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.unpublish=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",S(e,"/bulk/unpublish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.delete=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},t.abrupt("return",S(e,"/bulk/delete",i,o));case 5:case"end":return t.stop()}}),t)})))}function Ue(e,a){this.stackHeaders=a.stackHeaders,this.urlPath="/labels",a.label?(Object.assign(this,s()(a.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(e,"label"),this.delete=A(e),this.fetch=q(e,"label")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ie}))}function Ie(e,a){return(s()(a.labels)||[]).map((function(t){return new Ue(e,{label:t,stackHeaders:a.stackHeaders})}))}function Me(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/branches",a.branch=a.branch||a.branch_alias,delete a.branch_alias,a.branch?(Object.assign(this,s()(a.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=A(e),this.fetch=q(e,"branch")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ve})),this}function Ve(e,a){return(s()(a.branches)||a.branch_aliases||[]).map((function(t){return new Me(e,{branch:t,stackHeaders:a.stackHeaders})}))}function Ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function $e(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/branch_aliases",t.branch_alias?(Object.assign(this,s()(t.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var t=h()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.put(a.urlPath,{branch_alias:{target_branch:n}},{headers:$e({},s()(a.stackHeaders))});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new Me(e,T(i,a.stackHeaders)));case 8:throw x(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.delete=A(e,!0),this.fetch=h()(m.a.mark((function a(){var t,n,i=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,t={headers:$e({},s()(this.stackHeaders))}||{},a.next=5,e.get(this.urlPath,t);case 5:if(!(n=a.sent).data){a.next=10;break}return a.abrupt("return",new Me(e,T(n,this.stackHeaders)));case 10:throw x(n);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,this,[[1,13]])})))):this.fetchAll=R(e,Ve),this}function We(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ye(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.content_type={uid:a}),new X(e,n)},this.locale=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.locale={code:a}),new de(e,n)},this.asset=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new pe(e,n)},this.globalField=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.global_field={uid:a}),new ae(e,n)},this.environment=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.environment={name:a}),new re(e,n)},this.branch=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.branch={uid:a}),new Me(e,n)},this.branchAlias=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.branch_alias={uid:a}),new Ke(e,n)},this.deliveryToken=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.token={uid:a}),new ie(e,n)},this.extension=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.extension={uid:a}),new xe(e,n)},this.workflow=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.workflow={uid:a}),new Ce(e,n)},this.webhook=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.webhook={uid:a}),new we(e,n)},this.label=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.label={uid:a}),new Ue(e,n)},this.release=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.release={uid:a}),new De(e,n)},this.bulkOperation=function(){var a={stackHeaders:t.stackHeaders};return new Ne(e,a)},this.users=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t.urlPath,{params:{include_collaborators:!0},headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",G(e,n.data.stack));case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.transferOwnership=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.settings=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/settings"),{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.resetSettings=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.addSettings=h()(m.a.mark((function a(){var n,i,o=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=o.length>0&&void 0!==o[0]?o[0]:{},a.prev=1,a.next=4,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ye({},s()(t.stackHeaders))});case 4:if(!(i=a.sent).data){a.next=9;break}return a.abrupt("return",i.data.stack_settings);case 9:return a.abrupt("return",x(i));case 10:a.next=15;break;case 12:return a.prev=12,a.t0=a.catch(1),a.abrupt("return",x(a.t0));case 15:case"end":return a.stop()}}),a,null,[[1,12]])}))),this.share=h()(m.a.mark((function a(){var n,i,o,r=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:[],i=r.length>1&&void 0!==r[1]?r[1]:{},a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/share"),{emails:n,roles:i},{headers:Ye({},s()(t.stackHeaders))});case 5:if(!(o=a.sent).data){a.next=10;break}return a.abrupt("return",o.data);case 10:return a.abrupt("return",x(o));case 11:a.next=16;break;case 13:return a.prev=13,a.t0=a.catch(2),a.abrupt("return",x(a.t0));case 16:case"end":return a.stop()}}),a,null,[[2,13]])}))),this.unShare=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/unshare"),{email:n},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.role=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.role={uid:a}),new D(e,n)}):(this.create=E({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=z({http:e,wrapperCollection:Qe})),this}function Qe(e,a){var t=a.stacks||[];return s()(t).map((function(a){return new Je(e,{stack:a})}))}function Xe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ze(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/user-session",{user:e},{params:t}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(a.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new V(a,e.data)),e.data}),x)},logout:function(e){return void 0!==e?a.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):a.delete("/user-session").then((function(e){return a.defaults.headers.common&&delete a.defaults.headers.common.authtoken,delete a.defaults.headers.authtoken,delete a.httpClientParams.authtoken,delete a.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a.get("/user",{params:e}).then((function(e){return new V(a,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ze({},s()(e));return new Je(a,{stack:t})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new N(a,null!==e?{organization:{uid:e}}:null)},axiosInstance:a}}var aa=t(76),ta=t.n(aa),na=t(77),ia=t.n(na),oa=t(20),ra=t.n(oa);function sa(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ca(e){for(var a=1;a0?new Promise((function(t){a.unshift({request:e,resolve:t})})):e.retryCount>0?e:new Promise((function(t){a.push({request:e,resolve:t})}))})),this.interceptors.response=t.interceptors.response.use(o,(function(e){var n=e.config.retryCount,i=null;if(!a.config.retryOnError||n>a.config.retryLimit)return Promise.reject(o(e));var s=a.config.retryDelay,c=e.response;if(c){if(429===c.status)return i="Error with status: ".concat(c.status),++n>a.config.retryLimit?Promise.reject(o(e)):(a.running.shift(),function e(t){if(!a.paused)return a.paused=!0,a.running.length>0&&setTimeout((function(){e(t)}),t),new Promise((function(e){return setTimeout((function(){a.paused=!1;for(var e=0;ea.config.retryLimit)return Promise.reject(o(e));if(a.config.retryDelayOptions)if(a.config.retryDelayOptions.customBackoff){if((s=a.config.retryDelayOptions.customBackoff(n,e))&&s<=0)return Promise.reject(o(e))}else a.config.retryDelayOptions.base&&(s=a.config.retryDelayOptions.base*n);else s=a.config.retryDelay;return e.config.retryCount=n,new Promise((function(a){return setTimeout((function(){return a(t(r(e,i,s)))}),s)}))}}else{if("ECONNABORTED"!==e.code)return Promise.reject(o(e));e.response=ca(ca({},e.response),{},{status:408,statusText:"timeout of ".concat(a.config.timeout,"ms exceeded")})}return Promise.reject(o(e))}))}function la(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function da(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a={defaultHostName:"api.contentstack.io"},t="contentstack-management-javascript/".concat(o.version),n=l(t,e.application,e.integration,e.feature),i={"X-User-Agent":t,"User-Agent":n};e.authtoken&&(i.authtoken=e.authtoken),(e=ha(ha({},a),s()(e))).headers=ha(ha({},e.headers),i);var r=ma(e);return ea({http:r})}}]); \ No newline at end of file +e.exports=t(153)},function(e){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/a2l":{"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/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/cap+xml":{"source":"iana","charset":"UTF-8","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/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},"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/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":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"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/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/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":{"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},"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/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,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"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/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/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"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"},"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.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/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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"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},"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.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.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.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.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.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-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.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.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":["keynote"]},"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.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.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"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"},"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.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.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.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.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.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.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"},"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.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.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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+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.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"},"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.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.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.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.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.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":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"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-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,"extensions":["xer"]},"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":["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"},"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"]},"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/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"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/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"},"image/avcs":{"source":"iana"},"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/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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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.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/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/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.rosette.annotated-data-model":{"source":"iana"},"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/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/flexfec":{"source":"iana"},"text/fwdred":{"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/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"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.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.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":{"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/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"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"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"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/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/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}}')},function(e,a,t){e.exports={parallel:t(155),serial:t(157),serialOrdered:t(61)}},function(e,a,t){var n=t(56),i=t(59),o=t(60);e.exports=function(e,a,t){var r=i(e);for(;r.index<(r.keyedList||e).length;)n(e,a,r,(function(e,a){e?t(e,a):0!==Object.keys(r.jobs).length||t(null,r.results)})),r.index++;return o.bind(r,t)}},function(e,a){function t(e){return(t="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})(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},function(e,a,t){var n=t(61);e.exports=function(e,a,t){return n(e,a,null,t)}},function(e,a){e.exports=function(e,a){return Object.keys(a).forEach((function(t){e[t]=e[t]||a[t]})),e}},function(e,a){e.exports=function(e){if(Array.isArray(e))return e}},function(e,a){e.exports=function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],n=!0,i=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(t.push(r.value),!a||t.length!==a);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return t}}},function(e,a,t){var n=t(162);e.exports=function(e,a){if(e){if("string"==typeof e)return n(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,a):void 0}}},function(e,a){e.exports=function(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t0?g+b:""}},function(e,a,t){"use strict";var n=t(35),i=Object.prototype.hasOwnProperty,o=Array.isArray,r={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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,a){return String.fromCharCode(parseInt(a,10))}))},c=function(e,a){return e&&"string"==typeof e&&a.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,a,t,n){if(e){var o=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=t.depth>0&&/(\[[^[\]]*])/.exec(o),p=s?o.slice(0,s.index):o,u=[];if(p){if(!t.plainObjects&&i.call(Object.prototype,p)&&!t.allowPrototypes)return;u.push(p)}for(var l=0;t.depth>0&&null!==(s=r.exec(o))&&l=0;--o){var r,s=e[o];if("[]"===s&&t.parseArrays)r=[].concat(i);else{r=t.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);t.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&t.parseArrays&&u<=t.arrayLimit?(r=[])[u]=i:r[p]=i:r={0:i}}i=r}return i}(u,a,t,n)}};e.exports=function(e,a){var t=function(e){if(!e)return r;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 a=void 0===e.charset?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(a);if(""===e||null==e)return t.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,a){var t,p={},u=a.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=a.parameterLimit===1/0?void 0:a.parameterLimit,d=u.split(a.delimiter,l),m=-1,f=a.charset;if(a.charsetSentinel)for(t=0;t-1&&(x=o(x)?[x]:x),i.call(p,h)?p[h]=n.combine(p[h],x):p[h]=x}return p}(e,t):e,l=t.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m=0)return;r[a]="set-cookie"===a?(r[a]?r[a]:[]).concat([t]):r[a]?r[a]+", "+t:t}})),r):r}},function(e,a,t){"use strict";var n=t(4);e.exports=n.isStandardBrowserEnv()?function(){var e,a=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");function i(e){var n=e;return a&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{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 e=i(window.location.href),function(a){var t=n.isString(a)?i(a):a;return t.protocol===e.protocol&&t.host===e.host}}():function(){return!0}},function(e,a,t){"use strict";var n=t(4),i=t(66),o=t(68),r=t(36),s=t(32),c=t(33),p=t(69).http,u=t(69).https,l=t(34),d=t(188),m=t(189),f=t(37),h=t(67),x=/https:?/;e.exports=function(e){return new Promise((function(a,t){var v=function(e){a(e)},b=function(e){t(e)},g=e.data,y=e.headers;if(y["User-Agent"]||y["user-agent"]||(y["User-Agent"]="axios/"+m.version),g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return b(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}y["Content-Length"]=g.length}var w=void 0;e.auth&&(w=(e.auth.username||"")+":"+(e.auth.password||""));var k=o(e.baseURL,e.url),j=l.parse(k),_=j.protocol||"http:";if(!w&&j.auth){var O=j.auth.split(":");w=(O[0]||"")+":"+(O[1]||"")}w&&delete y.Authorization;var P=x.test(_),S=P?e.httpsAgent:e.httpAgent,C={path:r(j.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:y,agent:S,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};e.socketPath?C.socketPath=e.socketPath:(C.hostname=j.hostname,C.port=j.port);var E,z=e.proxy;if(!z&&!1!==z){var H=_.slice(0,-1)+"_proxy",A=process.env[H]||process.env[H.toUpperCase()];if(A){var q=l.parse(A),R=process.env.no_proxy||process.env.NO_PROXY,T=!0;if(R)T=!R.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&j.hostname.substr(j.hostname.length-e.length)===e||j.hostname===e))}));if(T&&(z={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var D=q.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(C.headers.host=j.hostname+(j.port?":"+j.port:""),function e(a,t,n){if(a.hostname=t.host,a.host=t.host,a.port=t.port,a.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");a.headers["Proxy-Authorization"]="Basic "+i}a.beforeRedirect=function(a){a.headers.host=a.host,e(a,t,a.href)}}(C,z,_+"//"+j.hostname+(j.port?":"+j.port:"")+C.path));var L=P&&(!z||x.test(z.protocol));e.transport?E=e.transport:0===e.maxRedirects?E=L?c:s:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),E=L?u:p),e.maxBodyLength>-1&&(C.maxBodyLength=e.maxBodyLength);var F=E.request(C,(function(a){if(!F.aborted){var t=a,o=a.req||F;if(204!==a.statusCode&&"HEAD"!==o.method&&!1!==e.decompress)switch(a.headers["content-encoding"]){case"gzip":case"compress":case"deflate":t=t.pipe(d.createUnzip()),delete a.headers["content-encoding"]}var r={status:a.statusCode,statusText:a.statusMessage,headers:a.headers,config:e,request:o};if("stream"===e.responseType)r.data=t,i(v,b,r);else{var s=[];t.on("data",(function(a){s.push(a),e.maxContentLength>-1&&Buffer.concat(s).length>e.maxContentLength&&(t.destroy(),b(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,o)))})),t.on("error",(function(a){F.aborted||b(h(a,e,null,o))})),t.on("end",(function(){var a=Buffer.concat(s);"arraybuffer"!==e.responseType&&(a=a.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(a=n.stripBOM(a))),r.data=a,i(v,b,r)}))}}}));F.on("error",(function(a){F.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==a.code||b(h(a,e,null,F))})),e.timeout&&F.setTimeout(e.timeout,(function(){F.abort(),b(f("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",F))})),e.cancelToken&&e.cancelToken.promise.then((function(e){F.aborted||(F.abort(),b(e))})),n.isStream(g)?g.on("error",(function(a){b(h(a,e,null,F))})).pipe(F):F.end(g)}))}},function(e,a){e.exports=require("assert")},function(e,a,t){var n;try{n=t(181)("follow-redirects")}catch(e){n=function(){}}e.exports=n},function(e,a,t){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=t(182):e.exports=t(184)},function(e,a,t){var n;a.formatArgs=function(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var t="color: "+this.color;a.splice(1,0,t,"color: inherit");var n=0,i=0;a[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(i=n))})),a.splice(i,0,t)},a.save=function(e){try{e?a.storage.setItem("debug",e):a.storage.removeItem("debug")}catch(e){}},a.load=function(){var e;try{e=a.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},a.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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+)/)},a.storage=function(){try{return localStorage}catch(e){}}(),a.destroy=(n=!1,function(){n||(n=!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`."))}),a.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"],a.log=console.debug||console.log||function(){},e.exports=t(70)(a),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,a){function t(e){return(t="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})(e)}var n=1e3,i=6e4,o=60*i,r=24*o;function s(e,a,t,n){var i=a>=1.5*t;return Math.round(e/t)+" "+n+(i?"s":"")}e.exports=function(e,a){a=a||{};var c=t(e);if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var t=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*t;case"weeks":case"week":case"w":return 6048e5*t;case"days":case"day":case"d":return t*r;case"hours":case"hour":case"hrs":case"hr":case"h":return t*o;case"minutes":case"minute":case"mins":case"min":case"m":return t*i;case"seconds":case"second":case"secs":case"sec":case"s":return t*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}(e);if("number"===c&&isFinite(e))return a.long?function(e){var a=Math.abs(e);if(a>=r)return s(e,a,r,"day");if(a>=o)return s(e,a,o,"hour");if(a>=i)return s(e,a,i,"minute");if(a>=n)return s(e,a,n,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=r)return Math.round(e/r)+"d";if(a>=o)return Math.round(e/o)+"h";if(a>=i)return Math.round(e/i)+"m";if(a>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,a,t){var n=t(185),i=t(18);a.init=function(e){e.inspectOpts={};for(var t=Object.keys(a.inspectOpts),n=0;n=2&&(a.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){}a.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,a){var t=a.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,a){return a.toUpperCase()})),n=process.env[a];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[t]=n,e}),{}),e.exports=t(70)(a);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,a){e.exports=require("tty")},function(e,a,t){"use strict";var n,i=t(19),o=t(187),r=process.env;function s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===n)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!e.isTTY&&!0!==n)return 0;var a=n?1:0;if("win32"===process.platform){var t=i.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:a;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,a)}(e))}o("no-color")||o("no-colors")||o("color=false")?n=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(n=!0),"FORCE_COLOR"in r&&(n=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},function(e,a,t){"use strict";e.exports=function(e,a){a=a||process.argv;var t=e.startsWith("-")?"":1===e.length?"-":"--",n=a.indexOf(t+e),i=a.indexOf("--");return-1!==n&&(-1===i||n2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;b()(this,e);var o=a.data||{};n&&(o.stackHeaders=n),this.items=i(t,o),void 0!==o.schema&&(this.schema=o.schema),void 0!==o.content_type&&(this.content_type=o.content_type),void 0!==o.count&&(this.count=o.count),void 0!==o.notice&&(this.notice=o.notice)};function y(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var a=1;a3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0,o={};n&&(o.headers=n);var r=null;t&&(t.content_type_uid&&(r=t.content_type_uid,delete t.content_type_uid),o.params=w({},s()(t)));var c=function(){var t=h()(m.a.mark((function t(){var s;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a,o);case 3:if(!(s=t.sent).data){t.next=9;break}return r&&(s.data.content_type_uid=r),t.abrupt("return",new g(s,e,n,i));case 9:throw x(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(0),x(t.t0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=h()(m.a.mark((function t(){var n;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o.params=w(w({},o.params),{},{count:!0}),t.prev=1,t.next=4,e.get(a,o);case 4:if(!(n=t.sent).data){t.next=9;break}return t.abrupt("return",n.data);case 9:throw x(n);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),x(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}}(),u=function(){var t=h()(m.a.mark((function t(){var s,c;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=o).params.limit=1,t.prev=2,t.next=5,e.get(a,s);case 5:if(!(c=t.sent).data){t.next=11;break}return r&&(c.data.content_type_uid=r),t.abrupt("return",new g(c,e,n,i));case 11:throw x(c);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(2),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[2,14]])})));return function(){return t.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function _(e){for(var a=1;a4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==o&&(n.locale=o),null!==r&&(n.version=r),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,a.post(t,n,i);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(a,t,n,i){return e.apply(this,arguments)}}(),C=function(){var e=h()(m.a.mark((function e(a){var t,n,i,o,r,c,p,u;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.http,n=a.urlPath,i=a.stackHeaders,o=a.formData,r=a.params,c=a.method,p=void 0===c?"POST":c,u={headers:_(_(_({},r),o.getHeaders()),s()(i))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",t.post(n,o,u));case 6:return e.abrupt("return",t.put(n,o,u));case 7:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),E=function(e){var a=e.http,t=e.params;return function(){var e=h()(m.a.mark((function e(n,i){var o,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={headers:_(_({},s()(t)),s()(this.stackHeaders)),params:_({},s()(i))}||{},e.prev=1,e.next=4,a.post(this.urlPath,n,o);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(a,T(r,this.stackHeaders,this.content_type_uid)));case 9:throw x(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(a,t){return e.apply(this,arguments)}}()},z=function(e){var a=e.http,t=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(a,this.urlPath,e,this.stackHeaders,t)}},H=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r,c=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},i={},delete(o=s()(this)).stackHeaders,delete o.urlPath,delete o.uid,delete o.org_uid,delete o.api_key,delete o.created_at,delete o.created_by,delete o.deleted_at,delete o.updated_at,delete o.updated_by,delete o.updated_at,i[a]=o,t.prev=15,t.next=18,e.put(this.urlPath,i,{headers:_({},s()(this.stackHeaders)),params:_({},s()(n))});case 18:if(!(r=t.sent).data){t.next=23;break}return t.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 23:throw x(r);case 24:t.next=29;break;case 26:throw t.prev=26,t.t0=t.catch(15),x(t.t0);case 29:case"end":return t.stop()}}),t,this,[[15,26]])})))},A=function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},!0===a&&(i.params.force=!0),t.next=6,e.delete(this.urlPath,i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:if(!(o.status>=200&&o.status<300)){t.next=15;break}return t.abrupt("return",{status:o.status,statusText:o.statusText});case 15:throw x(o);case 16:t.next=21;break;case 18:throw t.prev=18,t.t0=t.catch(1),x(t.t0);case 21:case"end":return t.stop()}}),t,this,[[1,18]])})))},q=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},t.next=5,e.get(this.urlPath,i);case 5:if(!(o=t.sent).data){t.next=11;break}return"entry"===a&&(o.data[a].content_type=o.data.content_type,o.data[a].schema=o.data.schema),t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders,this.content_type_uid)));case 11:throw x(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(1),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[1,14]])})))},R=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=_({},s()(n))),t.prev=4,t.next=7,e.get(this.urlPath,i);case 7:if(!(o=t.sent).data){t.next=12;break}return t.abrupt("return",new g(o,e,this.stackHeaders,a));case 12:throw x(o);case 13:t.next=18;break;case 15:throw t.prev=15,t.t0=t.catch(4),x(t.t0);case 18:case"end":return t.stop()}}),t,this,[[4,15]])})))};function T(e,a,t){var n=e.data||{};return a&&(n.stackHeaders=a),t&&(n.content_type_uid=t),n}function D(e,a){return this.urlPath="/roles",this.stackHeaders=a.stackHeaders,a.role?(Object.assign(this,s()(a.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(e,"role"),this.delete=A(e),this.fetch=q(e,"role"))):(this.create=E({http:e}),this.fetchAll=R(e,L),this.query=z({http:e,wrapperCollection:L})),this}function L(e,a){return s()(a.roles||[]).map((function(t){return new D(e,{role:t,stackHeaders:a.stackHeaders})}))}function F(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function B(e){for(var a=1;a0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/stacks"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,Qe));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.transferOwnership=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.addUser=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/share"),{share:B({},n)});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.getInvitations=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/share"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.resendInvitation=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.roles=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/roles"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,L));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}())):this.fetchAll=R(e,U)}function U(e,a){return s()(a.organizations||[]).map((function(a){return new N(e,{organization:a})}))}function I(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function M(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/content_types",t.content_type?(Object.assign(this,s()(t.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(e,"content_type"),this.delete=A(e),this.fetch=q(e,"content_type"),this.entry=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return n.content_type_uid=a.uid,t&&(n.entry={uid:t}),new Y(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Z}),this.import=function(){var a=h()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function Z(e,a){return(s()(a.content_types)||[]).map((function(t){return new X(e,{content_type:t,stackHeaders:a.stackHeaders})}))}function ee(e){var a=new K.a,t=Object(W.createReadStream)(e.content_type);return a.append("content_type",t),a}function ae(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/global_fields",a.global_field?(Object.assign(this,s()(a.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(e,"global_field"),this.delete=A(e),this.fetch=q(e,"global_field")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:te}),this.import=function(){var a=h()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function te(e,a){return(s()(a.global_fields)||[]).map((function(t){return new ae(e,{global_field:t,stackHeaders:a.stackHeaders})}))}function ne(e){var a=new K.a,t=Object(W.createReadStream)(e.global_field);return a.append("global_field",t),a}function ie(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/delivery_tokens",a.token?(Object.assign(this,s()(a.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(e,"token"),this.delete=A(e),this.fetch=q(e,"token")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:oe}))}function oe(e,a){return(s()(a.tokens)||[]).map((function(t){return new ie(e,{token:t,stackHeaders:a.stackHeaders})}))}function re(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/environments",a.environment?(Object.assign(this,s()(a.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(e,"environment"),this.delete=A(e),this.fetch=q(e,"environment")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:se}))}function se(e,a){return(s()(a.environments)||[]).map((function(t){return new re(e,{environment:t,stackHeaders:a.stackHeaders})}))}function ce(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a.stackHeaders&&(this.stackHeaders=a.stackHeaders),this.urlPath="/assets/folders",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset")):this.create=E({http:e})}function pe(e){var a=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/assets",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset"),this.replace=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n,method:"PUT"});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.publish=O(e,"asset"),this.unpublish=P(e,"asset")):(this.folder=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new ce(e,n)},this.create=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.query=z({http:e,wrapperCollection:ue})),this}function ue(e,a){return(s()(a.assets)||[]).map((function(t){return new pe(e,{asset:t,stackHeaders:a.stackHeaders})}))}function le(e){var a=new K.a;"string"==typeof e.parent_uid&&a.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&a.append("asset[description]",e.description),e.tags instanceof Array?a.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("asset[tags]",e.tags),"string"==typeof e.title&&a.append("asset[title]",e.title);var t=Object(W.createReadStream)(e.upload);return a.append("asset[upload]",t),a}function de(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/locales",a.locale?(Object.assign(this,s()(a.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(e,"locale"),this.delete=A(e),this.fetch=q(e,"locale")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:me})),this}function me(e,a){return(s()(a.locales)||[]).map((function(t){return new de(e,{locale:t,stackHeaders:a.stackHeaders})}))}var fe=t(75),he=t.n(fe);function xe(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/extensions",a.extension?(Object.assign(this,s()(a.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(e,"extension"),this.delete=A(e),this.fetch=q(e,"extension")):(this.upload=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.create=E({http:e}),this.query=z({http:e,wrapperCollection:ve}))}function ve(e,a){return(s()(a.extensions)||[]).map((function(t){return new xe(e,{extension:t,stackHeaders:a.stackHeaders})}))}function be(e){var a=new K.a;"string"==typeof e.title&&a.append("extension[title]",e.title),"object"===he()(e.scope)&&a.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&a.append("extension[data_type]",e.data_type),"string"==typeof e.type&&a.append("extension[type]",e.type),e.tags instanceof Array?a.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&a.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&a.append("extension[enable]","".concat(e.enable));var t=Object(W.createReadStream)(e.upload);return a.append("extension[upload]",t),a}function ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ye(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/webhooks",t.webhook?(Object.assign(this,s()(t.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(e,"webhook"),this.delete=A(e),this.fetch=q(e,"webhook"),this.executions=function(){var t=h()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),n&&(i.params=ye({},s()(n))),t.prev=3,t.next=6,e.get("".concat(a.urlPath,"/executions"),i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:throw x(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.retry=function(){var t=h()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/retry"),{execution_uid:n},i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(2),x(t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,13]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.fetchAll=R(e,ke)),this.import=function(){var t=h()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C({http:e,urlPath:"".concat(a.urlPath,"/import"),stackHeaders:a.stackHeaders,formData:je(n)});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new a.constructor(e,T(i,a.stackHeaders)));case 8:throw x(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this}function ke(e,a){return(s()(a.webhooks)||[]).map((function(t){return new we(e,{webhook:t,stackHeaders:a.stackHeaders})}))}function je(e){var a=new K.a,t=Object(W.createReadStream)(e.webhook);return a.append("webhook",t),a}function _e(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows/publishing_rules",a.publishing_rule?(Object.assign(this,s()(a.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(e,"publishing_rule"),this.delete=A(e),this.fetch=q(e,"publishing_rule")):(this.create=E({http:e}),this.fetchAll=R(e,Oe))}function Oe(e,a){return(s()(a.publishing_rules)||[]).map((function(t){return new _e(e,{publishing_rule:t,stackHeaders:a.stackHeaders})}))}function Pe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Se(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows",t.workflow?(Object.assign(this,s()(t.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(e,"workflow"),this.disable=h()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Se({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw x(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.enable=h()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Se({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw x(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.delete=A(e),this.fetch=q(e,"workflow")):(this.contentType=function(t){if(t)return{getPublishRules:function(){var a=h()(m.a.mark((function a(n){var i,o;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=Se({},s()(n))),a.prev=3,a.next=6,e.get("/workflows/content_type/".concat(t),i);case 6:if(!(o=a.sent).data){a.next=11;break}return a.abrupt("return",new g(o,e,this.stackHeaders,Oe));case 11:throw x(o);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,this,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),stackHeaders:Se({},a.stackHeaders)}},this.create=E({http:e}),this.fetchAll=R(e,Ee),this.publishRule=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.publishing_rule={uid:t}),new _e(e,n)})}function Ee(e,a){return(s()(a.workflows)||[]).map((function(t){return new Ce(e,{workflow:t,stackHeaders:a.stackHeaders})}))}function ze(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function He(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,t.item&&Object.assign(this,s()(t.item)),t.releaseUid&&(this.urlPath="releases/".concat(t.releaseUid,"/items"),this.delete=function(){var n=h()(m.a.mark((function n(i){var o,r,c;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},void 0===i&&(o={all:!0}),n.prev=2,r={headers:He({},s()(a.stackHeaders)),data:He({},s()(i)),params:He({},s()(o))}||{},n.next=6,e.delete(a.urlPath,r);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new De(e,He(He({},c.data),{},{stackHeaders:t.stackHeaders})));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=h()(m.a.mark((function n(i){var o,r;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={headers:He({},s()(a.stackHeaders))}||{},n.prev=1,n.next=4,e.post(i.item?"releases/".concat(t.releaseUid,"/item"):a.urlPath,i,o);case 4:if(!(r=n.sent).data){n.next=10;break}if(!r.data){n.next=8;break}return n.abrupt("return",new De(e,He(He({},r.data),{},{stackHeaders:t.stackHeaders})));case 8:n.next=11;break;case 10:throw x(r);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:He({},s()(a.stackHeaders)),params:He({},s()(n))}||{},t.next=5,e.get(a.urlPath,i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",new g(o,e,a.stackHeaders,qe));case 10:throw x(o);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,null,[[1,13]])})))),this}function qe(e,a,t){return(s()(a.items)||[]).map((function(n){return new Ae(e,{releaseUid:t,item:n,stackHeaders:a.stackHeaders})}))}function Re(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Te(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/releases",t.release?(Object.assign(this,s()(t.release)),t.release.items&&(this.items=new qe(e,{items:t.release.items,stackHeaders:t.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(e,"release"),this.fetch=q(e,"release"),this.delete=A(e),this.item=function(){return new Ae(e,{releaseUid:a.uid,stackHeaders:a.stackHeaders})},this.deploy=function(){var t=h()(m.a.mark((function t(n){var i,o,r,c,p,u,l;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.environments,o=n.locales,r=n.scheduledAt,c=n.action,p={environments:i,locales:o,scheduledAt:r,action:c},u={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=t.sent).data){t.next=11;break}return t.abrupt("return",l.data);case 11:throw x(l);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.clone=function(){var t=h()(m.a.mark((function t(n){var i,o,r,c,p;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.name,o=n.description,r={name:i,description:o},c={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/clone"),{release:r},c);case 6:if(!(p=t.sent).data){t.next=11;break}return t.abrupt("return",new De(e,p.data));case 11:throw x(p);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Le})),this}function Le(e,a){return(s()(a.releases)||[]).map((function(t){return new De(e,{release:t,stackHeaders:a.stackHeaders})}))}function Fe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Be(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/bulk",this.publish=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",S(e,"/bulk/publish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.unpublish=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",S(e,"/bulk/unpublish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.delete=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},t.abrupt("return",S(e,"/bulk/delete",i,o));case 5:case"end":return t.stop()}}),t)})))}function Ue(e,a){this.stackHeaders=a.stackHeaders,this.urlPath="/labels",a.label?(Object.assign(this,s()(a.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(e,"label"),this.delete=A(e),this.fetch=q(e,"label")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ie}))}function Ie(e,a){return(s()(a.labels)||[]).map((function(t){return new Ue(e,{label:t,stackHeaders:a.stackHeaders})}))}function Me(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/branches",a.branch=a.branch||a.branch_alias,delete a.branch_alias,a.branch?(Object.assign(this,s()(a.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=A(e,!0),this.fetch=q(e,"branch")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ve})),this}function Ve(e,a){return(s()(a.branches)||a.branch_aliases||[]).map((function(t){return new Me(e,{branch:t,stackHeaders:a.stackHeaders})}))}function Ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function $e(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/branch_aliases",t.branch_alias?(Object.assign(this,s()(t.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var t=h()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.put(a.urlPath,{branch_alias:{target_branch:n}},{headers:$e({},s()(a.stackHeaders))});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new Me(e,T(i,a.stackHeaders)));case 8:throw x(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.delete=A(e,!0),this.fetch=h()(m.a.mark((function a(){var t,n,i=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,t={headers:$e({},s()(this.stackHeaders))}||{},a.next=5,e.get(this.urlPath,t);case 5:if(!(n=a.sent).data){a.next=10;break}return a.abrupt("return",new Me(e,T(n,this.stackHeaders)));case 10:throw x(n);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,this,[[1,13]])})))):this.fetchAll=R(e,Ve),this}function We(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ye(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.content_type={uid:a}),new X(e,n)},this.locale=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.locale={code:a}),new de(e,n)},this.asset=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new pe(e,n)},this.globalField=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.global_field={uid:a}),new ae(e,n)},this.environment=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.environment={name:a}),new re(e,n)},this.branch=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.branch={uid:a}),new Me(e,n)},this.branchAlias=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.branch_alias={uid:a}),new Ke(e,n)},this.deliveryToken=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.token={uid:a}),new ie(e,n)},this.extension=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.extension={uid:a}),new xe(e,n)},this.workflow=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.workflow={uid:a}),new Ce(e,n)},this.webhook=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.webhook={uid:a}),new we(e,n)},this.label=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.label={uid:a}),new Ue(e,n)},this.release=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.release={uid:a}),new De(e,n)},this.bulkOperation=function(){var a={stackHeaders:t.stackHeaders};return new Ne(e,a)},this.users=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t.urlPath,{params:{include_collaborators:!0},headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",G(e,n.data.stack));case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.transferOwnership=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.settings=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/settings"),{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.resetSettings=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.addSettings=h()(m.a.mark((function a(){var n,i,o=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=o.length>0&&void 0!==o[0]?o[0]:{},a.prev=1,a.next=4,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ye({},s()(t.stackHeaders))});case 4:if(!(i=a.sent).data){a.next=9;break}return a.abrupt("return",i.data.stack_settings);case 9:return a.abrupt("return",x(i));case 10:a.next=15;break;case 12:return a.prev=12,a.t0=a.catch(1),a.abrupt("return",x(a.t0));case 15:case"end":return a.stop()}}),a,null,[[1,12]])}))),this.share=h()(m.a.mark((function a(){var n,i,o,r=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:[],i=r.length>1&&void 0!==r[1]?r[1]:{},a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/share"),{emails:n,roles:i},{headers:Ye({},s()(t.stackHeaders))});case 5:if(!(o=a.sent).data){a.next=10;break}return a.abrupt("return",o.data);case 10:return a.abrupt("return",x(o));case 11:a.next=16;break;case 13:return a.prev=13,a.t0=a.catch(2),a.abrupt("return",x(a.t0));case 16:case"end":return a.stop()}}),a,null,[[2,13]])}))),this.unShare=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/unshare"),{email:n},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.role=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.role={uid:a}),new D(e,n)}):(this.create=E({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=z({http:e,wrapperCollection:Qe})),this}function Qe(e,a){var t=a.stacks||[];return s()(t).map((function(a){return new Je(e,{stack:a})}))}function Xe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ze(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/user-session",{user:e},{params:t}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(a.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new V(a,e.data)),e.data}),x)},logout:function(e){return void 0!==e?a.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):a.delete("/user-session").then((function(e){return a.defaults.headers.common&&delete a.defaults.headers.common.authtoken,delete a.defaults.headers.authtoken,delete a.httpClientParams.authtoken,delete a.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a.get("/user",{params:e}).then((function(e){return new V(a,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ze({},s()(e));return new Je(a,{stack:t})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new N(a,null!==e?{organization:{uid:e}}:null)},axiosInstance:a}}var aa=t(76),ta=t.n(aa),na=t(77),ia=t.n(na),oa=t(20),ra=t.n(oa);function sa(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ca(e){for(var a=1;a0?new Promise((function(t){a.unshift({request:e,resolve:t})})):e.retryCount>0?e:new Promise((function(t){a.push({request:e,resolve:t})}))})),this.interceptors.response=t.interceptors.response.use(o,(function(e){var n=e.config.retryCount,i=null;if(!a.config.retryOnError||n>a.config.retryLimit)return Promise.reject(o(e));var s=a.config.retryDelay,c=e.response;if(c){if(429===c.status)return i="Error with status: ".concat(c.status),++n>a.config.retryLimit?Promise.reject(o(e)):(a.running.shift(),function e(t){if(!a.paused)return a.paused=!0,a.running.length>0&&setTimeout((function(){e(t)}),t),new Promise((function(e){return setTimeout((function(){a.paused=!1;for(var e=0;ea.config.retryLimit)return Promise.reject(o(e));if(a.config.retryDelayOptions)if(a.config.retryDelayOptions.customBackoff){if((s=a.config.retryDelayOptions.customBackoff(n,e))&&s<=0)return Promise.reject(o(e))}else a.config.retryDelayOptions.base&&(s=a.config.retryDelayOptions.base*n);else s=a.config.retryDelay;return e.config.retryCount=n,new Promise((function(a){return setTimeout((function(){return a(t(r(e,i,s)))}),s)}))}}else{if("ECONNABORTED"!==e.code)return Promise.reject(o(e));e.response=ca(ca({},e.response),{},{status:408,statusText:"timeout of ".concat(a.config.timeout,"ms exceeded")})}return Promise.reject(o(e))}))}function la(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function da(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a={defaultHostName:"api.contentstack.io"},t="contentstack-management-javascript/".concat(o.version),n=l(t,e.application,e.integration,e.feature),i={"X-User-Agent":t,"User-Agent":n};e.authtoken&&(i.authtoken=e.authtoken),(e=ha(ha({},a),s()(e))).headers=ha(ha({},e.headers),i);var r=ma(e);return ea({http:r})}}]); \ No newline at end of file diff --git a/dist/react-native/contentstack-management.js b/dist/react-native/contentstack-management.js index da0416f2..24ec1180 100644 --- a/dist/react-native/contentstack-management.js +++ b/dist/react-native/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},s),a.getHeaders()),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((i=e.config.retryDelayOptions.customBackoff(n,t))&&i<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(i=e.config.retryDelayOptions.base*n);else i=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(s(t,o,i)))}),i)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=ae(ae({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}]); \ No newline at end of file +module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},s),a.getHeaders()),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((i=e.config.retryDelayOptions.customBackoff(n,t))&&i<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(i=e.config.retryDelayOptions.base*n);else i=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(s(t,o,i)))}),i)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=ae(ae({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}]); \ No newline at end of file diff --git a/dist/web/contentstack-management.js b/dist/web/contentstack-management.js index effb3ff2..dfd85eff 100644 --- a/dist/web/contentstack-management.js +++ b/dist/web/contentstack-management.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentstack-management"]=e():t["contentstack-management"]=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},s),a.getHeaders()),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((i=e.config.retryDelayOptions.customBackoff(n,t))&&i<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(i=e.config.retryDelayOptions.base*n);else i=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(s(t,o,i)))}),i)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=ae(ae({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}])})); \ No newline at end of file +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentstack-management"]=e():t["contentstack-management"]=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.1","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.19","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.5","mocha":"^7.2.0","mochawesome":"^4.1.0","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var R=H.get(e);if(R)return R;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var q=C?D?h:l:D?keysIn:j,U=L?void 0:q(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k(k({},s),a.getHeaders()),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Rt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((i=e.config.retryDelayOptions.customBackoff(n,t))&&i<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(i=e.config.retryDelayOptions.base*n);else i=e.config.retryDelay;return t.config.retryCount=n,new Promise((function(e){return setTimeout((function(){return e(r(s(t,o,i)))}),i)}))}}else{if("ECONNABORTED"!==t.code)return Promise.reject(a(t));t.response=ae(ae({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")})}return Promise.reject(a(t))}))}function ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}])})); \ No newline at end of file diff --git a/jsdocs/Asset.html b/jsdocs/Asset.html index 94235545..58271f49 100644 --- a/jsdocs/Asset.html +++ b/jsdocs/Asset.html @@ -38,7 +38,7 @@
@@ -1354,7 +1354,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Branch.html b/jsdocs/Branch.html new file mode 100644 index 00000000..e9a189cb --- /dev/null +++ b/jsdocs/Branch.html @@ -0,0 +1,643 @@ + + + + + + Branch - Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

Branch

+ + + + + + + +
+ +
+ +

+ Branch +

+ + +
+ +
+ +
+ + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) delete() → {Object}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ The Delete Branch call is used to delete an existing Branch permanently from your Stack. +
+ + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key'}).branch('branch_uid').delete()
+.then((response) => console.log(response.notice))
+ + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Response Object. +
+ + + +
+
+ Type +
+
+ +Object + + +
+
+ + + + + + + + + + +

(static) fetch() → {Promise.<Branch.Branch>}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ The fetch Branch call fetches Branch details. +
+ + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key'}).branch('branch_uid').fetch()
+.then((branch) => console.log(branch))
+ + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Promise for Branch instance +
+ + + +
+
+ Type +
+
+ +Promise.<Branch.Branch> + + +
+
+ + + + + + + + + + +

(static) create() → {Promise.<Branch.Branch>}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ The Create a Branch call creates a new branch in a particular stack of your Contentstack account. +
+ + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+const branch = {
+     name: 'branch_name',
+     source: 'master'
+}
+client.stack({ api_key: 'api_key'}).branch().create({ branch })
+.then((branch) => { console.log(branch) })
+ + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Promise for Branch instance +
+ + + +
+
+ Type +
+
+ +Promise.<Branch.Branch> + + +
+
+ + + + + + + + + + +

(static) query() → {Promise.<ContentstackCollection.ContentstackCollection>}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ The 'Get all Branch' request returns comprehensive information about branch created in a Stack. +
+ + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key'}).branch().query().find()
+.then((collection) => { console.log(collection) })
+ + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Promise for ContentstackCollection instance +
+ + + +
+
+ Type +
+
+ +Promise.<ContentstackCollection.ContentstackCollection> + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme. +
+ + + + + + + + + \ No newline at end of file diff --git a/jsdocs/BranchAlias.html b/jsdocs/BranchAlias.html new file mode 100644 index 00000000..0329e820 --- /dev/null +++ b/jsdocs/BranchAlias.html @@ -0,0 +1,739 @@ + + + + + + BranchAlias - Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

BranchAlias

+ + + + + + + +
+ +
+ +

+ BranchAlias +

+ + +
+ +
+ +
+ + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) update() → {Promise.<Branch.Branch>}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ The Update BranchAlias call lets you update the name of an existing BranchAlias. +
+ + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').createOrUpdate('branch_uid')
+.then((branch) => {
+ branch.name = 'new_branch_name'
+ return branch.update()
+})
+.then((branch) => console.log(branch))
+ + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Promise for Branch instance +
+ + + +
+
+ Type +
+
+ +Promise.<Branch.Branch> + + +
+
+ + + + + + + + + + +

(static) delete() → {Object}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ The Delete BranchAlias call is used to delete an existing BranchAlias permanently from your Stack. +
+ + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').delete()
+.then((response) => console.log(response.notice))
+ + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Response Object. +
+ + + +
+
+ Type +
+
+ +Object + + +
+
+ + + + + + + + + + +

(static) fetch() → {Promise.<Branch.Branch>}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ The fetch BranchAlias call fetches BranchAlias details. +
+ + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').fetch()
+.then((branch) => console.log(branch))
+ + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Promise for Branch instance +
+ + + +
+
+ Type +
+
+ +Promise.<Branch.Branch> + + +
+
+ + + + + + + + + + +

(static) fetchAll(limit, skip, include_count) → {ContentstackCollection}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ The Get all BranchAlias request retrieves the details of all the Branch of a stack. +
+ + + + + + + + + +
Example
+ +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+client.stack({ api_key: 'api_key'}).branchAlias().fetchAll()
+.then((collection) => console.log(collection))
+ + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
limit + + +Int + + + + The limit parameter will return a specific number of Branch in the output.
skip + + +Int + + + + The skip parameter will skip a specific number of Branch in the output.
include_count + + +Boolean + + + + To retrieve the count of Branch.
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Result collection of content of specified module. +
+ + + +
+
+ Type +
+
+ +ContentstackCollection + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme. +
+ + + + + + + + + \ No newline at end of file diff --git a/jsdocs/BulkOperation.html b/jsdocs/BulkOperation.html index dcf24000..b0a5e45f 100644 --- a/jsdocs/BulkOperation.html +++ b/jsdocs/BulkOperation.html @@ -38,7 +38,7 @@
@@ -800,7 +800,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentType.html b/jsdocs/ContentType.html index 376be8d8..369837e2 100644 --- a/jsdocs/ContentType.html +++ b/jsdocs/ContentType.html @@ -38,7 +38,7 @@
@@ -1317,7 +1317,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Contentstack.html b/jsdocs/Contentstack.html index 63858854..fa75ab47 100644 --- a/jsdocs/Contentstack.html +++ b/jsdocs/Contentstack.html @@ -38,7 +38,7 @@
@@ -829,7 +829,7 @@
Examples

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentstackClient.html b/jsdocs/ContentstackClient.html index 9b6d8e46..135aa349 100644 --- a/jsdocs/ContentstackClient.html +++ b/jsdocs/ContentstackClient.html @@ -38,7 +38,7 @@
@@ -1106,7 +1106,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/DeliveryToken.html b/jsdocs/DeliveryToken.html index 403974c8..d15d0337 100644 --- a/jsdocs/DeliveryToken.html +++ b/jsdocs/DeliveryToken.html @@ -38,7 +38,7 @@
@@ -763,7 +763,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Entry.html b/jsdocs/Entry.html index 0ab6867c..839bb212 100644 --- a/jsdocs/Entry.html +++ b/jsdocs/Entry.html @@ -38,7 +38,7 @@
@@ -1693,7 +1693,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Environment.html b/jsdocs/Environment.html index f152909f..8c84b2bc 100644 --- a/jsdocs/Environment.html +++ b/jsdocs/Environment.html @@ -38,7 +38,7 @@
@@ -766,7 +766,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Extension.html b/jsdocs/Extension.html index 85354b94..4895fa61 100644 --- a/jsdocs/Extension.html +++ b/jsdocs/Extension.html @@ -38,7 +38,7 @@
@@ -944,7 +944,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Folder.html b/jsdocs/Folder.html index df9ca3be..c42beb73 100644 --- a/jsdocs/Folder.html +++ b/jsdocs/Folder.html @@ -38,7 +38,7 @@
@@ -633,7 +633,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/GlobalField.html b/jsdocs/GlobalField.html index ac35d309..48efa319 100644 --- a/jsdocs/GlobalField.html +++ b/jsdocs/GlobalField.html @@ -38,7 +38,7 @@
@@ -908,7 +908,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Label.html b/jsdocs/Label.html index 7347e87b..66de30dc 100644 --- a/jsdocs/Label.html +++ b/jsdocs/Label.html @@ -38,7 +38,7 @@
@@ -855,7 +855,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Locale.html b/jsdocs/Locale.html index c0e10d45..8e675f9f 100644 --- a/jsdocs/Locale.html +++ b/jsdocs/Locale.html @@ -38,7 +38,7 @@
@@ -850,7 +850,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Organization.html b/jsdocs/Organization.html index 917fde20..6040b0eb 100644 --- a/jsdocs/Organization.html +++ b/jsdocs/Organization.html @@ -38,7 +38,7 @@
@@ -1691,7 +1691,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/PublishRules.html b/jsdocs/PublishRules.html index 0e3550c9..5bae3836 100644 --- a/jsdocs/PublishRules.html +++ b/jsdocs/PublishRules.html @@ -38,7 +38,7 @@
@@ -287,7 +287,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Release.html b/jsdocs/Release.html index a69bacd3..baf2f11c 100644 --- a/jsdocs/Release.html +++ b/jsdocs/Release.html @@ -38,7 +38,7 @@
@@ -1503,7 +1503,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Role.html b/jsdocs/Role.html index 095e9c28..dc0ff4bc 100644 --- a/jsdocs/Role.html +++ b/jsdocs/Role.html @@ -38,7 +38,7 @@
@@ -1125,7 +1125,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Stack.html b/jsdocs/Stack.html index 40137efd..6758c22c 100644 --- a/jsdocs/Stack.html +++ b/jsdocs/Stack.html @@ -38,7 +38,7 @@
@@ -1233,7 +1233,7 @@
Returns:
-

branch(branchUid) → {Branch}

+

branch(branchUid) → {Branch}

@@ -1284,6 +1284,10 @@

branch + Branch corresponds to Stack branch. +

+ @@ -1380,7 +1384,7 @@
Returns:
-Branch +Branch
@@ -1395,7 +1399,7 @@
Returns:
-

branchAlias(branchUid) → {BranchAlias}

+

branchAlias(branchUid) → {BranchAlias}

@@ -1446,6 +1450,10 @@

branchAlia +
+ Branch corresponds to Stack branch. +
+ @@ -1542,7 +1550,7 @@

Returns:
-BranchAlias +BranchAlias
@@ -4291,7 +4299,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/User.html b/jsdocs/User.html index 1adb8185..cce928cb 100644 --- a/jsdocs/User.html +++ b/jsdocs/User.html @@ -38,7 +38,7 @@
@@ -883,7 +883,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Webhook.html b/jsdocs/Webhook.html index 7f09d05e..369ad919 100644 --- a/jsdocs/Webhook.html +++ b/jsdocs/Webhook.html @@ -38,7 +38,7 @@
@@ -1410,7 +1410,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Workflow.html b/jsdocs/Workflow.html index 2dcceb6a..c0e9d54c 100644 --- a/jsdocs/Workflow.html +++ b/jsdocs/Workflow.html @@ -38,7 +38,7 @@
@@ -1544,7 +1544,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstack.js.html b/jsdocs/contentstack.js.html index 60fa6000..caba84ee 100644 --- a/jsdocs/contentstack.js.html +++ b/jsdocs/contentstack.js.html @@ -38,7 +38,7 @@
@@ -215,7 +215,7 @@

contentstack.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstackClient.js.html b/jsdocs/contentstackClient.js.html index 56342f9f..8b18b9c1 100644 --- a/jsdocs/contentstackClient.js.html +++ b/jsdocs/contentstackClient.js.html @@ -38,7 +38,7 @@
@@ -244,7 +244,7 @@

contentstackClient.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/index.html b/jsdocs/index.html index 266cc9aa..ee81ba3f 100644 --- a/jsdocs/index.html +++ b/jsdocs/index.html @@ -38,7 +38,7 @@
@@ -171,7 +171,7 @@

The MIT License (MIT)


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/organization_index.js.html b/jsdocs/organization_index.js.html index 2866e592..98bbb6d3 100644 --- a/jsdocs/organization_index.js.html +++ b/jsdocs/organization_index.js.html @@ -38,7 +38,7 @@
@@ -301,7 +301,7 @@

organization/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/query_index.js.html b/jsdocs/query_index.js.html index cef9a25c..4baf3613 100644 --- a/jsdocs/query_index.js.html +++ b/jsdocs/query_index.js.html @@ -38,7 +38,7 @@
@@ -195,7 +195,7 @@

query/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_folders_index.js.html b/jsdocs/stack_asset_folders_index.js.html index 80a4f5f0..202b45ab 100644 --- a/jsdocs/stack_asset_folders_index.js.html +++ b/jsdocs/stack_asset_folders_index.js.html @@ -38,7 +38,7 @@
@@ -162,7 +162,7 @@

stack/asset/folders/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_index.js.html b/jsdocs/stack_asset_index.js.html index fc3c69ef..c2893e5b 100644 --- a/jsdocs/stack_asset_index.js.html +++ b/jsdocs/stack_asset_index.js.html @@ -38,7 +38,7 @@
@@ -327,7 +327,7 @@

stack/asset/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_branchAlias_index.js.html b/jsdocs/stack_branchAlias_index.js.html new file mode 100644 index 00000000..6ad45a95 --- /dev/null +++ b/jsdocs/stack_branchAlias_index.js.html @@ -0,0 +1,191 @@ + + + + + + stack/branchAlias/index.js - Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

stack/branchAlias/index.js

+ + + + + + + +
+
+
import cloneDeep from 'lodash/cloneDeep'
+import error from '../../core/contentstackError'
+import { deleteEntity, fetchAll, parseData } from '../../entity'
+import { Branch, BranchCollection } from '../branch'
+
+/**
+ *
+ * @namespace BranchAlias
+ */
+export function BranchAlias (http, data = {}) {
+  this.stackHeaders = data.stackHeaders
+  this.urlPath = `/stacks/branch_aliases`
+  if (data.branch_alias) {
+    Object.assign(this, cloneDeep(data.branch_alias))
+    this.urlPath = `/stacks/branch_aliases/${this.uid}`
+
+    /**
+     * @description The Update BranchAlias call lets you update the name of an existing BranchAlias.
+     * @memberof BranchAlias
+     * @func update
+     * @returns {Promise<Branch.Branch>} Promise for Branch instance
+     * @example
+     * import * as contentstack from '@contentstack/management'
+     * const client = contentstack.client()
+     *
+     * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').createOrUpdate('branch_uid')
+     * .then((branch) => {
+     *  branch.name = 'new_branch_name'
+     *  return branch.update()
+     * })
+     * .then((branch) => console.log(branch))
+     *
+     */
+    this.createOrUpdate = async (targetBranch) => {
+      try {
+        const response = await http.put(this.urlPath, { branch_alias: { target_branch: targetBranch } }, { headers: {
+          ...cloneDeep(this.stackHeaders)
+        }
+        })
+        if (response.data) {
+          return new Branch(http, parseData(response, this.stackHeaders))
+        } else {
+          throw error(response)
+        }
+      } catch (err) {
+        throw error(err)
+      }
+    }
+    /**
+     * @description The Delete BranchAlias call is used to delete an existing BranchAlias permanently from your Stack.
+     * @memberof BranchAlias
+     * @func delete
+     * @returns {Object} Response Object.
+     * @example
+     * import * as contentstack from '@contentstack/management'
+     * const client = contentstack.client()
+     *
+     * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').delete()
+     * .then((response) => console.log(response.notice))
+     */
+    this.delete = deleteEntity(http, true)
+
+    /**
+     * @description The fetch BranchAlias call fetches BranchAlias details.
+     * @memberof BranchAlias
+     * @func fetch
+     * @returns {Promise<Branch.Branch>} Promise for Branch instance
+     * @example
+     * import * as contentstack from '@contentstack/management'
+     * const client = contentstack.client()
+     *
+     * client.stack({ api_key: 'api_key'}).branchAlias('branch_alias_id').fetch()
+     * .then((branch) => console.log(branch))
+     *
+     */
+    this.fetch = async function (param = {}) {
+      try {
+        const headers = {
+          headers: { ...cloneDeep(this.stackHeaders) }
+        } || {}
+        const response = await http.get(this.urlPath, headers)
+        if (response.data) {
+          return new Branch(http, parseData(response, this.stackHeaders))
+        } else {
+          throw error(response)
+        }
+      } catch (err) {
+        throw error(err)
+      }
+    }
+  } else {
+    /**
+     * @description The Get all BranchAlias request retrieves the details of all the Branch of a stack.
+     * @memberof BranchAlias
+     * @func fetchAll
+     * @param {Int} limit The limit parameter will return a specific number of Branch in the output.
+     * @param {Int} skip The skip parameter will skip a specific number of Branch in the output.
+     * @param {Boolean}include_count To retrieve the count of Branch.
+     * @returns {ContentstackCollection} Result collection of content of specified module.
+     * @example
+     * import * as contentstack from '@contentstack/management'
+     * const client = contentstack.client()
+     *
+     * client.stack({ api_key: 'api_key'}).branchAlias().fetchAll()
+     * .then((collection) => console.log(collection))
+     *
+     */
+    this.fetchAll = fetchAll(http, BranchCollection)
+  }
+  return this
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme. +
+ + + + + + + + + diff --git a/jsdocs/stack_branch_index.js.html b/jsdocs/stack_branch_index.js.html new file mode 100644 index 00000000..6a965749 --- /dev/null +++ b/jsdocs/stack_branch_index.js.html @@ -0,0 +1,170 @@ + + + + + + stack/branch/index.js - Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

stack/branch/index.js

+ + + + + + + +
+
+
import cloneDeep from 'lodash/cloneDeep'
+import { create, query, fetch, deleteEntity } from '../../entity'
+
+/**
+ *
+ * @namespace Branch
+ */
+export function Branch (http, data = {}) {
+  this.stackHeaders = data.stackHeaders
+  this.urlPath = `/stacks/branches`
+
+  data.branch = data.branch || data.branch_alias
+  delete data.branch_alias
+
+  if (data.branch) {
+    Object.assign(this, cloneDeep(data.branch))
+    this.urlPath = `/stacks/branches/${this.uid}`
+
+    /**
+     * @description The Delete Branch call is used to delete an existing Branch permanently from your Stack.
+     * @memberof Branch
+     * @func delete
+     * @returns {Object} Response Object.
+     * @example
+     * import * as contentstack from '@contentstack/management'
+     * const client = contentstack.client()
+     *
+     * client.stack({ api_key: 'api_key'}).branch('branch_uid').delete()
+     * .then((response) => console.log(response.notice))
+     */
+    this.delete = deleteEntity(http, true)
+
+    /**
+     * @description The fetch Branch call fetches Branch details.
+     * @memberof Branch
+     * @func fetch
+     * @returns {Promise<Branch.Branch>} Promise for Branch instance
+     * @example
+     * import * as contentstack from '@contentstack/management'
+     * const client = contentstack.client()
+     *
+     * client.stack({ api_key: 'api_key'}).branch('branch_uid').fetch()
+     * .then((branch) => console.log(branch))
+     *
+     */
+    this.fetch = fetch(http, 'branch')
+
+  } else {
+    /**
+     * @description The Create a Branch call creates a new branch in a particular stack of your Contentstack account.
+     * @memberof Branch
+     * @func create
+     * @returns {Promise<Branch.Branch>} Promise for Branch instance
+     *
+     * @example
+     * import * as contentstack from '@contentstack/management'
+     * const client = contentstack.client()
+     * const branch = {
+     *      name: 'branch_name',
+     *      source: 'master'
+     * }
+     * client.stack({ api_key: 'api_key'}).branch().create({ branch })
+     * .then((branch) => { console.log(branch) })
+     */
+    this.create = create({ http: http })
+
+    /**
+     * @description The 'Get all Branch' request returns comprehensive information about branch created in a Stack.
+     * @memberof Branch
+     * @func query
+     * @returns {Promise<ContentstackCollection.ContentstackCollection>} Promise for ContentstackCollection instance
+     *
+     * @example
+     * import * as contentstack from '@contentstack/management'
+     * const client = contentstack.client()
+     *
+     * client.stack({ api_key: 'api_key'}).branch().query().find()
+     * .then((collection) => { console.log(collection) })
+     */
+    this.query = query({ http, wrapperCollection: BranchCollection })
+  }
+  return this
+}
+
+export function BranchCollection (http, data) {
+  const obj = cloneDeep(data.branches) || data.branch_aliases || []
+  return obj.map((branchData) => {
+    return new Branch(http, { branch: branchData, stackHeaders: data.stackHeaders })
+  })
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme. +
+ + + + + + + + + diff --git a/jsdocs/stack_bulkOperation_index.js.html b/jsdocs/stack_bulkOperation_index.js.html index 2dd56516..a85bb3f9 100644 --- a/jsdocs/stack_bulkOperation_index.js.html +++ b/jsdocs/stack_bulkOperation_index.js.html @@ -38,7 +38,7 @@
@@ -225,7 +225,7 @@

stack/bulkOperation/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_entry_index.js.html b/jsdocs/stack_contentType_entry_index.js.html index bc6c6a01..b6a95054 100644 --- a/jsdocs/stack_contentType_entry_index.js.html +++ b/jsdocs/stack_contentType_entry_index.js.html @@ -38,7 +38,7 @@
@@ -351,7 +351,7 @@

stack/contentType/entry/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_index.js.html b/jsdocs/stack_contentType_index.js.html index c95c1910..c5f73969 100644 --- a/jsdocs/stack_contentType_index.js.html +++ b/jsdocs/stack_contentType_index.js.html @@ -38,7 +38,7 @@
@@ -273,7 +273,7 @@

stack/contentType/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_deliveryToken_index.js.html b/jsdocs/stack_deliveryToken_index.js.html index 41aba89e..4d0ae664 100644 --- a/jsdocs/stack_deliveryToken_index.js.html +++ b/jsdocs/stack_deliveryToken_index.js.html @@ -38,7 +38,7 @@
@@ -178,7 +178,7 @@

stack/deliveryToken/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_environment_index.js.html b/jsdocs/stack_environment_index.js.html index b52db95d..89e344fb 100644 --- a/jsdocs/stack_environment_index.js.html +++ b/jsdocs/stack_environment_index.js.html @@ -38,7 +38,7 @@
@@ -183,7 +183,7 @@

stack/environment/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_extension_index.js.html b/jsdocs/stack_extension_index.js.html index 242e5afb..5cc6c9d3 100644 --- a/jsdocs/stack_extension_index.js.html +++ b/jsdocs/stack_extension_index.js.html @@ -38,7 +38,7 @@
@@ -255,7 +255,7 @@

stack/extension/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_globalField_index.js.html b/jsdocs/stack_globalField_index.js.html index 57778e23..da3f3a28 100644 --- a/jsdocs/stack_globalField_index.js.html +++ b/jsdocs/stack_globalField_index.js.html @@ -38,7 +38,7 @@
@@ -223,7 +223,7 @@

stack/globalField/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_index.js.html b/jsdocs/stack_index.js.html index 6c6a8e8c..82c85e6d 100644 --- a/jsdocs/stack_index.js.html +++ b/jsdocs/stack_index.js.html @@ -38,7 +38,7 @@
@@ -238,7 +238,7 @@

stack/index.js

} /** - * @description + * @description Branch corresponds to Stack branch. * @param {String} * @returns {Branch} * @@ -262,7 +262,7 @@

stack/index.js

} /** - * @description + * @description Branch corresponds to Stack branch. * @param {String} * @returns {BranchAlias} * @@ -760,7 +760,7 @@

stack/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_label_index.js.html b/jsdocs/stack_label_index.js.html index 80437bc2..0dd573ac 100644 --- a/jsdocs/stack_label_index.js.html +++ b/jsdocs/stack_label_index.js.html @@ -38,7 +38,7 @@
@@ -178,7 +178,7 @@

stack/label/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_locale_index.js.html b/jsdocs/stack_locale_index.js.html index 3b5eb914..a9110623 100644 --- a/jsdocs/stack_locale_index.js.html +++ b/jsdocs/stack_locale_index.js.html @@ -38,7 +38,7 @@
@@ -173,7 +173,7 @@

stack/locale/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_release_index.js.html b/jsdocs/stack_release_index.js.html index 8fb929c6..3f97d3e1 100644 --- a/jsdocs/stack_release_index.js.html +++ b/jsdocs/stack_release_index.js.html @@ -38,7 +38,7 @@
@@ -313,7 +313,7 @@

stack/release/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_roles_index.js.html b/jsdocs/stack_roles_index.js.html index cd0c211d..0cc4ca73 100644 --- a/jsdocs/stack_roles_index.js.html +++ b/jsdocs/stack_roles_index.js.html @@ -38,7 +38,7 @@
@@ -231,7 +231,7 @@

stack/roles/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_webhook_index.js.html b/jsdocs/stack_webhook_index.js.html index b87d7672..67d1b389 100644 --- a/jsdocs/stack_webhook_index.js.html +++ b/jsdocs/stack_webhook_index.js.html @@ -38,7 +38,7 @@
@@ -306,7 +306,7 @@

stack/webhook/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_index.js.html b/jsdocs/stack_workflow_index.js.html index eff2305c..4a4c7d20 100644 --- a/jsdocs/stack_workflow_index.js.html +++ b/jsdocs/stack_workflow_index.js.html @@ -38,7 +38,7 @@
@@ -371,7 +371,7 @@

stack/workflow/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_publishRules_index.js.html b/jsdocs/stack_workflow_publishRules_index.js.html index b0ff2a18..d5dac6c7 100644 --- a/jsdocs/stack_workflow_publishRules_index.js.html +++ b/jsdocs/stack_workflow_publishRules_index.js.html @@ -38,7 +38,7 @@
@@ -192,7 +192,7 @@

stack/workflow/publishRules/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/user_index.js.html b/jsdocs/user_index.js.html index 4b3f7b88..dc9599de 100644 --- a/jsdocs/user_index.js.html +++ b/jsdocs/user_index.js.html @@ -38,7 +38,7 @@
@@ -225,7 +225,7 @@

user/index.js


- Documentation generated by JSDoc 3.6.5 on Tue May 25 2021 12:41:11 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/lib/stack/index.js b/lib/stack/index.js index 4c2caa38..f2764beb 100644 --- a/lib/stack/index.js +++ b/lib/stack/index.js @@ -183,7 +183,7 @@ export function Stack (http, data) { } /** - * @description + * @description Branch corresponds to Stack branch. * @param {String} * @returns {Branch} * @@ -207,7 +207,7 @@ export function Stack (http, data) { } /** - * @description + * @description Branch corresponds to Stack branch. * @param {String} * @returns {BranchAlias} * From a8c2b48c6cfa44a44437a75507e062717eb85da0 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Tue, 27 Jul 2021 15:56:24 +0530 Subject: [PATCH 06/16] :memo: Docs update --- jsdocs/Branch.html | 2 +- jsdocs/BranchAlias.html | 2 +- jsdocs/stack_branchAlias_index.js.html | 2 +- jsdocs/stack_branch_index.js.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jsdocs/Branch.html b/jsdocs/Branch.html index e9a189cb..02c8eeaf 100644 --- a/jsdocs/Branch.html +++ b/jsdocs/Branch.html @@ -630,7 +630,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BranchAlias.html b/jsdocs/BranchAlias.html index 0329e820..1999eaa8 100644 --- a/jsdocs/BranchAlias.html +++ b/jsdocs/BranchAlias.html @@ -726,7 +726,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_branchAlias_index.js.html b/jsdocs/stack_branchAlias_index.js.html index 6ad45a95..9efd68a6 100644 --- a/jsdocs/stack_branchAlias_index.js.html +++ b/jsdocs/stack_branchAlias_index.js.html @@ -178,7 +178,7 @@

stack/branchAlias/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_branch_index.js.html b/jsdocs/stack_branch_index.js.html index 6a965749..e22472de 100644 --- a/jsdocs/stack_branch_index.js.html +++ b/jsdocs/stack_branch_index.js.html @@ -157,7 +157,7 @@

stack/branch/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:47:05 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme.
From f84fc4d8d30b2ac1cc85642671eccc07a49d67a8 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Thu, 19 Aug 2021 10:47:59 +0530 Subject: [PATCH 07/16] Branch on stack header issue resolve --- dist/es-modules/contentstack.js | 2 +- dist/es-modules/contentstackClient.js | 4 +- dist/es-modules/core/concurrency-queue.js | 2 +- .../es-modules/core/contentstackHTTPClient.js | 2 +- dist/es-modules/entity.js | 4 +- dist/es-modules/organization/index.js | 4 +- dist/es-modules/query/index.js | 4 +- dist/es-modules/stack/asset/index.js | 2 +- dist/es-modules/stack/branchAlias/index.js | 7 +- dist/es-modules/stack/bulkOperation/index.js | 4 +- .../stack/contentType/entry/index.js | 2 +- dist/es-modules/stack/contentType/index.js | 2 +- dist/es-modules/stack/extension/index.js | 2 +- dist/es-modules/stack/globalField/index.js | 2 +- dist/es-modules/stack/index.js | 8 +- dist/es-modules/stack/release/index.js | 4 +- dist/es-modules/stack/release/items/index.js | 4 +- dist/es-modules/stack/webhook/index.js | 4 +- dist/es-modules/stack/workflow/index.js | 4 +- dist/es-modules/user/index.js | 4 +- dist/es5/contentstack.js | 2 +- dist/es5/contentstackClient.js | 4 +- dist/es5/core/concurrency-queue.js | 2 +- dist/es5/core/contentstackHTTPClient.js | 2 +- dist/es5/entity.js | 10 +- dist/es5/organization/index.js | 10 +- dist/es5/query/index.js | 10 +- dist/es5/stack/asset/index.js | 8 +- dist/es5/stack/branchAlias/index.js | 13 +- dist/es5/stack/bulkOperation/index.js | 10 +- dist/es5/stack/contentType/entry/index.js | 8 +- dist/es5/stack/contentType/index.js | 8 +- dist/es5/stack/extension/index.js | 8 +- dist/es5/stack/globalField/index.js | 8 +- dist/es5/stack/index.js | 14 +- dist/es5/stack/release/index.js | 10 +- dist/es5/stack/release/items/index.js | 10 +- dist/es5/stack/webhook/index.js | 10 +- dist/es5/stack/workflow/index.js | 10 +- dist/es5/user/index.js | 10 +- dist/nativescript/contentstack-management.js | 2 +- dist/node/contentstack-management.js | 6 +- dist/react-native/contentstack-management.js | 2 +- dist/web/contentstack-management.js | 2 +- jsdocs/Asset.html | 2 +- jsdocs/Branch.html | 2 +- jsdocs/BranchAlias.html | 2 +- jsdocs/BulkOperation.html | 2 +- jsdocs/ContentType.html | 2 +- jsdocs/Contentstack.html | 2 +- jsdocs/ContentstackClient.html | 4 +- jsdocs/DeliveryToken.html | 2 +- jsdocs/Entry.html | 2 +- jsdocs/Environment.html | 2 +- jsdocs/Extension.html | 2 +- jsdocs/Folder.html | 2 +- jsdocs/GlobalField.html | 2 +- jsdocs/Label.html | 2 +- jsdocs/Locale.html | 2 +- jsdocs/Organization.html | 2 +- jsdocs/PublishRules.html | 2 +- jsdocs/Release.html | 2 +- jsdocs/Role.html | 2 +- jsdocs/Stack.html | 54 +- jsdocs/User.html | 2 +- jsdocs/Webhook.html | 2 +- jsdocs/Workflow.html | 2 +- jsdocs/contentstack.js.html | 2 +- jsdocs/contentstackClient.js.html | 4 +- jsdocs/index.html | 2 +- jsdocs/organization_index.js.html | 2 +- jsdocs/query_index.js.html | 2 +- jsdocs/stack_asset_folders_index.js.html | 2 +- jsdocs/stack_asset_index.js.html | 2 +- jsdocs/stack_branchAlias_index.js.html | 2 +- jsdocs/stack_branch_index.js.html | 2 +- jsdocs/stack_bulkOperation_index.js.html | 2 +- jsdocs/stack_contentType_entry_index.js.html | 2 +- jsdocs/stack_contentType_index.js.html | 2 +- jsdocs/stack_deliveryToken_index.js.html | 2 +- jsdocs/stack_environment_index.js.html | 2 +- jsdocs/stack_extension_index.js.html | 2 +- jsdocs/stack_globalField_index.js.html | 2 +- jsdocs/stack_index.js.html | 5 +- jsdocs/stack_label_index.js.html | 2 +- jsdocs/stack_locale_index.js.html | 2 +- jsdocs/stack_release_index.js.html | 2 +- jsdocs/stack_roles_index.js.html | 2 +- jsdocs/stack_webhook_index.js.html | 2 +- jsdocs/stack_workflow_index.js.html | 2 +- .../stack_workflow_publishRules_index.js.html | 2 +- jsdocs/user_index.js.html | 2 +- lib/contentstackClient.js | 2 +- lib/stack/branchAlias/index.js | 5 +- lib/stack/index.js | 3 + package-lock.json | 1750 ++++++++++++++--- package.json | 4 +- 97 files changed, 1658 insertions(+), 511 deletions(-) diff --git a/dist/es-modules/contentstack.js b/dist/es-modules/contentstack.js index afdf0c8d..a06b5063 100644 --- a/dist/es-modules/contentstack.js +++ b/dist/es-modules/contentstack.js @@ -1,6 +1,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/contentstackClient.js b/dist/es-modules/contentstackClient.js index 73dc0da2..acce8ae6 100644 --- a/dist/es-modules/contentstackClient.js +++ b/dist/es-modules/contentstackClient.js @@ -1,6 +1,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -105,7 +105,7 @@ export default function contentstackClient(_ref) { * import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch() + * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_uid: 'branch_uid' }).contentType('content_type_uid').fetch() * .then((stack) => console.log(stack)) */ diff --git a/dist/es-modules/core/concurrency-queue.js b/dist/es-modules/core/concurrency-queue.js index df7f8cdf..bd4c2330 100644 --- a/dist/es-modules/core/concurrency-queue.js +++ b/dist/es-modules/core/concurrency-queue.js @@ -1,6 +1,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/core/contentstackHTTPClient.js b/dist/es-modules/core/contentstackHTTPClient.js index da70ea77..6c3dacf2 100644 --- a/dist/es-modules/core/contentstackHTTPClient.js +++ b/dist/es-modules/core/contentstackHTTPClient.js @@ -1,7 +1,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/entity.js b/dist/es-modules/entity.js index 25583685..cf275063 100644 --- a/dist/es-modules/entity.js +++ b/dist/es-modules/entity.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/organization/index.js b/dist/es-modules/organization/index.js index 770647a9..7679f605 100644 --- a/dist/es-modules/organization/index.js +++ b/dist/es-modules/organization/index.js @@ -1,11 +1,11 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import error from '../core/contentstackError'; import { fetch, fetchAll } from '../entity'; diff --git a/dist/es-modules/query/index.js b/dist/es-modules/query/index.js index addd203a..af480434 100644 --- a/dist/es-modules/query/index.js +++ b/dist/es-modules/query/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/asset/index.js b/dist/es-modules/stack/asset/index.js index 377da395..aab3a4f2 100644 --- a/dist/es-modules/stack/asset/index.js +++ b/dist/es-modules/stack/asset/index.js @@ -1,5 +1,5 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { update, deleteEntity, fetch, query, parseData, upload, publish, unpublish } from '../../entity'; import { Folder } from './folders'; diff --git a/dist/es-modules/stack/branchAlias/index.js b/dist/es-modules/stack/branchAlias/index.js index f32a0dd0..8d0d0163 100644 --- a/dist/es-modules/stack/branchAlias/index.js +++ b/dist/es-modules/stack/branchAlias/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -135,7 +135,8 @@ export function BranchAlias(http) { param = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}; _context2.prev = 1; headers = { - headers: _objectSpread({}, cloneDeep(this.stackHeaders)) + headers: _objectSpread({}, cloneDeep(this.stackHeaders)), + params: _objectSpread({}, cloneDeep(param)) } || {}; _context2.next = 5; return http.get(this.urlPath, headers); diff --git a/dist/es-modules/stack/bulkOperation/index.js b/dist/es-modules/stack/bulkOperation/index.js index befff171..90f8aa85 100644 --- a/dist/es-modules/stack/bulkOperation/index.js +++ b/dist/es-modules/stack/bulkOperation/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/contentType/entry/index.js b/dist/es-modules/stack/contentType/entry/index.js index 80f8e31a..e5847c0f 100644 --- a/dist/es-modules/stack/contentType/entry/index.js +++ b/dist/es-modules/stack/contentType/entry/index.js @@ -1,5 +1,5 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { create, update, deleteEntity, fetch, query, upload, parseData, publish, unpublish } from '../../../entity'; import FormData from 'form-data'; diff --git a/dist/es-modules/stack/contentType/index.js b/dist/es-modules/stack/contentType/index.js index 32778254..283883de 100644 --- a/dist/es-modules/stack/contentType/index.js +++ b/dist/es-modules/stack/contentType/index.js @@ -1,5 +1,5 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { create, update, deleteEntity, fetch, query, upload, parseData } from '../../entity'; import { Entry } from './entry/index'; diff --git a/dist/es-modules/stack/extension/index.js b/dist/es-modules/stack/extension/index.js index 8237396f..cc30f662 100644 --- a/dist/es-modules/stack/extension/index.js +++ b/dist/es-modules/stack/extension/index.js @@ -1,6 +1,6 @@ import _typeof from "@babel/runtime/helpers/typeof"; -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { create, update, deleteEntity, fetch, query, upload, parseData } from '../../entity'; import error from '../../core/contentstackError'; diff --git a/dist/es-modules/stack/globalField/index.js b/dist/es-modules/stack/globalField/index.js index 69731f6a..741cac40 100644 --- a/dist/es-modules/stack/globalField/index.js +++ b/dist/es-modules/stack/globalField/index.js @@ -1,5 +1,5 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { create, update, deleteEntity, fetch, query, upload, parseData } from '../../entity'; import error from '../../core/contentstackError'; diff --git a/dist/es-modules/stack/index.js b/dist/es-modules/stack/index.js index ae4c7ed4..af1d2707 100644 --- a/dist/es-modules/stack/index.js +++ b/dist/es-modules/stack/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -53,6 +53,10 @@ export function Stack(http, data) { this.stackHeaders.authorization = this.management_token; delete this.management_token; } + + if (this.branch_uid) { + this.stackHeaders.branch = this.branch_uid; + } /** * @description The Update stack call lets you update the name and description of an existing stack. * @memberof Stack diff --git a/dist/es-modules/stack/release/index.js b/dist/es-modules/stack/release/index.js index 12d61757..7931927c 100644 --- a/dist/es-modules/stack/release/index.js +++ b/dist/es-modules/stack/release/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/release/items/index.js b/dist/es-modules/stack/release/items/index.js index a41f670f..c443ca7f 100644 --- a/dist/es-modules/stack/release/items/index.js +++ b/dist/es-modules/stack/release/items/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/webhook/index.js b/dist/es-modules/stack/webhook/index.js index 8b1cf130..21973f92 100644 --- a/dist/es-modules/stack/webhook/index.js +++ b/dist/es-modules/stack/webhook/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/workflow/index.js b/dist/es-modules/stack/workflow/index.js index ba78cd25..0400582e 100644 --- a/dist/es-modules/stack/workflow/index.js +++ b/dist/es-modules/stack/workflow/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/user/index.js b/dist/es-modules/user/index.js index 79ab7b10..53f944c9 100644 --- a/dist/es-modules/user/index.js +++ b/dist/es-modules/user/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/contentstack.js b/dist/es5/contentstack.js index 3c387830..38d5fd60 100644 --- a/dist/es5/contentstack.js +++ b/dist/es5/contentstack.js @@ -34,7 +34,7 @@ var _contentstackHTTPClient = require("./core/contentstackHTTPClient.js"); var _contentstackHTTPClient2 = (0, _interopRequireDefault2["default"])(_contentstackHTTPClient); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/contentstackClient.js b/dist/es5/contentstackClient.js index 7f7156f0..ff240055 100644 --- a/dist/es5/contentstackClient.js +++ b/dist/es5/contentstackClient.js @@ -28,7 +28,7 @@ var _contentstackError = require("./core/contentstackError"); var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackError); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -125,7 +125,7 @@ function contentstackClient(_ref) { * import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch() + * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_uid: 'branch_uid' }).contentType('content_type_uid').fetch() * .then((stack) => console.log(stack)) */ diff --git a/dist/es5/core/concurrency-queue.js b/dist/es5/core/concurrency-queue.js index aba0d218..caa3790d 100644 --- a/dist/es5/core/concurrency-queue.js +++ b/dist/es5/core/concurrency-queue.js @@ -18,7 +18,7 @@ var _axios = require("axios"); var _axios2 = (0, _interopRequireDefault2["default"])(_axios); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/core/contentstackHTTPClient.js b/dist/es5/core/contentstackHTTPClient.js index 1db4e0a2..3df359a1 100644 --- a/dist/es5/core/contentstackHTTPClient.js +++ b/dist/es5/core/contentstackHTTPClient.js @@ -34,7 +34,7 @@ var _Util = require("./Util"); var _concurrencyQueue = require("./concurrency-queue"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/entity.js b/dist/es5/entity.js index 676542f1..298971fd 100644 --- a/dist/es5/entity.js +++ b/dist/es5/entity.js @@ -9,10 +9,6 @@ Object.defineProperty(exports, "__esModule", { }); exports.fetchAll = exports.fetch = exports.deleteEntity = exports.update = exports.query = exports.exportObject = exports.create = exports.upload = exports.publishUnpublish = exports.unpublish = exports.publish = undefined; -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.parseData = parseData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _contentstackError = require("./core/contentstackError"); var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackError); @@ -39,7 +39,7 @@ var _contentstackCollection = require("./contentstackCollection"); var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contentstackCollection); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/organization/index.js b/dist/es5/organization/index.js index 9a91e638..ec92d23a 100644 --- a/dist/es5/organization/index.js +++ b/dist/es5/organization/index.js @@ -12,10 +12,6 @@ var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.Organization = Organization; exports.OrganizationCollection = OrganizationCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -43,7 +43,7 @@ var _stack = require("../stack"); var _user = require("../user"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/query/index.js b/dist/es5/query/index.js index d04806aa..b3462d4a 100644 --- a/dist/es5/query/index.js +++ b/dist/es5/query/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -22,6 +18,10 @@ var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2) exports["default"] = Query; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _contentstackError = require("../core/contentstackError"); var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackError); @@ -34,7 +34,7 @@ var _contentstackCollection = require("../contentstackCollection"); var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contentstackCollection); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/asset/index.js b/dist/es5/stack/asset/index.js index a817a5bb..8286a7dc 100644 --- a/dist/es5/stack/asset/index.js +++ b/dist/es5/stack/asset/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -20,6 +16,10 @@ exports.Asset = Asset; exports.AssetCollection = AssetCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/branchAlias/index.js b/dist/es5/stack/branchAlias/index.js index caf344fc..cc3e9d3f 100644 --- a/dist/es5/stack/branchAlias/index.js +++ b/dist/es5/stack/branchAlias/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -22,6 +18,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.BranchAlias = BranchAlias; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -34,7 +34,7 @@ var _entity = require("../../entity"); var _branch = require("../branch"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -162,7 +162,8 @@ function BranchAlias(http) { param = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}; _context2.prev = 1; headers = { - headers: _objectSpread({}, (0, _cloneDeep2["default"])(this.stackHeaders)) + headers: _objectSpread({}, (0, _cloneDeep2["default"])(this.stackHeaders)), + params: _objectSpread({}, (0, _cloneDeep2["default"])(param)) } || {}; _context2.next = 5; return http.get(this.urlPath, headers); diff --git a/dist/es5/stack/bulkOperation/index.js b/dist/es5/stack/bulkOperation/index.js index 6aef33b4..55a6f7e6 100644 --- a/dist/es5/stack/bulkOperation/index.js +++ b/dist/es5/stack/bulkOperation/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -22,13 +18,17 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.BulkOperation = BulkOperation; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); var _entity = require("../../entity"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/contentType/entry/index.js b/dist/es5/stack/contentType/entry/index.js index 47cdff88..64a81f0e 100644 --- a/dist/es5/stack/contentType/entry/index.js +++ b/dist/es5/stack/contentType/entry/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -20,6 +16,10 @@ exports.Entry = Entry; exports.EntryCollection = EntryCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/contentType/index.js b/dist/es5/stack/contentType/index.js index 77aaceab..eda0de32 100644 --- a/dist/es5/stack/contentType/index.js +++ b/dist/es5/stack/contentType/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -20,6 +16,10 @@ exports.ContentType = ContentType; exports.ContentTypeCollection = ContentTypeCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/extension/index.js b/dist/es5/stack/extension/index.js index f15f619b..c48b7ffe 100644 --- a/dist/es5/stack/extension/index.js +++ b/dist/es5/stack/extension/index.js @@ -12,10 +12,6 @@ var _typeof2 = require("@babel/runtime/helpers/typeof"); var _typeof3 = (0, _interopRequireDefault2["default"])(_typeof2); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -24,6 +20,10 @@ exports.Extension = Extension; exports.ExtensionCollection = ExtensionCollection; exports.createExtensionFormData = createExtensionFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/globalField/index.js b/dist/es5/stack/globalField/index.js index dc4ed1d5..7af65640 100644 --- a/dist/es5/stack/globalField/index.js +++ b/dist/es5/stack/globalField/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -20,6 +16,10 @@ exports.GlobalField = GlobalField; exports.GlobalFieldCollection = GlobalFieldCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/index.js b/dist/es5/stack/index.js index b710f217..de646480 100644 --- a/dist/es5/stack/index.js +++ b/dist/es5/stack/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.Stack = Stack; exports.StackCollection = StackCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -65,7 +65,7 @@ var _branch = require("./branch"); var _branchAlias = require("./branchAlias"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -97,6 +97,10 @@ function Stack(http, data) { this.stackHeaders.authorization = this.management_token; delete this.management_token; } + + if (this.branch_uid) { + this.stackHeaders.branch = this.branch_uid; + } /** * @description The Update stack call lets you update the name and description of an existing stack. * @memberof Stack diff --git a/dist/es5/stack/release/index.js b/dist/es5/stack/release/index.js index b4aeddf2..6475e094 100644 --- a/dist/es5/stack/release/index.js +++ b/dist/es5/stack/release/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.Release = Release; exports.ReleaseCollection = ReleaseCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -35,7 +35,7 @@ var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackE var _items = require("./items"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/release/items/index.js b/dist/es5/stack/release/items/index.js index 99a15372..273a3cc1 100644 --- a/dist/es5/stack/release/items/index.js +++ b/dist/es5/stack/release/items/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.ReleaseItem = ReleaseItem; exports.ReleaseItemCollection = ReleaseItemCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -37,7 +37,7 @@ var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contents var _ = require(".."); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/webhook/index.js b/dist/es5/stack/webhook/index.js index 728b403e..bc869bef 100644 --- a/dist/es5/stack/webhook/index.js +++ b/dist/es5/stack/webhook/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -24,6 +20,10 @@ exports.Webhook = Webhook; exports.WebhookCollection = WebhookCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -44,7 +44,7 @@ var _contentstackCollection = require("../../contentstackCollection"); var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contentstackCollection); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/workflow/index.js b/dist/es5/stack/workflow/index.js index ad1af4c9..2cc4a4fc 100644 --- a/dist/es5/stack/workflow/index.js +++ b/dist/es5/stack/workflow/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.Workflow = Workflow; exports.WorkflowCollection = WorkflowCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -39,7 +39,7 @@ var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contents var _publishRules = require("./publishRules"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/user/index.js b/dist/es5/user/index.js index 5ab5cd5e..d6bdece8 100644 --- a/dist/es5/user/index.js +++ b/dist/es5/user/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.User = User; exports.UserCollection = UserCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -35,7 +35,7 @@ var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackE var _organization = require("../organization"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/nativescript/contentstack-management.js b/dist/nativescript/contentstack-management.js index 492ef638..d3b90e73 100644 --- a/dist/nativescript/contentstack-management.js +++ b/dist/nativescript/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var q=H.get(e);if(q)return q;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var R=C?D?h:l:D?keysIn:j,U=L?void 0:R(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function q(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:q({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new R(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){return function(){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:qt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:qt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:qt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Rt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new R(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=i(a),a.transformRequest=[function(t){return t}],a},i=function(t){if(t.formdata){var e=t.formdata();return t.headers=ae(ae({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=i(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=ne.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}]); \ No newline at end of file +module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=171)}([function(t,e,r){var n=r(67);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(137)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(54),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=P(t),n=r.length>0?r[0]:"",a=S("%"+n+"%",e),s=a.name,u=a.value,p=!1,f=a.alias;f&&(n=f[0],w(r,g([0,1],f)));for(var l=1,h=!0;l=r.length){var x=c(u,d);u=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:u[d]}else h=m(u,d),u=u[d];h&&!p&&(y[s]=u)}}return u}},function(t,e,r){"use strict";var n=r(147);t.exports=Function.prototype.bind||n},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13),o=r(9);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e;t.exports=n}).call(this,r(38))},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(41),o=r(35),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(99);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(101),o=r(102),a=r(23),i=r(43),s=r(105),c=r(106),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},function(t,e,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(7),a=r(104),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,r(17)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(36),o=r(44);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(49),o=r(50),a=r(28),i=r(47),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(52))},function(t,e,r){"use strict";var n=r(4),o=r(160),a=r(162),i=r(55),s=r(163),c=r(166),u=r(167),p=r(59);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(p("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(p("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,r){"use strict";var n=r(161);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.3.0","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.0","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(138),o=r(139),a=r(140),i=r(142);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(143),o=r(153),a=r(33);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(68),o=r(98),a=r(40),i=r(100),s=r(110),c=r(113),u=r(114),p=r(115),f=r(117),l=r(118),h=r(119),d=r(29),y=r(124),b=r(125),v=r(131),m=r(23),g=r(43),w=r(133),x=r(9),k=r(135),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,S,_,A,E){var H,D=1&r,R=2&r,C=4&r;if(S&&(H=A?S(e,_,A,E):S(e)),void 0!==H)return H;if(!x(e))return e;var T=m(e);if(T){if(H=y(e),!D)return u(e,H)}else{var N=d(e),L="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||L&&!A){if(H=R||L?{}:v(e),!D)return R?f(e,s(H,e)):p(e,i(H,e))}else{if(!P[N])return A?e:{};H=b(e,N,D)}}E||(E=new n);var U=E.get(e);if(U)return U;E.set(e,H),k(e)?e.forEach((function(n){H.add(t(n,r,S,n,e,E))})):w(e)&&e.forEach((function(n,o){H.set(o,t(n,r,S,o,e,E))}));var F=T?void 0:(C?R?h:l:R?O:j)(e);return o(F||e,(function(n,o){F&&(n=e[o=n]),a(H,o,t(n,r,S,o,e,E))})),H}},function(t,e,r){var n=r(11),o=r(74),a=r(75),i=r(76),s=r(77),c=r(78);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(85);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(36),o=r(82),a=r(9),i=r(39),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(83),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(86),o=r(93),a=r(95),i=r(96),s=r(97);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(141);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?x+w:""}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(31),a=r(149),i=r(151),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},function(t,e,r){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=e.Symbol,a=r(146);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===n(o("foo"))&&("symbol"===n(Symbol("bar"))&&a())))}}).call(this,r(38))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==a.call(e))throw new TypeError(n+e);for(var r,i=o.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,i.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,i.concat(o.call(arguments)))},c=Math.max(0,e.length-i.length),u=[],p=0;p-1?o(r):r}},function(t,e,r){"use strict";var n=r(32),o=r(31),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(152).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==T(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",r)}(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(N(a,e)>=0)return"[Circular]";function j(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var P=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,j);return"[Function"+(P?": "+P:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(D(e)){var B=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?B:U(B)}if(function(t){if(!t||"object"!==n(t))return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var z="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var G=q(e,j);return w&&!function(t){for(var e=0;e=0)return!1;return!0}(G)?"["+M(G,w)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return!("[object Error]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=q(e,j);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var J=[];return s.call(e,(function(t,r){J.push(j(r,e,!0)+" => "+j(t,e))})),I("Map",i.call(e),J,w)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return f.call(e,(function(t){Q.push(j(t,e))})),I("Set",p.call(e),Q,w)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return U(j(g.call(e)));if(function(t){return!("[object Boolean]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(y.call(e));if(function(t){return!("[object String]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(String(e)));if(!function(t){return!("[object Date]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=q(e,j),K=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",Z=!K&&_&&Object(e)===e&&_ in e?T(e).slice(8,-1):Y?"Object":"",tt=(K||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Z||Y?"["+[].concat(Z||[],Y||[]).join(": ")+"] ":"");return 0===X.length?tt+"{}":w?tt+"{"+M(X,w)+"}":tt+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function T(t){return b.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(61);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(62),i=r(0),s=r.n(i),c=r(18),u=r(2),p=r.n(u),f=r(1),l=r.n(f);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(63),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=p()(l.a.mark((function r(){var s;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=p()(l.a.mark((function r(){var n;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),f=function(){var r=p()(l.a.mark((function r(){var s,c;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:f}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=p()(l.a.mark((function t(e){var r,n,o,a,i,c,u,p;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(t){var e=t.http,r=t.params;return function(){var t=p()(l.a.mark((function t(n,o){var a,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},s()(r)),s()(this.stackHeaders)),params:x({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,R(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},_=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},A=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i,c=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},s()(this.stackHeaders)),params:x({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,R(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},H=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,R(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function R(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=A(t,"role"),this.delete=E(t),this.fetch=H(t,"role"))):(this.create=S({http:t}),this.fetchAll=D(t,T),this.query=_({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,Jt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,F)}function F(t,e){return s()(e.organizations||[]).map((function(e){return new U(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=A(t,"content_type"),this.delete=E(t),this.fetch=H(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new G(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=S({http:t}),this.query=_({http:t,wrapperCollection:X}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(s()(e.content_types)||[]).map((function(r){return new Q(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=A(t,"global_field"),this.delete=E(t),this.fetch=H(t,"global_field")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Z}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=A(t,"token"),this.delete=E(t),this.fetch=H(t,"token")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=A(t,"environment"),this.delete=E(t),this.fetch=H(t,"environment")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset")):this.create=S({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset"),this.replace=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=k(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=_({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new W.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object(V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=A(t,"locale"),this.delete=E(t),this.fetch=H(t,"locale")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:pt})),this}function pt(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var ft=r(64),lt=r.n(ft);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=A(t,"extension"),this.delete=E(t),this.fetch=H(t,"extension")):(this.upload=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=S({http:t}),this.query=_({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new W.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object(V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=A(t,"webhook"),this.delete=E(t),this.fetch=H(t,"webhook"),this.executions=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=A(t,"publishing_rule"),this.delete=E(t),this.fetch=H(t,"publishing_rule")):(this.create=S({http:t}),this.fetchAll=D(t,kt))}function kt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=A(t,"workflow"),this.disable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=H(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=p()(l.a.mark((function e(n){var o,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,kt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=S({http:t}),this.fetchAll=D(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function St(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=p()(l.a.mark((function n(o){var a,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:At({},s()(e.stackHeaders)),data:At({},s()(o)),params:At({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=p()(l.a.mark((function n(o){var a,i;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:At({},s()(e.stackHeaders)),params:At({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,Ht));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=A(t,"release"),this.fetch=H(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw h(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=A(t,"label"),this.delete=E(t),this.fetch=H(t,"label")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:It}))}function It(t,e){return(s()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function Mt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,s()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=H(t,"branch")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:qt})),this}function qt(t,e){return(s()(e.branches)||e.branch_aliases||[]).map((function(r){return new Mt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,s()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:zt({},s()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Mt(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=p()(l.a.mark((function e(){var r,n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:zt({},s()(this.stackHeaders)),params:zt({},s()(r))}||{},e.next=5,t.get(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",new Mt(t,R(o,this.stackHeaders)));case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,qt),this}function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new Q(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Mt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Wt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Ut(t,e)},this.users=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Gt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",B(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=p()(l.a.mark((function e(){var n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Gt({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=p()(l.a.mark((function e(){var n,o,a,i=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Gt({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=S({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=_({http:t,wrapperCollection:Jt})),this}function Jt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new $t(t,{stack:e})}))}function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Xt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new q(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new q(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Xt({},s()(t));return new $t(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(65),Zt=r.n(Yt),te=r(66),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=ae(ae({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=ne.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),s()(t))).headers=le(le({},t.headers),o);var i=pe(t);return Kt({http:i})}}]); \ No newline at end of file diff --git a/dist/node/contentstack-management.js b/dist/node/contentstack-management.js index 50c49676..1254c275 100644 --- a/dist/node/contentstack-management.js +++ b/dist/node/contentstack-management.js @@ -1,13 +1,13 @@ -module.exports=function(e){var a={};function t(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var i in e)t.d(n,i,function(a){return e[a]}.bind(null,i));return n},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=193)}([function(e,a,t){var n=t(78);e.exports=function(e){return n(e,5)}},function(e,a,t){e.exports=t(148)},function(e,a){function t(e,a,t,n,i,o,r){try{var s=e[o](r),c=s.value}catch(e){return void t(e)}s.done?a(c):Promise.resolve(c).then(n,i)}e.exports=function(e){return function(){var a=this,n=arguments;return new Promise((function(i,o){var r=e.apply(a,n);function s(e){t(r,i,o,s,c,"next",e)}function c(e){t(r,i,o,s,c,"throw",e)}s(void 0)}))}}},function(e,a){e.exports=function(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}},function(e,a,t){"use strict";function n(e){return(n="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})(e)}var i=t(63),o=Object.prototype.toString;function r(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===n(e)}function p(e){if("[object Object]"!==o.call(e))return!1;var a=Object.getPrototypeOf(e);return null===a||a===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,a){if(null!=e)if("object"!==n(e)&&(e=[e]),r(e))for(var t=0,i=e.length;t1;){var a=e.pop(),t=a.obj[a.prop];if(o(t)){for(var n=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=i.charAt(s):c<128?o+=r[c]:c<2048?o+=r[192|c>>6]+r[128|63&c]:c<55296||c>=57344?o+=r[224|c>>12]+r[128|c>>6&63]+r[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&i.charCodeAt(s)),o+=r[240|c>>18]+r[128|c>>12&63]+r[128|c>>6&63]+r[128|63&c])}return o},isBuffer:function(e){return!(!e||"object"!==n(e))&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,a){if(o(e)){for(var t=[],n=0;n-1&&e%1==0&&e<=9007199254740991}},function(e,a){e.exports=function(e,a){return function(t){return e(a(t))}}},function(e,a,t){var n=t(39),i=t(46);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},function(e,a,t){var n=t(44),i=t(122),o=t(48);e.exports=function(e){return o(e)?n(e,!0):i(e)}},function(e,a){e.exports=function(){return[]}},function(e,a,t){var n=t(52),i=t(53),o=t(28),r=t(50),s=Object.getOwnPropertySymbols?function(e){for(var a=[];e;)n(a,o(e)),e=i(e);return a}:r;e.exports=s},function(e,a){e.exports=function(e,a){for(var t=-1,n=a.length,i=e.length;++ta?1:0}e.exports=function(e,a,t,r){var s=i(e,t);return n(e,a,s,(function t(i,o){i?r(i,o):(s.index++,s.index<(s.keyedList||e).length?n(e,a,s,t):r(null,s.results))})),o.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,a){return-1*r(e,a)}},function(e,a,t){"use strict";var n=String.prototype.replace,i=/%20/g,o=t(35),r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=o.assign({default:r.RFC3986,formatters:{RFC1738:function(e){return n.call(e,i,"+")},RFC3986:function(e){return String(e)}}},r)},function(e,a,t){"use strict";e.exports=function(e,a){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(o)})),e.exports=c},function(e,a,t){"use strict";var n=t(37);e.exports=function(e,a,t){var i=t.config.validateStatus;t.status&&i&&!i(t.status)?a(n("Request failed with status code "+t.status,t.config,null,t.request,t)):e(t)}},function(e,a,t){"use strict";e.exports=function(e,a,t,n,i){return e.config=a,t&&(e.code=t),e.request=n,e.response=i,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}},e}},function(e,a,t){"use strict";var n=t(174),i=t(175);e.exports=function(e,a){return e&&!n(a)?i(e,a):a}},function(e,a,t){function n(e){return(n="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})(e)}var i=t(34),o=i.URL,r=t(32),s=t(33),c=t(31).Writable,p=t(179),u=t(180),l=Object.create(null);["abort","aborted","connect","error","socket","timeout"].forEach((function(e){l[e]=function(a,t,n){this._redirectable.emit(e,a,t,n)}}));var d=j("ERR_FR_REDIRECTION_FAILURE",""),m=j("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),f=j("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=j("ERR_STREAM_WRITE_AFTER_END","write after end");function x(e,a){c.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],a&&this.on("response",a);var t=this;this._onNativeResponse=function(e){t._processResponse(e)},this._performRequest()}function v(e,a){clearTimeout(e._timeout),e._timeout=setTimeout((function(){e.emit("timeout")}),a)}function b(){clearTimeout(this._timeout)}function g(e){var a={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(e).forEach((function(n){var r=n+":",s=t[r]=e[n],c=a[n]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,n,s){if("string"==typeof e){var c=e;try{e=w(new o(c))}catch(a){e=i.parse(c)}}else o&&e instanceof o?e=w(e):(s=n,n=e,e={protocol:r});return"function"==typeof n&&(s=n,n=null),(n=Object.assign({maxRedirects:a.maxRedirects,maxBodyLength:a.maxBodyLength},e,n)).nativeProtocols=t,p.equal(n.protocol,r,"protocol mismatch"),u("options",n),new x(n,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,a,t){var n=c.request(e,a,t);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),a}function y(){}function w(e){var a={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&&(a.port=Number(e.port)),a}function k(e,a){var t;for(var n in a)e.test(n)&&(t=a[n],delete a[n]);return t}function j(e,a){function t(e){Error.captureStackTrace(this,this.constructor),this.message=e||a}return t.prototype=new Error,t.prototype.constructor=t,t.prototype.name="Error ["+e+"]",t.prototype.code=e,t}x.prototype=Object.create(c.prototype),x.prototype.write=function(e,a,t){if(this._ending)throw new h;if(!("string"==typeof e||"object"===n(e)&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof a&&(t=a,a=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:a}),this._currentRequest.write(e,a,t)):(this.emit("error",new f),this.abort()):t&&t()},x.prototype.end=function(e,a,t){if("function"==typeof e?(t=e,e=a=null):"function"==typeof a&&(t=a,a=null),e){var n=this,i=this._currentRequest;this.write(e,a,(function(){n._ended=!0,i.end(null,null,t)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,t)},x.prototype.setHeader=function(e,a){this._options.headers[e]=a,this._currentRequest.setHeader(e,a)},x.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},x.prototype.setTimeout=function(e,a){if(a&&this.once("timeout",a),this.socket)v(this,e);else{var t=this;this._currentRequest.once("socket",(function(){v(t,e)}))}return this.once("response",b),this.once("error",b),this},["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){x.prototype[e]=function(a,t){return this._currentRequest[e](a,t)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(x.prototype,e,{get:function(){return this._currentRequest[e]}})})),x.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 a=e.path.indexOf("?");a<0?e.pathname=e.path:(e.pathname=e.path.substring(0,a),e.search=e.path.substring(a))}},x.prototype._performRequest=function(){var e=this._options.protocol,a=this._options.nativeProtocols[e];if(a){if(this._options.agents){var t=e.substr(0,e.length-1);this._options.agent=this._options.agents[t]}var n=this._currentRequest=a.request(this._options,this._onNativeResponse);for(var o in this._currentUrl=i.format(this._options),n._redirectable=this,l)o&&n.on(o,l[o]);if(this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(a){if(n===s._currentRequest)if(a)s.emit("error",a);else if(r=300&&a<400){if(this._currentRequest.removeAllListeners(),this._currentRequest.on("error",y),this._currentRequest.abort(),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new m);((301===a||302===a)&&"POST"===this._options.method||303===a&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var n=k(/^host$/i,this._options.headers)||i.parse(this._currentUrl).hostname,o=i.resolve(this._currentUrl,t);u("redirecting to",o),this._isRedirect=!0;var r=i.parse(o);if(Object.assign(this._options,r),r.hostname!==n&&k(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new d("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=g({http:r,https:s}),e.exports.wrap=g},function(e,a,t){function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,a){if(!e)return;if("string"==typeof e)return i(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,a)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(e,a){e.exports=function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}},function(e,a){function t(a){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(a)}e.exports=t},function(e,a,t){var n=t(159),i=t(160),o=t(161),r=t(163);e.exports=function(e,a){return n(e)||i(e,a)||o(e,a)||r()}},function(e,a,t){"use strict";var n=t(164),i=t(165),o=t(62);e.exports={formats:o,parse:i,stringify:n}},function(e,a,t){var n=t(79),i=t(109),o=t(42),r=t(111),s=t(121),c=t(124),p=t(125),u=t(126),l=t(128),d=t(129),m=t(130),f=t(29),h=t(135),x=t(136),v=t(142),b=t(24),g=t(45),y=t(144),w=t(9),k=t(146),j=t(23),_={};_["[object Arguments]"]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_["[object Object]"]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_["[object Function]"]=_["[object WeakMap]"]=!1,e.exports=function e(a,t,O,P,S,C){var E,z=1&t,H=2&t,A=4&t;if(O&&(E=S?O(a,P,S,C):O(a)),void 0!==E)return E;if(!w(a))return a;var q=b(a);if(q){if(E=h(a),!z)return p(a,E)}else{var R=f(a),T="[object Function]"==R||"[object GeneratorFunction]"==R;if(g(a))return c(a,z);if("[object Object]"==R||"[object Arguments]"==R||T&&!S){if(E=H||T?{}:v(a),!z)return H?l(a,s(E,a)):u(a,r(E,a))}else{if(!_[R])return S?a:{};E=x(a,R,z)}}C||(C=new n);var D=C.get(a);if(D)return D;C.set(a,E),k(a)?a.forEach((function(n){E.add(e(n,t,O,n,a,C))})):y(a)&&a.forEach((function(n,i){E.set(i,e(n,t,O,i,a,C))}));var L=A?H?m:d:H?keysIn:j,F=q?void 0:L(a);return i(F||a,(function(n,i){F&&(n=a[i=n]),o(E,i,e(n,t,O,i,a,C))})),E}},function(e,a,t){var n=t(11),i=t(85),o=t(86),r=t(87),s=t(88),c=t(89);function p(e){var a=this.__data__=new n(e);this.size=a.size}p.prototype.clear=i,p.prototype.delete=o,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},function(e,a){e.exports=function(){this.__data__=[],this.size=0}},function(e,a,t){var n=t(12),i=Array.prototype.splice;e.exports=function(e){var a=this.__data__,t=n(a,e);return!(t<0)&&(t==a.length-1?a.pop():i.call(a,t,1),--this.size,!0)}},function(e,a,t){var n=t(12);e.exports=function(e){var a=this.__data__,t=n(a,e);return t<0?void 0:a[t][1]}},function(e,a,t){var n=t(12);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,a,t){var n=t(12);e.exports=function(e,a){var t=this.__data__,i=n(t,e);return i<0?(++this.size,t.push([e,a])):t[i][1]=a,this}},function(e,a,t){var n=t(11);e.exports=function(){this.__data__=new n,this.size=0}},function(e,a){e.exports=function(e){var a=this.__data__,t=a.delete(e);return this.size=a.size,t}},function(e,a){e.exports=function(e){return this.__data__.get(e)}},function(e,a){e.exports=function(e){return this.__data__.has(e)}},function(e,a,t){var n=t(11),i=t(21),o=t(96);e.exports=function(e,a){var t=this.__data__;if(t instanceof n){var r=t.__data__;if(!i||r.length<199)return r.push([e,a]),this.size=++t.size,this;t=this.__data__=new o(r)}return t.set(e,a),this.size=t.size,this}},function(e,a,t){var n=t(39),i=t(93),o=t(9),r=t(41),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?d:s).test(r(e))}},function(e,a,t){var n=t(22),i=Object.prototype,o=i.hasOwnProperty,r=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var a=o.call(e,s),t=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=r.call(e);return n&&(a?e[s]=t:delete e[s]),i}},function(e,a){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e,a,t){var n,i=t(94),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},function(e,a,t){var n=t(7)["__core-js_shared__"];e.exports=n},function(e,a){e.exports=function(e,a){return null==e?void 0:e[a]}},function(e,a,t){var n=t(97),i=t(104),o=t(106),r=t(107),s=t(108);function c(e){var a=-1,t=null==e?0:e.length;for(this.clear();++a-1&&e%1==0&&e=0;--i){var o=this.tryEntries[i],r=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--a){var t=this.tryEntries[a];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),j(t),l}},catch:function(e){for(var a=this.tryEntries.length-1;a>=0;--a){var t=this.tryEntries[a];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var i=n.arg;j(t)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,t){return this.delegate={iterator:O(e),resultName:a,nextLoc:t},"next"===this.method&&(this.arg=void 0),l}},e}("object"===a(e)?e.exports:{});try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}).call(this,t(17)(e))},function(e,a,t){var n=t(18),i=t(31).Stream,o=t(150);function r(){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=r,n.inherits(r,i),r.create=function(e){var a=new this;for(var t in e=e||{})a[t]=e[t];return a},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.isStreamLike(e)){if(!(e instanceof o)){var a=o.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=a}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,a){return i.prototype.pipe.call(this,e,a),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var a=e;this.write(a),this._getNext()},r.prototype._handleErrors=function(e){var a=this;e.on("error",(function(e){a._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(a){a.dataSize&&(e.dataSize+=a.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},function(e,a,t){var n=t(31).Stream,i=t(18);function o(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=o,i.inherits(o,n),o.create=function(e,a){var t=new this;for(var n in a=a||{})t[n]=a[n];t.source=e;var i=e.emit;return e.emit=function(){return t._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),t.pauseStream&&e.pause(),t},Object.defineProperty(o.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),o.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},o.prototype.resume=function(){this._released||this.release(),this.source.resume()},o.prototype.pause=function(){this.source.pause()},o.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},o.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},o.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))},o.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))}}},function(e,a,t){"use strict"; +module.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=204)}([function(e,t,n){var a=n(80);e.exports=function(e){return a(e,5)}},function(e,t,n){e.exports=n(150)},function(e,t){function n(e,t,n,a,o,i,r){try{var s=e[i](r),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(a,o)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise((function(o,i){var r=e.apply(t,a);function s(e){n(r,o,i,s,c,"next",e)}function c(e){n(r,o,i,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=n(65),i=Object.prototype.toString;function r(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===a(e)}function p(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!==a(e)&&(e=[e]),r(e))for(var n=0,o=e.length;n1&&"boolean"!=typeof t)throw new r('"allowMissing" argument must be a boolean');var n=_(e),a=n.length>0?n[0]:"",i=S("%"+a+"%",t),s=i.name,p=i.value,u=!1,l=i.alias;l&&(a=l[0],g(n,y([0,1],l)));for(var d=1,m=!0;d=n.length){var w=c(p,f);p=(m=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:p[f]}else m=b(p,f),p=p[f];m&&!u&&(h[s]=p)}}return p}},function(e,t,n){"use strict";var a=n(170);e.exports=Function.prototype.bind||a},function(e,t,n){"use strict";var a=String.prototype.replace,o=/%20/g,i="RFC1738",r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return a.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:r}},function(e,t,n){"use strict";var a=n(4);function o(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(a.isURLSearchParams(t))i=t.toString();else{var r=[];a.forEach(t,(function(e,t){null!=e&&(a.isArray(e)?t+="[]":e=[e],a.forEach(e,(function(e){a.isDate(e)?e=e.toISOString():a.isObject(e)&&(e=JSON.stringify(e)),r.push(o(t)+"="+o(e))})))})),i=r.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,n){"use strict";var a=n(69);e.exports=function(e,t,n,o,i){var r=new Error(e);return a(r,t,n,o,i)}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var a=n(14),o=n(9);e.exports=function(e){if(!o(e))return!1;var t=a(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){function n(e){return(n="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})(e)}var a="object"==("undefined"==typeof global?"undefined":n(global))&&global&&global.Object===Object&&global;e.exports=a},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var a=n(46),o=n(41),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var r=e[t];i.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||a(e,t,n)}},function(e,t,n){var a=n(112);e.exports=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var a=n(114),o=n(115),i=n(24),r=n(48),s=n(118),c=n(119),p=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),l=!n&&!u&&r(e),d=!n&&!u&&!l&&c(e),m=n||u||l||d,f=m?a(e.length,String):[],h=f.length;for(var v in e)!t&&!p.call(e,v)||m&&("length"==v||l&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,h))||f.push(v);return f}},function(e,t,n){(function(e){function a(e){return(a="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})(e)}var o=n(7),i=n(117),r="object"==a(t)&&t&&!t.nodeType&&t,s=r&&"object"==a(e)&&e&&!e.nodeType&&e,c=s&&s.exports===r?o.Buffer:void 0,p=(c?c.isBuffer:void 0)||i;e.exports=p}).call(this,n(18)(e))},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var a=n(42),o=n(49);e.exports=function(e){return null!=e&&o(e.length)&&!a(e)}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var a=n(54),o=n(55),i=n(29),r=n(52),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)a(t,i(e)),e=o(e);return t}:r;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,a=t.length,o=e.length;++nt?1:0}e.exports=function(e,t,n,r){var s=o(e,n);return a(e,t,s,(function n(o,i){o?r(o,i):(s.index++,s.index<(s.keyedList||e).length?a(e,t,s,n):r(null,s.results))})),i.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,t){return-1*r(e,t)}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=n(38),i=Object.prototype.hasOwnProperty,r=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},a=0;a1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var a=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||r===o.RFC1738&&(40===l||41===l)?p+=c.charAt(u):l<128?p+=s[l]:l<2048?p+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?p+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),p+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return p},isBuffer:function(e){return!(!e||"object"!==a(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(r(e)){for(var n=[],a=0;a=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),a.forEach(["post","put","patch"],(function(e){c.headers[e]=a.merge(i)})),e.exports=c},function(e,t,n){"use strict";var a=n(40);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(a("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,o){return e.config=t,n&&(e.code=n),e.request=a,e.response=o,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}},e}},function(e,t,n){"use strict";var a=n(185),o=n(186);e.exports=function(e,t){return e&&!a(t)?o(e,t):t}},function(e,t,n){function a(e){return(a="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})(e)}var o=n(35),i=o.URL,r=n(33),s=n(34),c=n(32).Writable,p=n(190),u=n(191),l=Object.create(null);["abort","aborted","connect","error","socket","timeout"].forEach((function(e){l[e]=function(t,n,a){this._redirectable.emit(e,t,n,a)}}));var d=j("ERR_FR_REDIRECTION_FAILURE",""),m=j("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),f=j("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=j("ERR_STREAM_WRITE_AFTER_END","write after end");function v(e,t){c.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 x(e,t){clearTimeout(e._timeout),e._timeout=setTimeout((function(){e.emit("timeout")}),t)}function b(){clearTimeout(this._timeout)}function y(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(a){var r=a+":",s=n[r]=e[a],c=t[a]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,a,s){if("string"==typeof e){var c=e;try{e=w(new i(c))}catch(t){e=o.parse(c)}}else i&&e instanceof i?e=w(e):(s=a,a=e,e={protocol:r});return"function"==typeof a&&(s=a,a=null),(a=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,a)).nativeProtocols=n,p.equal(a.protocol,r,"protocol mismatch"),u("options",a),new v(a,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var a=c.request(e,t,n);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})})),t}function g(){}function w(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 k(e,t){var n;for(var a in t)e.test(a)&&(n=t[a],delete t[a]);return n}function j(e,t){function n(e){Error.captureStackTrace(this,this.constructor),this.message=e||t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}v.prototype=Object.create(c.prototype),v.prototype.write=function(e,t,n){if(this._ending)throw new h;if(!("string"==typeof e||"object"===a(e)&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof 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 f),this.abort()):n&&n()},v.prototype.end=function(e,t,n){if("function"==typeof e?(n=e,e=t=null):"function"==typeof t&&(n=t,t=null),e){var a=this,o=this._currentRequest;this.write(e,t,(function(){a._ended=!0,o.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},v.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},v.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},v.prototype.setTimeout=function(e,t){if(t&&this.once("timeout",t),this.socket)x(this,e);else{var n=this;this._currentRequest.once("socket",(function(){x(n,e)}))}return this.once("response",b),this.once("error",b),this},["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){v.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(v.prototype,e,{get:function(){return this._currentRequest[e]}})})),v.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))}},v.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(t){if(this._options.agents){var n=e.substr(0,e.length-1);this._options.agent=this._options.agents[n]}var a=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i in this._currentUrl=o.format(this._options),a._redirectable=this,l)i&&a.on(i,l[i]);if(this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(t){if(a===s._currentRequest)if(t)s.emit("error",t);else if(r=300&&t<400){if(this._currentRequest.removeAllListeners(),this._currentRequest.on("error",g),this._currentRequest.abort(),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new m);((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var a=k(/^host$/i,this._options.headers)||o.parse(this._currentUrl).hostname,i=o.resolve(this._currentUrl,n);u("redirecting to",i),this._isRedirect=!0;var r=o.parse(i);if(Object.assign(this._options,r),r.hostname!==a&&k(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new d("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=y({http:r,https:s}),e.exports.wrap=y},function(e,t,n){function a(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.0","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var a=n(161),o=n(162),i=n(163),r=n(165);e.exports=function(e,t){return a(e)||o(e,t)||i(e,t)||r()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var a=n(166),o=n(176),i=n(38);e.exports={formats:i,parse:o,stringify:a}},function(e,t,n){var a=n(81),o=n(111),i=n(45),r=n(113),s=n(123),c=n(126),p=n(127),u=n(128),l=n(130),d=n(131),m=n(132),f=n(30),h=n(137),v=n(138),x=n(144),b=n(24),y=n(48),g=n(146),w=n(9),k=n(148),j=n(23),O=n(28),_={};_["[object Arguments]"]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_["[object Object]"]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_["[object Function]"]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,S,P,E,A){var C,z=1&n,H=2&n,q=4&n;if(S&&(C=E?S(t,P,E,A):S(t)),void 0!==C)return C;if(!w(t))return t;var R=b(t);if(R){if(C=h(t),!z)return p(t,C)}else{var F=f(t),T="[object Function]"==F||"[object GeneratorFunction]"==F;if(y(t))return c(t,z);if("[object Object]"==F||"[object Arguments]"==F||T&&!E){if(C=H||T?{}:x(t),!z)return H?l(t,s(C,t)):u(t,r(C,t))}else{if(!_[F])return E?t:{};C=v(t,F,z)}}A||(A=new a);var D=A.get(t);if(D)return D;A.set(t,C),k(t)?t.forEach((function(a){C.add(e(a,n,S,a,t,A))})):g(t)&&t.forEach((function(a,o){C.set(o,e(a,n,S,o,t,A))}));var L=R?void 0:(q?H?m:d:H?O:j)(t);return o(L||t,(function(a,o){L&&(a=t[o=a]),i(C,o,e(a,n,S,o,t,A))})),C}},function(e,t,n){var a=n(12),o=n(87),i=n(88),r=n(89),s=n(90),c=n(91);function p(e){var t=this.__data__=new a(e);this.size=t.size}p.prototype.clear=o,p.prototype.delete=i,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var a=n(13),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=a(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var a=n(13);e.exports=function(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var a=n(13);e.exports=function(e){return a(this.__data__,e)>-1}},function(e,t,n){var a=n(13);e.exports=function(e,t){var n=this.__data__,o=a(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var a=n(12);e.exports=function(){this.__data__=new a,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var a=n(12),o=n(21),i=n(98);e.exports=function(e,t){var n=this.__data__;if(n instanceof a){var r=n.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var a=n(42),o=n(95),i=n(9),r=n(44),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(a(e)?d:s).test(r(e))}},function(e,t,n){var a=n(22),o=Object.prototype,i=o.hasOwnProperty,r=o.toString,s=a?a.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var a=!0}catch(e){}var o=r.call(e);return a&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var a,o=n(96),i=(a=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var a=n(7)["__core-js_shared__"];e.exports=a},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var a=n(99),o=n(106),i=n(108),r=n(109),s=n(110);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e=0;--o){var i=this.tryEntries[o],r=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var o=a.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(18)(e))},function(e,t,n){var a=n(11),o=n(32).Stream,i=n(152);function r(){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=r,a.inherits(r,o),r.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.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},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.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)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},function(e,t,n){var a=n(32).Stream,o=n(11);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,o.inherits(i,a),i.create=function(e,t){var n=new this;for(var a in t=t||{})n[a]=t[a];n.source=e;var o=e.emit;return e.emit=function(){return n._handleEmit(arguments),o.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=a.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))}}},function(e,t,n){"use strict"; /*! * mime-types * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed - */var n,i,o,r=t(152),s=t(55).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var a=c.exec(e),t=a&&r[a[1].toLowerCase()];return t&&t.charset?t.charset:!(!a||!p.test(a[1]))&&"UTF-8"}a.charset=u,a.charsets={lookup:u},a.contentType=function(e){if(!e||"string"!=typeof e)return!1;var t=-1===e.indexOf("/")?a.lookup(e):e;if(!t)return!1;if(-1===t.indexOf("charset")){var n=a.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t},a.extension=function(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&a.extensions[t[1].toLowerCase()];if(!n||!n.length)return!1;return n[0]},a.extensions=Object.create(null),a.lookup=function(e){if(!e||"string"!=typeof e)return!1;var t=s("x."+e).toLowerCase().substr(1);if(!t)return!1;return a.types[t]||!1},a.types=Object.create(null),n=a.extensions,i=a.types,o=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var a=r[e],t=a.extensions;if(t&&t.length){n[e]=t;for(var s=0;su||p===u&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))},function(e,a,t){ + */var a,o,i,r=n(154),s=n(57).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&r[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},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 a=t.charset(n);a&&(n+="; charset="+a.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),a=n&&t.extensions[n[1].toLowerCase()];if(!a||!a.length)return!1;return a[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);if(!n)return!1;return t.types[n]||!1},t.types=Object.create(null),a=t.extensions,o=t.types,i=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var t=r[e],n=t.extensions;if(n&&n.length){a[e]=n;for(var s=0;su||p===u&&"application/"===o[c].substr(0,12)))continue}o[c]=e}}}))},function(e,t,n){ /*! * mime-db * Copyright(c) 2014 Jonathan Ong * MIT Licensed */ -e.exports=t(153)},function(e){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/a2l":{"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/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/cap+xml":{"source":"iana","charset":"UTF-8","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/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},"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/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":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"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/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/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":{"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},"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/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,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"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/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/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"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"},"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.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/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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"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},"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.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.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.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.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.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-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.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.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":["keynote"]},"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.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.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"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"},"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.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.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.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.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.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.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"},"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.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.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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+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.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"},"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.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.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.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.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.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":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"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-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,"extensions":["xer"]},"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":["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"},"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"]},"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/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"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/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"},"image/avcs":{"source":"iana"},"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/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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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.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/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/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.rosette.annotated-data-model":{"source":"iana"},"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/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/flexfec":{"source":"iana"},"text/fwdred":{"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/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"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.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.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":{"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/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"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"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"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/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/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}}')},function(e,a,t){e.exports={parallel:t(155),serial:t(157),serialOrdered:t(61)}},function(e,a,t){var n=t(56),i=t(59),o=t(60);e.exports=function(e,a,t){var r=i(e);for(;r.index<(r.keyedList||e).length;)n(e,a,r,(function(e,a){e?t(e,a):0!==Object.keys(r.jobs).length||t(null,r.results)})),r.index++;return o.bind(r,t)}},function(e,a){function t(e){return(t="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})(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},function(e,a,t){var n=t(61);e.exports=function(e,a,t){return n(e,a,null,t)}},function(e,a){e.exports=function(e,a){return Object.keys(a).forEach((function(t){e[t]=e[t]||a[t]})),e}},function(e,a){e.exports=function(e){if(Array.isArray(e))return e}},function(e,a){e.exports=function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],n=!0,i=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(t.push(r.value),!a||t.length!==a);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return t}}},function(e,a,t){var n=t(162);e.exports=function(e,a){if(e){if("string"==typeof e)return n(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,a):void 0}}},function(e,a){e.exports=function(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t0?g+b:""}},function(e,a,t){"use strict";var n=t(35),i=Object.prototype.hasOwnProperty,o=Array.isArray,r={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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,a){return String.fromCharCode(parseInt(a,10))}))},c=function(e,a){return e&&"string"==typeof e&&a.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,a,t,n){if(e){var o=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=t.depth>0&&/(\[[^[\]]*])/.exec(o),p=s?o.slice(0,s.index):o,u=[];if(p){if(!t.plainObjects&&i.call(Object.prototype,p)&&!t.allowPrototypes)return;u.push(p)}for(var l=0;t.depth>0&&null!==(s=r.exec(o))&&l=0;--o){var r,s=e[o];if("[]"===s&&t.parseArrays)r=[].concat(i);else{r=t.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);t.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&t.parseArrays&&u<=t.arrayLimit?(r=[])[u]=i:r[p]=i:r={0:i}}i=r}return i}(u,a,t,n)}};e.exports=function(e,a){var t=function(e){if(!e)return r;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 a=void 0===e.charset?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(a);if(""===e||null==e)return t.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,a){var t,p={},u=a.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=a.parameterLimit===1/0?void 0:a.parameterLimit,d=u.split(a.delimiter,l),m=-1,f=a.charset;if(a.charsetSentinel)for(t=0;t-1&&(x=o(x)?[x]:x),i.call(p,h)?p[h]=n.combine(p[h],x):p[h]=x}return p}(e,t):e,l=t.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m=0)return;r[a]="set-cookie"===a?(r[a]?r[a]:[]).concat([t]):r[a]?r[a]+", "+t:t}})),r):r}},function(e,a,t){"use strict";var n=t(4);e.exports=n.isStandardBrowserEnv()?function(){var e,a=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");function i(e){var n=e;return a&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{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 e=i(window.location.href),function(a){var t=n.isString(a)?i(a):a;return t.protocol===e.protocol&&t.host===e.host}}():function(){return!0}},function(e,a,t){"use strict";var n=t(4),i=t(66),o=t(68),r=t(36),s=t(32),c=t(33),p=t(69).http,u=t(69).https,l=t(34),d=t(188),m=t(189),f=t(37),h=t(67),x=/https:?/;e.exports=function(e){return new Promise((function(a,t){var v=function(e){a(e)},b=function(e){t(e)},g=e.data,y=e.headers;if(y["User-Agent"]||y["user-agent"]||(y["User-Agent"]="axios/"+m.version),g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return b(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}y["Content-Length"]=g.length}var w=void 0;e.auth&&(w=(e.auth.username||"")+":"+(e.auth.password||""));var k=o(e.baseURL,e.url),j=l.parse(k),_=j.protocol||"http:";if(!w&&j.auth){var O=j.auth.split(":");w=(O[0]||"")+":"+(O[1]||"")}w&&delete y.Authorization;var P=x.test(_),S=P?e.httpsAgent:e.httpAgent,C={path:r(j.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:y,agent:S,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};e.socketPath?C.socketPath=e.socketPath:(C.hostname=j.hostname,C.port=j.port);var E,z=e.proxy;if(!z&&!1!==z){var H=_.slice(0,-1)+"_proxy",A=process.env[H]||process.env[H.toUpperCase()];if(A){var q=l.parse(A),R=process.env.no_proxy||process.env.NO_PROXY,T=!0;if(R)T=!R.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&j.hostname.substr(j.hostname.length-e.length)===e||j.hostname===e))}));if(T&&(z={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var D=q.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(C.headers.host=j.hostname+(j.port?":"+j.port:""),function e(a,t,n){if(a.hostname=t.host,a.host=t.host,a.port=t.port,a.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");a.headers["Proxy-Authorization"]="Basic "+i}a.beforeRedirect=function(a){a.headers.host=a.host,e(a,t,a.href)}}(C,z,_+"//"+j.hostname+(j.port?":"+j.port:"")+C.path));var L=P&&(!z||x.test(z.protocol));e.transport?E=e.transport:0===e.maxRedirects?E=L?c:s:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),E=L?u:p),e.maxBodyLength>-1&&(C.maxBodyLength=e.maxBodyLength);var F=E.request(C,(function(a){if(!F.aborted){var t=a,o=a.req||F;if(204!==a.statusCode&&"HEAD"!==o.method&&!1!==e.decompress)switch(a.headers["content-encoding"]){case"gzip":case"compress":case"deflate":t=t.pipe(d.createUnzip()),delete a.headers["content-encoding"]}var r={status:a.statusCode,statusText:a.statusMessage,headers:a.headers,config:e,request:o};if("stream"===e.responseType)r.data=t,i(v,b,r);else{var s=[];t.on("data",(function(a){s.push(a),e.maxContentLength>-1&&Buffer.concat(s).length>e.maxContentLength&&(t.destroy(),b(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,o)))})),t.on("error",(function(a){F.aborted||b(h(a,e,null,o))})),t.on("end",(function(){var a=Buffer.concat(s);"arraybuffer"!==e.responseType&&(a=a.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(a=n.stripBOM(a))),r.data=a,i(v,b,r)}))}}}));F.on("error",(function(a){F.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==a.code||b(h(a,e,null,F))})),e.timeout&&F.setTimeout(e.timeout,(function(){F.abort(),b(f("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",F))})),e.cancelToken&&e.cancelToken.promise.then((function(e){F.aborted||(F.abort(),b(e))})),n.isStream(g)?g.on("error",(function(a){b(h(a,e,null,F))})).pipe(F):F.end(g)}))}},function(e,a){e.exports=require("assert")},function(e,a,t){var n;try{n=t(181)("follow-redirects")}catch(e){n=function(){}}e.exports=n},function(e,a,t){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=t(182):e.exports=t(184)},function(e,a,t){var n;a.formatArgs=function(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var t="color: "+this.color;a.splice(1,0,t,"color: inherit");var n=0,i=0;a[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(i=n))})),a.splice(i,0,t)},a.save=function(e){try{e?a.storage.setItem("debug",e):a.storage.removeItem("debug")}catch(e){}},a.load=function(){var e;try{e=a.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},a.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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+)/)},a.storage=function(){try{return localStorage}catch(e){}}(),a.destroy=(n=!1,function(){n||(n=!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`."))}),a.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"],a.log=console.debug||console.log||function(){},e.exports=t(70)(a),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,a){function t(e){return(t="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})(e)}var n=1e3,i=6e4,o=60*i,r=24*o;function s(e,a,t,n){var i=a>=1.5*t;return Math.round(e/t)+" "+n+(i?"s":"")}e.exports=function(e,a){a=a||{};var c=t(e);if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var t=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*t;case"weeks":case"week":case"w":return 6048e5*t;case"days":case"day":case"d":return t*r;case"hours":case"hour":case"hrs":case"hr":case"h":return t*o;case"minutes":case"minute":case"mins":case"min":case"m":return t*i;case"seconds":case"second":case"secs":case"sec":case"s":return t*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}(e);if("number"===c&&isFinite(e))return a.long?function(e){var a=Math.abs(e);if(a>=r)return s(e,a,r,"day");if(a>=o)return s(e,a,o,"hour");if(a>=i)return s(e,a,i,"minute");if(a>=n)return s(e,a,n,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=r)return Math.round(e/r)+"d";if(a>=o)return Math.round(e/o)+"h";if(a>=i)return Math.round(e/i)+"m";if(a>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,a,t){var n=t(185),i=t(18);a.init=function(e){e.inspectOpts={};for(var t=Object.keys(a.inspectOpts),n=0;n=2&&(a.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){}a.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,a){var t=a.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,a){return a.toUpperCase()})),n=process.env[a];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[t]=n,e}),{}),e.exports=t(70)(a);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,a){e.exports=require("tty")},function(e,a,t){"use strict";var n,i=t(19),o=t(187),r=process.env;function s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===n)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!e.isTTY&&!0!==n)return 0;var a=n?1:0;if("win32"===process.platform){var t=i.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:a;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,a)}(e))}o("no-color")||o("no-colors")||o("color=false")?n=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(n=!0),"FORCE_COLOR"in r&&(n=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},function(e,a,t){"use strict";e.exports=function(e,a){a=a||process.argv;var t=e.startsWith("-")?"":1===e.length?"-":"--",n=a.indexOf(t+e),i=a.indexOf("--");return-1!==n&&(-1===i||n2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;b()(this,e);var o=a.data||{};n&&(o.stackHeaders=n),this.items=i(t,o),void 0!==o.schema&&(this.schema=o.schema),void 0!==o.content_type&&(this.content_type=o.content_type),void 0!==o.count&&(this.count=o.count),void 0!==o.notice&&(this.notice=o.notice)};function y(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var a=1;a3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0,o={};n&&(o.headers=n);var r=null;t&&(t.content_type_uid&&(r=t.content_type_uid,delete t.content_type_uid),o.params=w({},s()(t)));var c=function(){var t=h()(m.a.mark((function t(){var s;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a,o);case 3:if(!(s=t.sent).data){t.next=9;break}return r&&(s.data.content_type_uid=r),t.abrupt("return",new g(s,e,n,i));case 9:throw x(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(0),x(t.t0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=h()(m.a.mark((function t(){var n;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o.params=w(w({},o.params),{},{count:!0}),t.prev=1,t.next=4,e.get(a,o);case 4:if(!(n=t.sent).data){t.next=9;break}return t.abrupt("return",n.data);case 9:throw x(n);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),x(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}}(),u=function(){var t=h()(m.a.mark((function t(){var s,c;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=o).params.limit=1,t.prev=2,t.next=5,e.get(a,s);case 5:if(!(c=t.sent).data){t.next=11;break}return r&&(c.data.content_type_uid=r),t.abrupt("return",new g(c,e,n,i));case 11:throw x(c);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(2),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[2,14]])})));return function(){return t.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function _(e){for(var a=1;a4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==o&&(n.locale=o),null!==r&&(n.version=r),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,a.post(t,n,i);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(a,t,n,i){return e.apply(this,arguments)}}(),C=function(){var e=h()(m.a.mark((function e(a){var t,n,i,o,r,c,p,u;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.http,n=a.urlPath,i=a.stackHeaders,o=a.formData,r=a.params,c=a.method,p=void 0===c?"POST":c,u={headers:_(_({},r),s()(i))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",t.post(n,o,u));case 6:return e.abrupt("return",t.put(n,o,u));case 7:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),E=function(e){var a=e.http,t=e.params;return function(){var e=h()(m.a.mark((function e(n,i){var o,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={headers:_(_({},s()(t)),s()(this.stackHeaders)),params:_({},s()(i))}||{},e.prev=1,e.next=4,a.post(this.urlPath,n,o);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(a,T(r,this.stackHeaders,this.content_type_uid)));case 9:throw x(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(a,t){return e.apply(this,arguments)}}()},z=function(e){var a=e.http,t=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(a,this.urlPath,e,this.stackHeaders,t)}},H=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r,c=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},i={},delete(o=s()(this)).stackHeaders,delete o.urlPath,delete o.uid,delete o.org_uid,delete o.api_key,delete o.created_at,delete o.created_by,delete o.deleted_at,delete o.updated_at,delete o.updated_by,delete o.updated_at,i[a]=o,t.prev=15,t.next=18,e.put(this.urlPath,i,{headers:_({},s()(this.stackHeaders)),params:_({},s()(n))});case 18:if(!(r=t.sent).data){t.next=23;break}return t.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 23:throw x(r);case 24:t.next=29;break;case 26:throw t.prev=26,t.t0=t.catch(15),x(t.t0);case 29:case"end":return t.stop()}}),t,this,[[15,26]])})))},A=function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},!0===a&&(i.params.force=!0),t.next=6,e.delete(this.urlPath,i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:if(!(o.status>=200&&o.status<300)){t.next=15;break}return t.abrupt("return",{status:o.status,statusText:o.statusText});case 15:throw x(o);case 16:t.next=21;break;case 18:throw t.prev=18,t.t0=t.catch(1),x(t.t0);case 21:case"end":return t.stop()}}),t,this,[[1,18]])})))},q=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},t.next=5,e.get(this.urlPath,i);case 5:if(!(o=t.sent).data){t.next=11;break}return"entry"===a&&(o.data[a].content_type=o.data.content_type,o.data[a].schema=o.data.schema),t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders,this.content_type_uid)));case 11:throw x(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(1),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[1,14]])})))},R=function(e,a){return h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=_({},s()(n))),t.prev=4,t.next=7,e.get(this.urlPath,i);case 7:if(!(o=t.sent).data){t.next=12;break}return t.abrupt("return",new g(o,e,this.stackHeaders,a));case 12:throw x(o);case 13:t.next=18;break;case 15:throw t.prev=15,t.t0=t.catch(4),x(t.t0);case 18:case"end":return t.stop()}}),t,this,[[4,15]])})))};function T(e,a,t){var n=e.data||{};return a&&(n.stackHeaders=a),t&&(n.content_type_uid=t),n}function D(e,a){return this.urlPath="/roles",this.stackHeaders=a.stackHeaders,a.role?(Object.assign(this,s()(a.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(e,"role"),this.delete=A(e),this.fetch=q(e,"role"))):(this.create=E({http:e}),this.fetchAll=R(e,L),this.query=z({http:e,wrapperCollection:L})),this}function L(e,a){return s()(a.roles||[]).map((function(t){return new D(e,{role:t,stackHeaders:a.stackHeaders})}))}function F(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function B(e){for(var a=1;a0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/stacks"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,Qe));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.transferOwnership=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.addUser=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/share"),{share:B({},n)});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.getInvitations=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/share"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.resendInvitation=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.roles=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/roles"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,L));case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}())):this.fetchAll=R(e,U)}function U(e,a){return s()(a.organizations||[]).map((function(a){return new N(e,{organization:a})}))}function I(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function M(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/content_types",t.content_type?(Object.assign(this,s()(t.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(e,"content_type"),this.delete=A(e),this.fetch=q(e,"content_type"),this.entry=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return n.content_type_uid=a.uid,t&&(n.entry={uid:t}),new Y(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Z}),this.import=function(){var a=h()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function Z(e,a){return(s()(a.content_types)||[]).map((function(t){return new X(e,{content_type:t,stackHeaders:a.stackHeaders})}))}function ee(e){return function(){var a=new K.a,t=Object(W.createReadStream)(e.content_type);return a.append("content_type",t),a}}function ae(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/global_fields",a.global_field?(Object.assign(this,s()(a.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(e,"global_field"),this.delete=A(e),this.fetch=q(e,"global_field")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:te}),this.import=function(){var a=h()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function te(e,a){return(s()(a.global_fields)||[]).map((function(t){return new ae(e,{global_field:t,stackHeaders:a.stackHeaders})}))}function ne(e){return function(){var a=new K.a,t=Object(W.createReadStream)(e.global_field);return a.append("global_field",t),a}}function ie(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/delivery_tokens",a.token?(Object.assign(this,s()(a.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(e,"token"),this.delete=A(e),this.fetch=q(e,"token")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:oe}))}function oe(e,a){return(s()(a.tokens)||[]).map((function(t){return new ie(e,{token:t,stackHeaders:a.stackHeaders})}))}function re(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/environments",a.environment?(Object.assign(this,s()(a.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(e,"environment"),this.delete=A(e),this.fetch=q(e,"environment")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:se}))}function se(e,a){return(s()(a.environments)||[]).map((function(t){return new re(e,{environment:t,stackHeaders:a.stackHeaders})}))}function ce(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a.stackHeaders&&(this.stackHeaders=a.stackHeaders),this.urlPath="/assets/folders",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset")):this.create=E({http:e})}function pe(e){var a=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/assets",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset"),this.replace=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n,method:"PUT"});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.publish=O(e,"asset"),this.unpublish=P(e,"asset")):(this.folder=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new ce(e,n)},this.create=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.query=z({http:e,wrapperCollection:ue})),this}function ue(e,a){return(s()(a.assets)||[]).map((function(t){return new pe(e,{asset:t,stackHeaders:a.stackHeaders})}))}function le(e){return function(){var a=new K.a;"string"==typeof e.parent_uid&&a.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&a.append("asset[description]",e.description),e.tags instanceof Array?a.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("asset[tags]",e.tags),"string"==typeof e.title&&a.append("asset[title]",e.title);var t=Object(W.createReadStream)(e.upload);return a.append("asset[upload]",t),a}}function de(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/locales",a.locale?(Object.assign(this,s()(a.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(e,"locale"),this.delete=A(e),this.fetch=q(e,"locale")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:me})),this}function me(e,a){return(s()(a.locales)||[]).map((function(t){return new de(e,{locale:t,stackHeaders:a.stackHeaders})}))}var fe=t(75),he=t.n(fe);function xe(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/extensions",a.extension?(Object.assign(this,s()(a.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(e,"extension"),this.delete=A(e),this.fetch=q(e,"extension")):(this.upload=function(){var a=h()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw x(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.create=E({http:e}),this.query=z({http:e,wrapperCollection:ve}))}function ve(e,a){return(s()(a.extensions)||[]).map((function(t){return new xe(e,{extension:t,stackHeaders:a.stackHeaders})}))}function be(e){return function(){var a=new K.a;"string"==typeof e.title&&a.append("extension[title]",e.title),"object"===he()(e.scope)&&a.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&a.append("extension[data_type]",e.data_type),"string"==typeof e.type&&a.append("extension[type]",e.type),e.tags instanceof Array?a.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&a.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&a.append("extension[enable]","".concat(e.enable));var t=Object(W.createReadStream)(e.upload);return a.append("extension[upload]",t),a}}function ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ye(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/webhooks",t.webhook?(Object.assign(this,s()(t.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(e,"webhook"),this.delete=A(e),this.fetch=q(e,"webhook"),this.executions=function(){var t=h()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),n&&(i.params=ye({},s()(n))),t.prev=3,t.next=6,e.get("".concat(a.urlPath,"/executions"),i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:throw x(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.retry=function(){var t=h()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/retry"),{execution_uid:n},i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(2),x(t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,13]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.fetchAll=R(e,ke)),this.import=function(){var t=h()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C({http:e,urlPath:"".concat(a.urlPath,"/import"),stackHeaders:a.stackHeaders,formData:je(n)});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new a.constructor(e,T(i,a.stackHeaders)));case 8:throw x(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this}function ke(e,a){return(s()(a.webhooks)||[]).map((function(t){return new we(e,{webhook:t,stackHeaders:a.stackHeaders})}))}function je(e){return function(){var a=new K.a,t=Object(W.createReadStream)(e.webhook);return a.append("webhook",t),a}}function _e(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows/publishing_rules",a.publishing_rule?(Object.assign(this,s()(a.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(e,"publishing_rule"),this.delete=A(e),this.fetch=q(e,"publishing_rule")):(this.create=E({http:e}),this.fetchAll=R(e,Oe))}function Oe(e,a){return(s()(a.publishing_rules)||[]).map((function(t){return new _e(e,{publishing_rule:t,stackHeaders:a.stackHeaders})}))}function Pe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Se(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows",t.workflow?(Object.assign(this,s()(t.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(e,"workflow"),this.disable=h()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Se({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw x(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.enable=h()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Se({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw x(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.delete=A(e),this.fetch=q(e,"workflow")):(this.contentType=function(t){if(t)return{getPublishRules:function(){var a=h()(m.a.mark((function a(n){var i,o;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=Se({},s()(n))),a.prev=3,a.next=6,e.get("/workflows/content_type/".concat(t),i);case 6:if(!(o=a.sent).data){a.next=11;break}return a.abrupt("return",new g(o,e,this.stackHeaders,Oe));case 11:throw x(o);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,this,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),stackHeaders:Se({},a.stackHeaders)}},this.create=E({http:e}),this.fetchAll=R(e,Ee),this.publishRule=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.publishing_rule={uid:t}),new _e(e,n)})}function Ee(e,a){return(s()(a.workflows)||[]).map((function(t){return new Ce(e,{workflow:t,stackHeaders:a.stackHeaders})}))}function ze(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function He(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,t.item&&Object.assign(this,s()(t.item)),t.releaseUid&&(this.urlPath="releases/".concat(t.releaseUid,"/items"),this.delete=function(){var n=h()(m.a.mark((function n(i){var o,r,c;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},void 0===i&&(o={all:!0}),n.prev=2,r={headers:He({},s()(a.stackHeaders)),data:He({},s()(i)),params:He({},s()(o))}||{},n.next=6,e.delete(a.urlPath,r);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new De(e,He(He({},c.data),{},{stackHeaders:t.stackHeaders})));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=h()(m.a.mark((function n(i){var o,r;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={headers:He({},s()(a.stackHeaders))}||{},n.prev=1,n.next=4,e.post(i.item?"releases/".concat(t.releaseUid,"/item"):a.urlPath,i,o);case 4:if(!(r=n.sent).data){n.next=10;break}if(!r.data){n.next=8;break}return n.abrupt("return",new De(e,He(He({},r.data),{},{stackHeaders:t.stackHeaders})));case 8:n.next=11;break;case 10:throw x(r);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:He({},s()(a.stackHeaders)),params:He({},s()(n))}||{},t.next=5,e.get(a.urlPath,i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",new g(o,e,a.stackHeaders,qe));case 10:throw x(o);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,null,[[1,13]])})))),this}function qe(e,a,t){return(s()(a.items)||[]).map((function(n){return new Ae(e,{releaseUid:t,item:n,stackHeaders:a.stackHeaders})}))}function Re(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Te(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/releases",t.release?(Object.assign(this,s()(t.release)),t.release.items&&(this.items=new qe(e,{items:t.release.items,stackHeaders:t.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(e,"release"),this.fetch=q(e,"release"),this.delete=A(e),this.item=function(){return new Ae(e,{releaseUid:a.uid,stackHeaders:a.stackHeaders})},this.deploy=function(){var t=h()(m.a.mark((function t(n){var i,o,r,c,p,u,l;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.environments,o=n.locales,r=n.scheduledAt,c=n.action,p={environments:i,locales:o,scheduledAt:r,action:c},u={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=t.sent).data){t.next=11;break}return t.abrupt("return",l.data);case 11:throw x(l);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.clone=function(){var t=h()(m.a.mark((function t(n){var i,o,r,c,p;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.name,o=n.description,r={name:i,description:o},c={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/clone"),{release:r},c);case 6:if(!(p=t.sent).data){t.next=11;break}return t.abrupt("return",new De(e,p.data));case 11:throw x(p);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Le})),this}function Le(e,a){return(s()(a.releases)||[]).map((function(t){return new De(e,{release:t,stackHeaders:a.stackHeaders})}))}function Fe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Be(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/bulk",this.publish=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",S(e,"/bulk/publish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.unpublish=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",S(e,"/bulk/unpublish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.delete=h()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},t.abrupt("return",S(e,"/bulk/delete",i,o));case 5:case"end":return t.stop()}}),t)})))}function Ue(e,a){this.stackHeaders=a.stackHeaders,this.urlPath="/labels",a.label?(Object.assign(this,s()(a.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(e,"label"),this.delete=A(e),this.fetch=q(e,"label")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ie}))}function Ie(e,a){return(s()(a.labels)||[]).map((function(t){return new Ue(e,{label:t,stackHeaders:a.stackHeaders})}))}function Me(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/branches",a.branch=a.branch||a.branch_alias,delete a.branch_alias,a.branch?(Object.assign(this,s()(a.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=A(e,!0),this.fetch=q(e,"branch")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ve})),this}function Ve(e,a){return(s()(a.branches)||a.branch_aliases||[]).map((function(t){return new Me(e,{branch:t,stackHeaders:a.stackHeaders})}))}function Ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function $e(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/branch_aliases",t.branch_alias?(Object.assign(this,s()(t.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var t=h()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.put(a.urlPath,{branch_alias:{target_branch:n}},{headers:$e({},s()(a.stackHeaders))});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new Me(e,T(i,a.stackHeaders)));case 8:throw x(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.delete=A(e,!0),this.fetch=h()(m.a.mark((function a(){var t,n,i=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,t={headers:$e({},s()(this.stackHeaders))}||{},a.next=5,e.get(this.urlPath,t);case 5:if(!(n=a.sent).data){a.next=10;break}return a.abrupt("return",new Me(e,T(n,this.stackHeaders)));case 10:throw x(n);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,this,[[1,13]])})))):this.fetchAll=R(e,Ve),this}function We(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ye(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.content_type={uid:a}),new X(e,n)},this.locale=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.locale={code:a}),new de(e,n)},this.asset=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new pe(e,n)},this.globalField=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.global_field={uid:a}),new ae(e,n)},this.environment=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.environment={name:a}),new re(e,n)},this.branch=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.branch={uid:a}),new Me(e,n)},this.branchAlias=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.branch_alias={uid:a}),new Ke(e,n)},this.deliveryToken=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.token={uid:a}),new ie(e,n)},this.extension=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.extension={uid:a}),new xe(e,n)},this.workflow=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.workflow={uid:a}),new Ce(e,n)},this.webhook=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.webhook={uid:a}),new we(e,n)},this.label=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.label={uid:a}),new Ue(e,n)},this.release=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.release={uid:a}),new De(e,n)},this.bulkOperation=function(){var a={stackHeaders:t.stackHeaders};return new Ne(e,a)},this.users=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t.urlPath,{params:{include_collaborators:!0},headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",G(e,n.data.stack));case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.transferOwnership=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.settings=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/settings"),{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.resetSettings=h()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",x(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.addSettings=h()(m.a.mark((function a(){var n,i,o=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=o.length>0&&void 0!==o[0]?o[0]:{},a.prev=1,a.next=4,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ye({},s()(t.stackHeaders))});case 4:if(!(i=a.sent).data){a.next=9;break}return a.abrupt("return",i.data.stack_settings);case 9:return a.abrupt("return",x(i));case 10:a.next=15;break;case 12:return a.prev=12,a.t0=a.catch(1),a.abrupt("return",x(a.t0));case 15:case"end":return a.stop()}}),a,null,[[1,12]])}))),this.share=h()(m.a.mark((function a(){var n,i,o,r=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:[],i=r.length>1&&void 0!==r[1]?r[1]:{},a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/share"),{emails:n,roles:i},{headers:Ye({},s()(t.stackHeaders))});case 5:if(!(o=a.sent).data){a.next=10;break}return a.abrupt("return",o.data);case 10:return a.abrupt("return",x(o));case 11:a.next=16;break;case 13:return a.prev=13,a.t0=a.catch(2),a.abrupt("return",x(a.t0));case 16:case"end":return a.stop()}}),a,null,[[2,13]])}))),this.unShare=function(){var a=h()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/unshare"),{email:n},{headers:Ye({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",x(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",x(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.role=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.role={uid:a}),new D(e,n)}):(this.create=E({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=z({http:e,wrapperCollection:Qe})),this}function Qe(e,a){var t=a.stacks||[];return s()(t).map((function(a){return new Je(e,{stack:a})}))}function Xe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ze(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/user-session",{user:e},{params:t}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(a.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new V(a,e.data)),e.data}),x)},logout:function(e){return void 0!==e?a.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):a.delete("/user-session").then((function(e){return a.defaults.headers.common&&delete a.defaults.headers.common.authtoken,delete a.defaults.headers.authtoken,delete a.httpClientParams.authtoken,delete a.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a.get("/user",{params:e}).then((function(e){return new V(a,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ze({},s()(e));return new Je(a,{stack:t})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new N(a,null!==e?{organization:{uid:e}}:null)},axiosInstance:a}}var aa=t(76),ta=t.n(aa),na=t(77),ia=t.n(na),oa=t(20),ra=t.n(oa);function sa(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ca(e){for(var a=1;aa.config.retryLimit)return Promise.reject(o(e));if(a.config.retryDelayOptions)if(a.config.retryDelayOptions.customBackoff){if((c=a.config.retryDelayOptions.customBackoff(i,e))&&c<=0)return Promise.reject(o(e))}else a.config.retryDelayOptions.base&&(c=a.config.retryDelayOptions.base*i);else c=a.config.retryDelay;return e.config.retryCount=i,new Promise((function(a){return setTimeout((function(){return a(t(r(e,n,c)))}),c)}))},this.interceptors={request:null,response:null};var r=function(e,n,i){var o=e.config;return a.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(i," ms before retrying...")),void 0!==t&&void 0!==t.defaults&&(t.defaults.agent===o.agent&&delete o.agent,t.defaults.httpAgent===o.httpAgent&&delete o.httpAgent,t.defaults.httpsAgent===o.httpsAgent&&delete o.httpsAgent),o.data=s(o),o.transformRequest=[function(e){return e}],o},s=function(e){if(e.formdata){var a=e.formdata();return e.headers=ca(ca({},e.headers),a.getHeaders()),a}return e.data};this.interceptors.request=t.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=s(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var t=ra.a.CancelToken.source();e.cancelToken=t.token,e.source=t}return a.paused&&e.retryCount>0?new Promise((function(t){a.unshift({request:e,resolve:t})})):e.retryCount>0?e:new Promise((function(t){e.onComplete=function(){a.running.pop({request:e,resolve:t})},a.push({request:e,resolve:t})}))})),this.interceptors.response=t.interceptors.response.use(o,(function(e){var n=e.config.retryCount,i=null;if(!a.config.retryOnError||n>a.config.retryLimit)return Promise.reject(o(e));var s=a.config.retryDelay,c=e.response;if(c){if(429===c.status)return i="Error with status: ".concat(c.status),++n>a.config.retryLimit?Promise.reject(o(e)):(a.running.shift(),function e(t){if(!a.paused)return a.paused=!0,a.running.length>0&&setTimeout((function(){e(t)}),t),new Promise((function(e){return setTimeout((function(){a.paused=!1;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},a={defaultHostName:"api.contentstack.io"},t="contentstack-management-javascript/".concat(o.version),n=l(t,e.application,e.integration,e.feature),i={"X-User-Agent":t,"User-Agent":n};e.authtoken&&(i.authtoken=e.authtoken),(e=ha(ha({},a),s()(e))).headers=ha(ha({},e.headers),i);var r=ma(e);return ea({http:r})}}]); \ No newline at end of file +e.exports=n(155)},function(e){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/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/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/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},"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/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/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":{"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},"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/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/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/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"},"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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"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.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.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.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.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.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.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.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.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.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.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.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.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},"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-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"},"image/avcs":{"source":"iana"},"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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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/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.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/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/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}}')},function(e,t,n){e.exports={parallel:n(157),serial:n(159),serialOrdered:n(63)}},function(e,t,n){var a=n(58),o=n(61),i=n(62);e.exports=function(e,t,n){var r=o(e);for(;r.index<(r.keyedList||e).length;)a(e,t,r,(function(e,t){e?n(e,t):0!==Object.keys(r.jobs).length||n(null,r.results)})),r.index++;return i.bind(r,n)}},function(e,t){function n(e){return(n="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})(e)}e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":n(process))&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},function(e,t,n){var a=n(63);e.exports=function(e,t,n){return a(e,t,null,n)}},function(e,t){e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,o,i=[],r=!0,s=!1;try{for(n=n.call(e);!(r=(a=n.next()).done)&&(i.push(a.value),!t||i.length!==t);r=!0);}catch(e){s=!0,o=e}finally{try{r||null==n.return||n.return()}finally{if(s)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var a=n(164);e.exports=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n0?j.join(",")||null:void 0}];else if(p(d))O=d;else{var S=Object.keys(j);O=m?S.sort(m):S}for(var P=0;P0?w+g:""}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=n(36),i=n(172),r=n(174),s=o("%TypeError%"),c=o("%WeakMap%",!0),p=o("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),m=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),v=function(e,t){for(var n,a=e;null!==(n=a.next);a=n)if(n.key===t)return a.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 s("Side channel does not contain "+r(e))},get:function(o){if(c&&o&&("object"===a(o)||"function"==typeof o)){if(e)return u(e,o)}else if(p){if(t)return m(t,o)}else if(n)return function(e,t){var n=v(e,t);return n&&n.value}(n,o)},has:function(o){if(c&&o&&("object"===a(o)||"function"==typeof o)){if(e)return d(e,o)}else if(p){if(t)return h(t,o)}else if(n)return function(e,t){return!!v(e,t)}(n,o);return!1},set:function(o,i){c&&o&&("object"===a(o)||"function"==typeof o)?(e||(e=new c),l(e,o,i)):p?(t||(t=new p),f(t,o,i)):(n||(n={key:{},next:null}),function(e,t,n){var a=v(e,t);a?a.value=n:e.next={key:t,next:e.next,value:n}}(n,o,i))}};return o}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=global.Symbol,i=n(169);e.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===a(o("foo"))&&("symbol"===a(Symbol("bar"))&&i())))}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===a(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 i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(e,t,n){"use strict";var a="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError(a+t);for(var n,r=o.call(arguments,1),s=function(){if(this instanceof n){var a=t.apply(this,r.concat(o.call(arguments)));return Object(a)===a?a:this}return t.apply(e,r.concat(o.call(arguments)))},c=Math.max(0,t.length-r.length),p=[],u=0;u-1?o(n):n}},function(e,t,n){"use strict";var a=n(37),o=n(36),i=o("%Function.prototype.apply%"),r=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||a.call(r,i),c=o("%Object.getOwnPropertyDescriptor%",!0),p=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){var t=s(a,r,arguments);if(c&&p){var n=c(t,"length");n.configurable&&p(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var l=function(){return s(a,i,arguments)};p?p(e.exports,"apply",{value:l}):e.exports.apply=l},function(e,t,n){function a(e){return(a="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})(e)}var o="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=o&&i&&"function"==typeof i.get?i.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&p&&"function"==typeof p.get?p.get:null,l=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,v=Object.prototype.toString,x=Function.prototype.toString,b=String.prototype.match,y="function"==typeof BigInt?BigInt.prototype.valueOf:null,g=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===a(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),_=n(175).custom,S=_&&z(_)?_:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function E(e,t,n){var a="double"===(n.quoteStyle||t)?'"':"'";return a+e+a}function A(e){return String(e).replace(/"/g,""")}function C(e){return!("[object Array]"!==R(e)||P&&"object"===a(e)&&P in e)}function z(e){if(k)return e&&"object"===a(e)&&e instanceof Symbol;if("symbol"===a(e))return!0;if(!e||"object"!==a(e)||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,i){var c=n||{};if(q(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=!q(c,"customInspect")||c.customInspect;if("boolean"!=typeof p&&"symbol"!==p)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var a=t.length-n.maxStringLength,o="... "+a+" more character"+(a>1?"s":"");return e(t.slice(0,n.maxStringLength),n)+o}return E(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,T),"single",n)}(t,c);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var v=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=v&&v>0&&"object"===a(t))return C(t)?"[Array]":"[Object]";var g=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}(c,o);if(void 0===i)i=[];else if(F(i,t)>=0)return"[Circular]";function j(t,n,a){if(n&&(i=i.slice()).push(n),a){var r={depth:c.depth};return q(c,"quoteStyle")&&(r.quoteStyle=c.quoteStyle),e(t,r,o+1,i)}return e(t,c,o+1,i)}if("function"==typeof t){var _=function(e){if(e.name)return e.name;var t=b.call(x.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),H=U(t,j);return"[Function"+(_?": "+_:" (anonymous)")+"]"+(H.length>0?" { "+H.join(", ")+" }":"")}if(z(t)){var I=k?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(t);return"object"!==a(t)||k?I:D(I)}if(function(e){if(!e||"object"!==a(e))return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var M="<"+String(t.nodeName).toLowerCase(),W=t.attributes||[],G=0;G"}if(C(t)){if(0===t.length)return"[]";var V=U(t,j);return g&&!function(e){for(var t=0;t=0)return!1;return!0}(V)?"["+B(V,g)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==R(e)||P&&"object"===a(e)&&P in e)}(t)){var $=U(t,j);return 0===$.length?"["+String(t)+"]":"{ ["+String(t)+"] "+$.join(", ")+" }"}if("object"===a(t)&&p){if(S&&"function"==typeof t[S])return t[S]();if("symbol"!==p&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!==a(e))return!1;try{r.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var J=[];return s.call(t,(function(e,n){J.push(j(n,t,!0)+" => "+j(e,t))})),N("Map",r.call(t),J,g)}if(function(e){if(!u||!e||"object"!==a(e))return!1;try{u.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var K=[];return l.call(t,(function(e){K.push(j(e,t))})),N("Set",u.call(t),K,g)}if(function(e){if(!d||!e||"object"!==a(e))return!1;try{d.call(e,d);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return L("WeakMap");if(function(e){if(!m||!e||"object"!==a(e))return!1;try{m.call(e,m);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return L("WeakSet");if(function(e){if(!f||!e||"object"!==a(e))return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return L("WeakRef");if(function(e){return!("[object Number]"!==R(e)||P&&"object"===a(e)&&P in e)}(t))return D(j(Number(t)));if(function(e){if(!e||"object"!==a(e)||!y)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return D(j(y.call(t)));if(function(e){return!("[object Boolean]"!==R(e)||P&&"object"===a(e)&&P in e)}(t))return D(h.call(t));if(function(e){return!("[object String]"!==R(e)||P&&"object"===a(e)&&P in e)}(t))return D(j(String(t)));if(!function(e){return!("[object Date]"!==R(e)||P&&"object"===a(e)&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==R(e)||P&&"object"===a(e)&&P in e)}(t)){var Y=U(t,j),Q=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,X=t instanceof Object?"":"null prototype",Z=!Q&&P&&Object(t)===t&&P in t?R(t).slice(8,-1):X?"Object":"",ee=(Q||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(Z||X?"["+[].concat(Z||[],X||[]).join(": ")+"] ":"");return 0===Y.length?ee+"{}":g?ee+"{"+B(Y,g)+"}":ee+"{ "+Y.join(", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return H.call(e,t)}function R(e){return v.call(e)}function F(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,a=e.length;n-1?e.split(","):e},p=function(e,t,n,a){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),p=s?i.slice(0,s.index):i,u=[];if(p){if(!n.plainObjects&&o.call(Object.prototype,p)&&!n.allowPrototypes)return;u.push(p)}for(var l=0;n.depth>0&&null!==(s=r.exec(i))&&l=0;--i){var r,s=e[i];if("[]"===s&&n.parseArrays)r=[].concat(o);else{r=n.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);n.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(r=[])[u]=o:r[p]=o:r={0:o}}o=r}return o}(u,t,n,a)}};e.exports=function(e,t){var n=function(e){if(!e)return r;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?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:r.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||a.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,p={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,l),m=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(v=i(v)?[v]:v),o.call(p,h)?p[h]=a.combine(p[h],v):p[h]=v}return p}(e,n):e,l=n.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},function(e,t,n){"use strict";var a=n(4);e.exports=a.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var a=e;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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=o(window.location.href),function(t){var n=a.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var a=n(4),o=n(68),i=n(70),r=n(39),s=n(33),c=n(34),p=n(71).http,u=n(71).https,l=n(35),d=n(199),m=n(200),f=n(40),h=n(69),v=/https:?/;e.exports=function(e){return new Promise((function(t,n){var x=function(e){t(e)},b=function(e){n(e)},y=e.data,g=e.headers;if(g["User-Agent"]||g["user-agent"]||(g["User-Agent"]="axios/"+m.version),y&&!a.isStream(y)){if(Buffer.isBuffer(y));else if(a.isArrayBuffer(y))y=Buffer.from(new Uint8Array(y));else{if(!a.isString(y))return b(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));y=Buffer.from(y,"utf-8")}g["Content-Length"]=y.length}var w=void 0;e.auth&&(w=(e.auth.username||"")+":"+(e.auth.password||""));var k=i(e.baseURL,e.url),j=l.parse(k),O=j.protocol||"http:";if(!w&&j.auth){var _=j.auth.split(":");w=(_[0]||"")+":"+(_[1]||"")}w&&delete g.Authorization;var S=v.test(O),P=S?e.httpsAgent:e.httpAgent,E={path:r(j.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:g,agent:P,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};e.socketPath?E.socketPath=e.socketPath:(E.hostname=j.hostname,E.port=j.port);var A,C=e.proxy;if(!C&&!1!==C){var z=O.slice(0,-1)+"_proxy",H=process.env[z]||process.env[z.toUpperCase()];if(H){var q=l.parse(H),R=process.env.no_proxy||process.env.NO_PROXY,F=!0;if(R)F=!R.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&j.hostname.substr(j.hostname.length-e.length)===e||j.hostname===e))}));if(F&&(C={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var T=q.auth.split(":");C.auth={username:T[0],password:T[1]}}}}C&&(E.headers.host=j.hostname+(j.port?":"+j.port:""),function e(t,n,a){if(t.hostname=n.host,t.host=n.host,t.port=n.port,t.path=a,n.auth){var o=Buffer.from(n.auth.username+":"+n.auth.password,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+o}t.beforeRedirect=function(t){t.headers.host=t.host,e(t,n,t.href)}}(E,C,O+"//"+j.hostname+(j.port?":"+j.port:"")+E.path));var D=S&&(!C||v.test(C.protocol));e.transport?A=e.transport:0===e.maxRedirects?A=D?c:s:(e.maxRedirects&&(E.maxRedirects=e.maxRedirects),A=D?u:p),e.maxBodyLength>-1&&(E.maxBodyLength=e.maxBodyLength);var L=A.request(E,(function(t){if(!L.aborted){var n=t,i=t.req||L;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 r={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:i};if("stream"===e.responseType)r.data=n,o(x,b,r);else{var s=[];n.on("data",(function(t){s.push(t),e.maxContentLength>-1&&Buffer.concat(s).length>e.maxContentLength&&(n.destroy(),b(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,i)))})),n.on("error",(function(t){L.aborted||b(h(t,e,null,i))})),n.on("end",(function(){var t=Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=a.stripBOM(t))),r.data=t,o(x,b,r)}))}}}));L.on("error",(function(t){L.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||b(h(t,e,null,L))})),e.timeout&&L.setTimeout(e.timeout,(function(){L.abort(),b(f("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",L))})),e.cancelToken&&e.cancelToken.promise.then((function(e){L.aborted||(L.abort(),b(e))})),a.isStream(y)?y.on("error",(function(t){b(h(t,e,null,L))})).pipe(L):L.end(y)}))}},function(e,t){e.exports=require("assert")},function(e,t,n){var a;try{a=n(192)("follow-redirects")}catch(e){a=function(){}}e.exports=a},function(e,t,n){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(193):e.exports=n(195)},function(e,t,n){var a;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;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var a=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(o=a))})),t.splice(o,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){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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=(a=!1,function(){a||(a=!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||function(){},e.exports=n(72)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){function n(e){return(n="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})(e)}var a=1e3,o=6e4,i=60*o,r=24*i;function s(e,t,n,a){var o=t>=1.5*n;return Math.round(e/n)+" "+a+(o?"s":"")}e.exports=function(e,t){t=t||{};var c=n(e);if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\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(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*r;case"hours":case"hour":case"hrs":case"hr":case"h":return n*i;case"minutes":case"minute":case"mins":case"min":case"m":return n*o;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=r)return s(e,t,r,"day");if(t>=i)return s(e,t,i,"hour");if(t>=o)return s(e,t,o,"minute");if(t>=a)return s(e,t,a,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=r)return Math.round(e/r)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=o)return Math.round(e/o)+"m";if(t>=a)return Math.round(e/a)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){var a=n(196),o=n(11);t.init=function(e){e.inspectOpts={};for(var n=Object.keys(t.inspectOpts),a=0;a=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()})),a=process.env[t];return a=!!/^(yes|on|true|enabled)$/i.test(a)||!/^(no|off|false|disabled)$/i.test(a)&&("null"===a?null:Number(a)),e[n]=a,e}),{}),e.exports=n(72)(t);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},function(e,t){e.exports=require("tty")},function(e,t,n){"use strict";var a,o=n(19),i=n(198),r=process.env;function s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==a)return 0;var t=a?1:0;if("win32"===process.platform){var n=o.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:t;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,t)}(e))}i("no-color")||i("no-colors")||i("color=false")?a=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=!0),"FORCE_COLOR"in r&&(a=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},function(e,t,n){"use strict";e.exports=function(e,t){t=t||process.argv;var n=e.startsWith("-")?"":1===e.length?"-":"--",a=t.indexOf(n+e),o=t.indexOf("--");return-1!==a&&(-1===o||a2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,e);var i=t.data||{};a&&(i.stackHeaders=a),this.items=o(n,i),void 0!==i.schema&&(this.schema=i.schema),void 0!==i.content_type&&(this.content_type=i.content_type),void 0!==i.count&&(this.count=i.count),void 0!==i.notice&&(this.notice=i.notice)};function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function w(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,i={};a&&(i.headers=a);var r=null;n&&(n.content_type_uid&&(r=n.content_type_uid,delete n.content_type_uid),i.params=w({},s()(n)));var c=function(){var n=m()(h.a.mark((function n(){var s;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.get(t,i);case 3:if(!(s=n.sent).data){n.next=9;break}return r&&(s.data.content_type_uid=r),n.abrupt("return",new y(s,e,a,o));case 9:throw v(s);case 10:n.next=15;break;case 12:throw n.prev=12,n.t0=n.catch(0),v(n.t0);case 15:case"end":return n.stop()}}),n,null,[[0,12]])})));return function(){return n.apply(this,arguments)}}(),p=function(){var n=m()(h.a.mark((function n(){var a;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i.params=w(w({},i.params),{},{count:!0}),n.prev=1,n.next=4,e.get(t,i);case 4:if(!(a=n.sent).data){n.next=9;break}return n.abrupt("return",a.data);case 9:throw v(a);case 10:n.next=15;break;case 12:throw n.prev=12,n.t0=n.catch(1),v(n.t0);case 15:case"end":return n.stop()}}),n,null,[[1,12]])})));return function(){return n.apply(this,arguments)}}(),u=function(){var n=m()(h.a.mark((function n(){var s,c;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(s=i).params.limit=1,n.prev=2,n.next=5,e.get(t,s);case 5:if(!(c=n.sent).data){n.next=11;break}return r&&(c.data.content_type_uid=r),n.abrupt("return",new y(c,e,a,o));case 11:throw v(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),v(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(){return n.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function O(e){for(var t=1;t4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==i&&(a.locale=i),null!==r&&(a.version=r),null!==s&&(a.scheduled_at=s),e.prev=6,e.next=9,t.post(n,a,o);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw v(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),v(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(t,n,a,o){return e.apply(this,arguments)}}(),E=function(){var e=m()(h.a.mark((function e(t){var n,a,o,i,r,c,p,u;return h.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.http,a=t.urlPath,o=t.stackHeaders,i=t.formData,r=t.params,c=t.method,p=void 0===c?"POST":c,u={headers:O(O({},r),s()(o))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",n.post(a,i,u));case 6:return e.abrupt("return",n.put(a,i,u));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.http,n=e.params;return function(){var e=m()(h.a.mark((function e(a,o){var i,r;return h.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={headers:O(O({},s()(n)),s()(this.stackHeaders)),params:O({},s()(o))}||{},e.prev=1,e.next=4,t.post(this.urlPath,a,i);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(t,F(r,this.stackHeaders,this.content_type_uid)));case 9:throw v(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),v(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(t,n){return e.apply(this,arguments)}}()},C=function(e){var t=e.http,n=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(t,this.urlPath,e,this.stackHeaders,n)}},z=function(e,t){return m()(h.a.mark((function n(){var a,o,i,r,c=arguments;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(i=s()(this)).stackHeaders,delete i.urlPath,delete i.uid,delete i.org_uid,delete i.api_key,delete i.created_at,delete i.created_by,delete i.deleted_at,delete i.updated_at,delete i.updated_by,delete i.updated_at,o[t]=i,n.prev=15,n.next=18,e.put(this.urlPath,o,{headers:O({},s()(this.stackHeaders)),params:O({},s()(a))});case 18:if(!(r=n.sent).data){n.next=23;break}return n.abrupt("return",new this.constructor(e,F(r,this.stackHeaders,this.content_type_uid)));case 23:throw v(r);case 24:n.next=29;break;case 26:throw n.prev=26,n.t0=n.catch(15),v(n.t0);case 29:case"end":return n.stop()}}),n,this,[[15,26]])})))},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return m()(h.a.mark((function n(){var a,o,i,r=arguments;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},n.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(a))}||{},!0===t&&(o.params.force=!0),n.next=6,e.delete(this.urlPath,o);case 6:if(!(i=n.sent).data){n.next=11;break}return n.abrupt("return",i.data);case 11:if(!(i.status>=200&&i.status<300)){n.next=15;break}return n.abrupt("return",{status:i.status,statusText:i.statusText});case 15:throw v(i);case 16:n.next=21;break;case 18:throw n.prev=18,n.t0=n.catch(1),v(n.t0);case 21:case"end":return n.stop()}}),n,this,[[1,18]])})))},q=function(e,t){return m()(h.a.mark((function n(){var a,o,i,r=arguments;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},n.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(a))}||{},n.next=5,e.get(this.urlPath,o);case 5:if(!(i=n.sent).data){n.next=11;break}return"entry"===t&&(i.data[t].content_type=i.data.content_type,i.data[t].schema=i.data.schema),n.abrupt("return",new this.constructor(e,F(i,this.stackHeaders,this.content_type_uid)));case 11:throw v(i);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(1),v(n.t0);case 17:case"end":return n.stop()}}),n,this,[[1,14]])})))},R=function(e,t){return m()(h.a.mark((function n(){var a,o,i,r=arguments;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),a&&(o.params=O({},s()(a))),n.prev=4,n.next=7,e.get(this.urlPath,o);case 7:if(!(i=n.sent).data){n.next=12;break}return n.abrupt("return",new y(i,e,this.stackHeaders,t));case 12:throw v(i);case 13:n.next=18;break;case 15:throw n.prev=15,n.t0=n.catch(4),v(n.t0);case 18:case"end":return n.stop()}}),n,this,[[4,15]])})))};function F(e,t,n){var a=e.data||{};return t&&(a.stackHeaders=t),n&&(a.content_type_uid=n),a}function T(e,t){return this.urlPath="/roles",this.stackHeaders=t.stackHeaders,t.role?(Object.assign(this,s()(t.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=z(e,"role"),this.delete=H(e),this.fetch=q(e,"role"))):(this.create=A({http:e}),this.fetchAll=R(e,D),this.query=C({http:e,wrapperCollection:D})),this}function D(e,t){return s()(t.roles||[]).map((function(n){return new T(e,{role:n,stackHeaders:t.stackHeaders})}))}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function N(e){for(var t=1;t0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var t=m()(h.a.mark((function t(a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/stacks"),{params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,Qe));case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.transferOwnership=function(){var t=m()(h.a.mark((function t(a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/transfer_ownership"),{transfer_to:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.addUser=function(){var t=m()(h.a.mark((function t(a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/share"),{share:N({},a)});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.getInvitations=function(){var t=m()(h.a.mark((function t(a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/share"),{params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.resendInvitation=function(){var t=m()(h.a.mark((function t(a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/").concat(a,"/resend_invitation"));case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.roles=function(){var t=m()(h.a.mark((function t(a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/roles"),{params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,D));case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}())):this.fetchAll=R(e,U)}function U(e,t){return s()(t.organizations||[]).map((function(t){return new B(e,{organization:t})}))}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/content_types",n.content_type?(Object.assign(this,s()(n.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=z(e,"content_type"),this.delete=H(e),this.fetch=q(e,"content_type"),this.entry=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:t.stackHeaders};return a.content_type_uid=t.uid,n&&(a.entry={uid:n}),new K(e,a)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Z}),this.import=function(){var t=m()(h.a.mark((function t(n){var a;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(n)});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(a,this.stackHeaders)));case 8:throw v(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function Z(e,t){return(s()(t.content_types)||[]).map((function(n){return new X(e,{content_type:n,stackHeaders:t.stackHeaders})}))}function ee(e){return function(){var t=new $.a,n=Object(J.createReadStream)(e.content_type);return t.append("content_type",n),t}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/global_fields",t.global_field?(Object.assign(this,s()(t.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=z(e,"global_field"),this.delete=H(e),this.fetch=q(e,"global_field")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ne}),this.import=function(){var t=m()(h.a.mark((function t(n){var a;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ae(n)});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(a,this.stackHeaders)));case 8:throw v(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function ne(e,t){return(s()(t.global_fields)||[]).map((function(n){return new te(e,{global_field:n,stackHeaders:t.stackHeaders})}))}function ae(e){return function(){var t=new $.a,n=Object(J.createReadStream)(e.global_field);return t.append("global_field",n),t}}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/delivery_tokens",t.token?(Object.assign(this,s()(t.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=z(e,"token"),this.delete=H(e),this.fetch=q(e,"token")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ie}))}function ie(e,t){return(s()(t.tokens)||[]).map((function(n){return new oe(e,{token:n,stackHeaders:t.stackHeaders})}))}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/environments",t.environment?(Object.assign(this,s()(t.environment)),this.urlPath="/environments/".concat(this.name),this.update=z(e,"environment"),this.delete=H(e),this.fetch=q(e,"environment")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:se}))}function se(e,t){return(s()(t.environments)||[]).map((function(n){return new re(e,{environment:n,stackHeaders:t.stackHeaders})}))}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stackHeaders&&(this.stackHeaders=t.stackHeaders),this.urlPath="/assets/folders",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=z(e,"asset"),this.delete=H(e),this.fetch=q(e,"asset")):this.create=A({http:e})}function pe(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/assets",n.asset?(Object.assign(this,s()(n.asset)),this.urlPath="/assets/".concat(this.uid),this.update=z(e,"asset"),this.delete=H(e),this.fetch=q(e,"asset"),this.replace=function(){var t=m()(h.a.mark((function t(n,a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(n),params:a,method:"PUT"});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(o,this.stackHeaders)));case 8:throw v(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,n){return t.apply(this,arguments)}}(),this.publish=_(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:t.stackHeaders};return n&&(a.asset={uid:n}),new ce(e,a)},this.create=function(){var t=m()(h.a.mark((function t(n,a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(n),params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(o,this.stackHeaders)));case 8:throw v(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,n){return t.apply(this,arguments)}}(),this.query=C({http:e,wrapperCollection:ue})),this}function ue(e,t){return(s()(t.assets)||[]).map((function(n){return new pe(e,{asset:n,stackHeaders:t.stackHeaders})}))}function le(e){return function(){var t=new $.a;"string"==typeof e.parent_uid&&t.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&t.append("asset[description]",e.description),e.tags instanceof Array?t.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("asset[tags]",e.tags),"string"==typeof e.title&&t.append("asset[title]",e.title);var n=Object(J.createReadStream)(e.upload);return t.append("asset[upload]",n),t}}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/locales",t.locale?(Object.assign(this,s()(t.locale)),this.urlPath="/locales/".concat(this.code),this.update=z(e,"locale"),this.delete=H(e),this.fetch=q(e,"locale")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:me})),this}function me(e,t){return(s()(t.locales)||[]).map((function(n){return new de(e,{locale:n,stackHeaders:t.stackHeaders})}))}var fe=n(77),he=n.n(fe);function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/extensions",t.extension?(Object.assign(this,s()(t.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=z(e,"extension"),this.delete=H(e),this.fetch=q(e,"extension")):(this.upload=function(){var t=m()(h.a.mark((function t(n,a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(n),params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(o,this.stackHeaders)));case 8:throw v(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,n){return t.apply(this,arguments)}}(),this.create=A({http:e}),this.query=C({http:e,wrapperCollection:xe}))}function xe(e,t){return(s()(t.extensions)||[]).map((function(n){return new ve(e,{extension:n,stackHeaders:t.stackHeaders})}))}function be(e){return function(){var t=new $.a;"string"==typeof e.title&&t.append("extension[title]",e.title),"object"===he()(e.scope)&&t.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&t.append("extension[data_type]",e.data_type),"string"==typeof e.type&&t.append("extension[type]",e.type),e.tags instanceof Array?t.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&t.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&t.append("extension[enable]","".concat(e.enable));var n=Object(J.createReadStream)(e.upload);return t.append("extension[upload]",n),t}}function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ge(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/webhooks",n.webhook?(Object.assign(this,s()(n.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=z(e,"webhook"),this.delete=H(e),this.fetch=q(e,"webhook"),this.executions=function(){var n=m()(h.a.mark((function n(a){var o,i;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),a&&(o.params=ge({},s()(a))),n.prev=3,n.next=6,e.get("".concat(t.urlPath,"/executions"),o);case 6:if(!(i=n.sent).data){n.next=11;break}return n.abrupt("return",i.data);case 11:throw v(i);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(3),v(n.t0);case 17:case"end":return n.stop()}}),n,null,[[3,14]])})));return function(e){return n.apply(this,arguments)}}(),this.retry=function(){var n=m()(h.a.mark((function n(a){var o,i;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),n.prev=2,n.next=5,e.post("".concat(t.urlPath,"/retry"),{execution_uid:a},o);case 5:if(!(i=n.sent).data){n.next=10;break}return n.abrupt("return",i.data);case 10:throw v(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(2),v(n.t0);case 16:case"end":return n.stop()}}),n,null,[[2,13]])})));return function(e){return n.apply(this,arguments)}}()):(this.create=A({http:e}),this.fetchAll=R(e,ke)),this.import=function(){var n=m()(h.a.mark((function n(a){var o;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,E({http:e,urlPath:"".concat(t.urlPath,"/import"),stackHeaders:t.stackHeaders,formData:je(a)});case 3:if(!(o=n.sent).data){n.next=8;break}return n.abrupt("return",new t.constructor(e,F(o,t.stackHeaders)));case 8:throw v(o);case 9:n.next=14;break;case 11:throw n.prev=11,n.t0=n.catch(0),v(n.t0);case 14:case"end":return n.stop()}}),n,null,[[0,11]])})));return function(e){return n.apply(this,arguments)}}(),this}function ke(e,t){return(s()(t.webhooks)||[]).map((function(n){return new we(e,{webhook:n,stackHeaders:t.stackHeaders})}))}function je(e){return function(){var t=new $.a,n=Object(J.createReadStream)(e.webhook);return t.append("webhook",n),t}}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows/publishing_rules",t.publishing_rule?(Object.assign(this,s()(t.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=z(e,"publishing_rule"),this.delete=H(e),this.fetch=q(e,"publishing_rule")):(this.create=A({http:e}),this.fetchAll=R(e,_e))}function _e(e,t){return(s()(t.publishing_rules)||[]).map((function(n){return new Oe(e,{publishing_rule:n,stackHeaders:t.stackHeaders})}))}function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=n.stackHeaders,this.urlPath="/workflows",n.workflow?(Object.assign(this,s()(n.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=z(e,"workflow"),this.disable=m()(h.a.mark((function t(){var n;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data);case 8:throw v(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.enable=m()(h.a.mark((function t(){var n;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data);case 8:throw v(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.delete=H(e),this.fetch=q(e,"workflow")):(this.contentType=function(n){if(n)return{getPublishRules:function(){var t=m()(h.a.mark((function t(a){var o,i;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),a&&(o.params=Pe({},s()(a))),t.prev=3,t.next=6,e.get("/workflows/content_type/".concat(n),o);case 6:if(!(i=t.sent).data){t.next=11;break}return t.abrupt("return",new y(i,e,this.stackHeaders,_e));case 11:throw v(i);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),v(t.t0);case 17:case"end":return t.stop()}}),t,this,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),stackHeaders:Pe({},t.stackHeaders)}},this.create=A({http:e}),this.fetchAll=R(e,Ae),this.publishRule=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:t.stackHeaders};return n&&(a.publishing_rule={uid:n}),new Oe(e,a)})}function Ae(e,t){return(s()(t.workflows)||[]).map((function(n){return new Ee(e,{workflow:n,stackHeaders:t.stackHeaders})}))}function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,n.item&&Object.assign(this,s()(n.item)),n.releaseUid&&(this.urlPath="releases/".concat(n.releaseUid,"/items"),this.delete=function(){var a=m()(h.a.mark((function a(o){var i,r,c;return h.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={},void 0===o&&(i={all:!0}),a.prev=2,r={headers:ze({},s()(t.stackHeaders)),data:ze({},s()(o)),params:ze({},s()(i))}||{},a.next=6,e.delete(t.urlPath,r);case 6:if(!(c=a.sent).data){a.next=11;break}return a.abrupt("return",new Te(e,ze(ze({},c.data),{},{stackHeaders:n.stackHeaders})));case 11:throw v(c);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(2),v(a.t0);case 17:case"end":return a.stop()}}),a,null,[[2,14]])})));return function(e){return a.apply(this,arguments)}}(),this.create=function(){var a=m()(h.a.mark((function a(o){var i,r;return h.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={headers:ze({},s()(t.stackHeaders))}||{},a.prev=1,a.next=4,e.post(o.item?"releases/".concat(n.releaseUid,"/item"):t.urlPath,o,i);case 4:if(!(r=a.sent).data){a.next=10;break}if(!r.data){a.next=8;break}return a.abrupt("return",new Te(e,ze(ze({},r.data),{},{stackHeaders:n.stackHeaders})));case 8:a.next=11;break;case 10:throw v(r);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(1),v(a.t0);case 16:case"end":return a.stop()}}),a,null,[[1,13]])})));return function(e){return a.apply(this,arguments)}}(),this.findAll=m()(h.a.mark((function n(){var a,o,i,r=arguments;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},n.prev=1,o={headers:ze({},s()(t.stackHeaders)),params:ze({},s()(a))}||{},n.next=5,e.get(t.urlPath,o);case 5:if(!(i=n.sent).data){n.next=10;break}return n.abrupt("return",new y(i,e,t.stackHeaders,qe));case 10:throw v(i);case 11:n.next=16;break;case 13:n.prev=13,n.t0=n.catch(1),v(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})))),this}function qe(e,t,n){return(s()(t.items)||[]).map((function(a){return new He(e,{releaseUid:n,item:a,stackHeaders:t.stackHeaders})}))}function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Fe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/releases",n.release?(Object.assign(this,s()(n.release)),n.release.items&&(this.items=new qe(e,{items:n.release.items,stackHeaders:n.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=z(e,"release"),this.fetch=q(e,"release"),this.delete=H(e),this.item=function(){return new He(e,{releaseUid:t.uid,stackHeaders:t.stackHeaders})},this.deploy=function(){var n=m()(h.a.mark((function n(a){var o,i,r,c,p,u,l;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.environments,i=a.locales,r=a.scheduledAt,c=a.action,p={environments:o,locales:i,scheduledAt:r,action:c},u={headers:Fe({},s()(t.stackHeaders))}||{},n.prev=3,n.next=6,e.post("".concat(t.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=n.sent).data){n.next=11;break}return n.abrupt("return",l.data);case 11:throw v(l);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(3),v(n.t0);case 17:case"end":return n.stop()}}),n,null,[[3,14]])})));return function(e){return n.apply(this,arguments)}}(),this.clone=function(){var n=m()(h.a.mark((function n(a){var o,i,r,c,p;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.name,i=a.description,r={name:o,description:i},c={headers:Fe({},s()(t.stackHeaders))}||{},n.prev=3,n.next=6,e.post("".concat(t.urlPath,"/clone"),{release:r},c);case 6:if(!(p=n.sent).data){n.next=11;break}return n.abrupt("return",new Te(e,p.data));case 11:throw v(p);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(3),v(n.t0);case 17:case"end":return n.stop()}}),n,null,[[3,14]])})));return function(e){return n.apply(this,arguments)}}()):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:De})),this}function De(e,t){return(s()(t.releases)||[]).map((function(n){return new Te(e,{release:n,stackHeaders:t.stackHeaders})}))}function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ne(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=n.stackHeaders,this.urlPath="/bulk",this.publish=m()(h.a.mark((function n(){var a,o,i,r=arguments;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},o={},a.details&&(o=s()(a.details)),i={headers:Ne({},s()(t.stackHeaders))},a.skip_workflow_stage_check&&(i.headers.skip_workflow_stage_check=a.skip_workflow_stage_check),a.approvals&&(i.headers.approvals=a.approvals),n.abrupt("return",P(e,"/bulk/publish",o,i));case 7:case"end":return n.stop()}}),n)}))),this.unpublish=m()(h.a.mark((function n(){var a,o,i,r=arguments;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},o={},a.details&&(o=s()(a.details)),i={headers:Ne({},s()(t.stackHeaders))},a.skip_workflow_stage_check&&(i.headers.skip_workflow_stage_check=a.skip_workflow_stage_check),a.approvals&&(i.headers.approvals=a.approvals),n.abrupt("return",P(e,"/bulk/unpublish",o,i));case 7:case"end":return n.stop()}}),n)}))),this.delete=m()(h.a.mark((function n(){var a,o,i,r=arguments;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},o={},a.details&&(o=s()(a.details)),i={headers:Ne({},s()(t.stackHeaders))},n.abrupt("return",P(e,"/bulk/delete",o,i));case 5:case"end":return n.stop()}}),n)})))}function Ue(e,t){this.stackHeaders=t.stackHeaders,this.urlPath="/labels",t.label?(Object.assign(this,s()(t.label)),this.urlPath="/labels/".concat(this.uid),this.update=z(e,"label"),this.delete=H(e),this.fetch=q(e,"label")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Ie}))}function Ie(e,t){return(s()(t.labels)||[]).map((function(n){return new Ue(e,{label:n,stackHeaders:t.stackHeaders})}))}function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/branches",t.branch=t.branch||t.branch_alias,delete t.branch_alias,t.branch?(Object.assign(this,s()(t.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=H(e,!0),this.fetch=q(e,"branch")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:We})),this}function We(e,t){return(s()(t.branches)||t.branch_aliases||[]).map((function(n){return new Me(e,{branch:n,stackHeaders:t.stackHeaders})}))}function Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ve(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/stacks/branch_aliases",n.branch_alias?(Object.assign(this,s()(n.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var n=m()(h.a.mark((function n(a){var o;return h.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.put(t.urlPath,{branch_alias:{target_branch:a}},{headers:Ve({},s()(t.stackHeaders))});case 3:if(!(o=n.sent).data){n.next=8;break}return n.abrupt("return",new Me(e,F(o,t.stackHeaders)));case 8:throw v(o);case 9:n.next=14;break;case 11:throw n.prev=11,n.t0=n.catch(0),v(n.t0);case 14:case"end":return n.stop()}}),n,null,[[0,11]])})));return function(e){return n.apply(this,arguments)}}(),this.delete=H(e,!0),this.fetch=m()(h.a.mark((function t(){var n,a,o,i=arguments;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,a={headers:Ve({},s()(this.stackHeaders)),params:Ve({},s()(n))}||{},t.next=5,e.get(this.urlPath,a);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",new Me(e,F(o,this.stackHeaders)));case 10:throw v(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(1),v(t.t0);case 16:case"end":return t.stop()}}),t,this,[[1,13]])})))):this.fetchAll=R(e,We),this}function Je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ke(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.content_type={uid:t}),new X(e,a)},this.locale=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.locale={code:t}),new de(e,a)},this.asset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.asset={uid:t}),new pe(e,a)},this.globalField=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.global_field={uid:t}),new te(e,a)},this.environment=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.environment={name:t}),new re(e,a)},this.branch=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.branch={uid:t}),new Me(e,a)},this.branchAlias=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.branch_alias={uid:t}),new $e(e,a)},this.deliveryToken=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.token={uid:t}),new oe(e,a)},this.extension=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.extension={uid:t}),new ve(e,a)},this.workflow=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.workflow={uid:t}),new Ee(e,a)},this.webhook=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.webhook={uid:t}),new we(e,a)},this.label=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.label={uid:t}),new Ue(e,a)},this.release=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.release={uid:t}),new Te(e,a)},this.bulkOperation=function(){var t={stackHeaders:n.stackHeaders};return new Be(e,t)},this.users=m()(h.a.mark((function t(){var a;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(n.urlPath,{params:{include_collaborators:!0},headers:Ke({},s()(n.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",G(e,a.data.stack));case 8:return t.abrupt("return",v(a));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.transferOwnership=function(){var t=m()(h.a.mark((function t(a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/transfer_ownership"),{transfer_to:a},{headers:Ke({},s()(n.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.settings=m()(h.a.mark((function t(){var a;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/settings"),{headers:Ke({},s()(n.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data.stack_settings);case 8:return t.abrupt("return",v(a));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.resetSettings=m()(h.a.mark((function t(){var a;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ke({},s()(n.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data.stack_settings);case 8:return t.abrupt("return",v(a));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.addSettings=m()(h.a.mark((function t(){var a,o,i=arguments;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,t.next=4,e.post("".concat(n.urlPath,"/settings"),{stack_settings:{stack_variables:a}},{headers:Ke({},s()(n.stackHeaders))});case 4:if(!(o=t.sent).data){t.next=9;break}return t.abrupt("return",o.data.stack_settings);case 9:return t.abrupt("return",v(o));case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(1),t.abrupt("return",v(t.t0));case 15:case"end":return t.stop()}}),t,null,[[1,12]])}))),this.share=m()(h.a.mark((function t(){var a,o,i,r=arguments;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:[],o=r.length>1&&void 0!==r[1]?r[1]:{},t.prev=2,t.next=5,e.post("".concat(n.urlPath,"/share"),{emails:a,roles:o},{headers:Ke({},s()(n.stackHeaders))});case 5:if(!(i=t.sent).data){t.next=10;break}return t.abrupt("return",i.data);case 10:return t.abrupt("return",v(i));case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",v(t.t0));case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),this.unShare=function(){var t=m()(h.a.mark((function t(a){var o;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/unshare"),{email:a},{headers:Ke({},s()(n.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.role=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.role={uid:t}),new T(e,a)}):(this.create=A({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=C({http:e,wrapperCollection:Qe})),this}function Qe(e,t){var n=t.stacks||[];return s()(n).map((function(t){return new Ye(e,{stack:t})}))}function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return t.post("/user-session",{user:e},{params:n}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(t.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new W(t,e.data)),e.data}),v)},logout:function(e){return void 0!==e?t.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),v):t.delete("/user-session").then((function(e){return t.defaults.headers.common&&delete t.defaults.headers.common.authtoken,delete t.defaults.headers.authtoken,delete t.httpClientParams.authtoken,delete t.httpClientParams.headers.authtoken,e.data}),v)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.get("/user",{params:e}).then((function(e){return new W(t,e.data)}),v)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Ze({},s()(e));return new Ye(t,{stack:n})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new B(t,null!==e?{organization:{uid:e}}:null)},axiosInstance:t}}var tt=n(78),nt=n.n(tt),at=n(79),ot=n.n(at),it=n(20),rt=n.n(it);function st(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ct(e){for(var t=1;tt.config.retryLimit)return Promise.reject(i(e));if(t.config.retryDelayOptions)if(t.config.retryDelayOptions.customBackoff){if((c=t.config.retryDelayOptions.customBackoff(o,e))&&c<=0)return Promise.reject(i(e))}else t.config.retryDelayOptions.base&&(c=t.config.retryDelayOptions.base*o);else c=t.config.retryDelay;return e.config.retryCount=o,new Promise((function(t){return setTimeout((function(){return t(n(r(e,a,c)))}),c)}))},this.interceptors={request:null,response:null};var r=function(e,a,o){var i=e.config;return t.config.logHandler("warning","".concat(a," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==n&&void 0!==n.defaults&&(n.defaults.agent===i.agent&&delete i.agent,n.defaults.httpAgent===i.httpAgent&&delete i.httpAgent,n.defaults.httpsAgent===i.httpsAgent&&delete i.httpsAgent),i.data=s(i),i.transformRequest=[function(e){return e}],i},s=function(e){if(e.formdata){var t=e.formdata();return e.headers=ct(ct({},e.headers),t.getHeaders()),t}return e.data};this.interceptors.request=n.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=s(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var n=rt.a.CancelToken.source();e.cancelToken=n.token,e.source=n}return t.paused&&e.retryCount>0?new Promise((function(n){t.unshift({request:e,resolve:n})})):e.retryCount>0?e:new Promise((function(n){e.onComplete=function(){t.running.pop({request:e,resolve:n})},t.push({request:e,resolve:n})}))})),this.interceptors.response=n.interceptors.response.use(i,(function(e){var a=e.config.retryCount,o=null;if(!t.config.retryOnError||a>t.config.retryLimit)return Promise.reject(i(e));var s=t.config.retryDelay,c=e.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++a>t.config.retryLimit?Promise.reject(i(e)):(t.running.shift(),function e(n){if(!t.paused)return t.paused=!0,t.running.length>0&&setTimeout((function(){e(n)}),n),new Promise((function(e){return setTimeout((function(){t.paused=!1;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},t={defaultHostName:"api.contentstack.io"},n="contentstack-management-javascript/".concat(i.version),a=l(n,e.application,e.integration,e.feature),o={"X-User-Agent":n,"User-Agent":a};e.authtoken&&(o.authtoken=e.authtoken),(e=ht(ht({},t),s()(e))).headers=ht(ht({},e.headers),o);var r=mt(e);return et({http:r})}}]); \ No newline at end of file diff --git a/dist/react-native/contentstack-management.js b/dist/react-native/contentstack-management.js index 492ef638..d3b90e73 100644 --- a/dist/react-native/contentstack-management.js +++ b/dist/react-native/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var q=H.get(e);if(q)return q;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var R=C?D?h:l:D?keysIn:j,U=L?void 0:R(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function q(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:q({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new R(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){return function(){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:qt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:qt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:qt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Rt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new R(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=i(a),a.transformRequest=[function(t){return t}],a},i=function(t){if(t.formdata){var e=t.formdata();return t.headers=ae(ae({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=i(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=ne.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}]); \ No newline at end of file +module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=171)}([function(t,e,r){var n=r(67);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(137)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(54),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=P(t),n=r.length>0?r[0]:"",a=S("%"+n+"%",e),s=a.name,u=a.value,p=!1,f=a.alias;f&&(n=f[0],w(r,g([0,1],f)));for(var l=1,h=!0;l=r.length){var x=c(u,d);u=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:u[d]}else h=m(u,d),u=u[d];h&&!p&&(y[s]=u)}}return u}},function(t,e,r){"use strict";var n=r(147);t.exports=Function.prototype.bind||n},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13),o=r(9);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e;t.exports=n}).call(this,r(38))},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(41),o=r(35),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(99);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(101),o=r(102),a=r(23),i=r(43),s=r(105),c=r(106),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},function(t,e,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(7),a=r(104),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,r(17)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(36),o=r(44);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(49),o=r(50),a=r(28),i=r(47),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(52))},function(t,e,r){"use strict";var n=r(4),o=r(160),a=r(162),i=r(55),s=r(163),c=r(166),u=r(167),p=r(59);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(p("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(p("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,r){"use strict";var n=r(161);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.3.0","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.0","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(138),o=r(139),a=r(140),i=r(142);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(143),o=r(153),a=r(33);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(68),o=r(98),a=r(40),i=r(100),s=r(110),c=r(113),u=r(114),p=r(115),f=r(117),l=r(118),h=r(119),d=r(29),y=r(124),b=r(125),v=r(131),m=r(23),g=r(43),w=r(133),x=r(9),k=r(135),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,S,_,A,E){var H,D=1&r,R=2&r,C=4&r;if(S&&(H=A?S(e,_,A,E):S(e)),void 0!==H)return H;if(!x(e))return e;var T=m(e);if(T){if(H=y(e),!D)return u(e,H)}else{var N=d(e),L="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||L&&!A){if(H=R||L?{}:v(e),!D)return R?f(e,s(H,e)):p(e,i(H,e))}else{if(!P[N])return A?e:{};H=b(e,N,D)}}E||(E=new n);var U=E.get(e);if(U)return U;E.set(e,H),k(e)?e.forEach((function(n){H.add(t(n,r,S,n,e,E))})):w(e)&&e.forEach((function(n,o){H.set(o,t(n,r,S,o,e,E))}));var F=T?void 0:(C?R?h:l:R?O:j)(e);return o(F||e,(function(n,o){F&&(n=e[o=n]),a(H,o,t(n,r,S,o,e,E))})),H}},function(t,e,r){var n=r(11),o=r(74),a=r(75),i=r(76),s=r(77),c=r(78);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(85);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(36),o=r(82),a=r(9),i=r(39),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(83),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(86),o=r(93),a=r(95),i=r(96),s=r(97);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(141);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?x+w:""}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(31),a=r(149),i=r(151),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},function(t,e,r){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=e.Symbol,a=r(146);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===n(o("foo"))&&("symbol"===n(Symbol("bar"))&&a())))}}).call(this,r(38))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==a.call(e))throw new TypeError(n+e);for(var r,i=o.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,i.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,i.concat(o.call(arguments)))},c=Math.max(0,e.length-i.length),u=[],p=0;p-1?o(r):r}},function(t,e,r){"use strict";var n=r(32),o=r(31),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(152).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==T(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",r)}(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(N(a,e)>=0)return"[Circular]";function j(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var P=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,j);return"[Function"+(P?": "+P:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(D(e)){var B=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?B:U(B)}if(function(t){if(!t||"object"!==n(t))return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var z="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var G=q(e,j);return w&&!function(t){for(var e=0;e=0)return!1;return!0}(G)?"["+M(G,w)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return!("[object Error]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=q(e,j);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var J=[];return s.call(e,(function(t,r){J.push(j(r,e,!0)+" => "+j(t,e))})),I("Map",i.call(e),J,w)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return f.call(e,(function(t){Q.push(j(t,e))})),I("Set",p.call(e),Q,w)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return U(j(g.call(e)));if(function(t){return!("[object Boolean]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(y.call(e));if(function(t){return!("[object String]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(String(e)));if(!function(t){return!("[object Date]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=q(e,j),K=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",Z=!K&&_&&Object(e)===e&&_ in e?T(e).slice(8,-1):Y?"Object":"",tt=(K||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Z||Y?"["+[].concat(Z||[],Y||[]).join(": ")+"] ":"");return 0===X.length?tt+"{}":w?tt+"{"+M(X,w)+"}":tt+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function T(t){return b.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(61);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(62),i=r(0),s=r.n(i),c=r(18),u=r(2),p=r.n(u),f=r(1),l=r.n(f);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(63),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=p()(l.a.mark((function r(){var s;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=p()(l.a.mark((function r(){var n;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),f=function(){var r=p()(l.a.mark((function r(){var s,c;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:f}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=p()(l.a.mark((function t(e){var r,n,o,a,i,c,u,p;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(t){var e=t.http,r=t.params;return function(){var t=p()(l.a.mark((function t(n,o){var a,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},s()(r)),s()(this.stackHeaders)),params:x({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,R(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},_=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},A=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i,c=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},s()(this.stackHeaders)),params:x({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,R(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},H=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,R(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function R(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=A(t,"role"),this.delete=E(t),this.fetch=H(t,"role"))):(this.create=S({http:t}),this.fetchAll=D(t,T),this.query=_({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,Jt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,F)}function F(t,e){return s()(e.organizations||[]).map((function(e){return new U(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=A(t,"content_type"),this.delete=E(t),this.fetch=H(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new G(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=S({http:t}),this.query=_({http:t,wrapperCollection:X}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(s()(e.content_types)||[]).map((function(r){return new Q(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=A(t,"global_field"),this.delete=E(t),this.fetch=H(t,"global_field")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Z}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=A(t,"token"),this.delete=E(t),this.fetch=H(t,"token")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=A(t,"environment"),this.delete=E(t),this.fetch=H(t,"environment")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset")):this.create=S({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset"),this.replace=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=k(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=_({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new W.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object(V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=A(t,"locale"),this.delete=E(t),this.fetch=H(t,"locale")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:pt})),this}function pt(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var ft=r(64),lt=r.n(ft);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=A(t,"extension"),this.delete=E(t),this.fetch=H(t,"extension")):(this.upload=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=S({http:t}),this.query=_({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new W.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object(V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=A(t,"webhook"),this.delete=E(t),this.fetch=H(t,"webhook"),this.executions=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=A(t,"publishing_rule"),this.delete=E(t),this.fetch=H(t,"publishing_rule")):(this.create=S({http:t}),this.fetchAll=D(t,kt))}function kt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=A(t,"workflow"),this.disable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=H(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=p()(l.a.mark((function e(n){var o,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,kt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=S({http:t}),this.fetchAll=D(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function St(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=p()(l.a.mark((function n(o){var a,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:At({},s()(e.stackHeaders)),data:At({},s()(o)),params:At({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=p()(l.a.mark((function n(o){var a,i;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:At({},s()(e.stackHeaders)),params:At({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,Ht));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=A(t,"release"),this.fetch=H(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw h(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=A(t,"label"),this.delete=E(t),this.fetch=H(t,"label")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:It}))}function It(t,e){return(s()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function Mt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,s()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=H(t,"branch")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:qt})),this}function qt(t,e){return(s()(e.branches)||e.branch_aliases||[]).map((function(r){return new Mt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,s()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:zt({},s()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Mt(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=p()(l.a.mark((function e(){var r,n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:zt({},s()(this.stackHeaders)),params:zt({},s()(r))}||{},e.next=5,t.get(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",new Mt(t,R(o,this.stackHeaders)));case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,qt),this}function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new Q(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Mt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Wt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Ut(t,e)},this.users=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Gt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",B(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=p()(l.a.mark((function e(){var n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Gt({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=p()(l.a.mark((function e(){var n,o,a,i=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Gt({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=S({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=_({http:t,wrapperCollection:Jt})),this}function Jt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new $t(t,{stack:e})}))}function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Xt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new q(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new q(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Xt({},s()(t));return new $t(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(65),Zt=r.n(Yt),te=r(66),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=ae(ae({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=ne.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),s()(t))).headers=le(le({},t.headers),o);var i=pe(t);return Kt({http:i})}}]); \ No newline at end of file diff --git a/dist/web/contentstack-management.js b/dist/web/contentstack-management.js index cfea7c8f..df00e172 100644 --- a/dist/web/contentstack-management.js +++ b/dist/web/contentstack-management.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentstack-management"]=e():t["contentstack-management"]=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function s(t){return"[object Array]"===a.call(t)}function i(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),s(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(i):c<128?a+=s[c]:c<2048?a+=s[192|c>>6]+s[128|63&c]:c<55296||c>=57344?a+=s[224|c>>12]+s[128|c>>6&63]+s[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(i)),a+=s[240|c>>18]+s[128|c>>12&63]+s[128|c>>6&63]+s[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(33),o=r(40);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(38),o=r(109),a=r(42);t.exports=function(t){return a(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(27),s=r(44),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:s;t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),s=r(52),i=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+b)}var y=i(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var s=new Error(t);return n(s,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(s,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(i,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(s).concat(i),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),s=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||s()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(36),s=r(98),i=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(28),b=r(122),y=r(123),v=r(129),m=r(23),g=r(39),w=r(131),k=r(9),x=r(133),j=r(22),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,P,_,S,H){var E,A=1&r,D=2&r,C=4&r;if(P&&(E=S?P(e,_,S,H):P(e)),void 0!==E)return E;if(!k(e))return e;var L=m(e);if(L){if(E=b(e),!A)return u(e,E)}else{var T=d(e),N="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(e))return c(e,A);if("[object Object]"==T||"[object Arguments]"==T||N&&!S){if(E=D||N?{}:v(e),!A)return D?p(e,i(E,e)):f(e,s(E,e))}else{if(!O[T])return S?e:{};E=y(e,T,A)}}H||(H=new n);var q=H.get(e);if(q)return q;H.set(e,E),x(e)?e.forEach((function(n){E.add(t(n,r,P,n,e,H))})):w(e)&&e.forEach((function(n,o){E.set(o,t(n,r,P,o,e,H))}));var R=C?D?h:l:D?keysIn:j,U=L?void 0:R(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(E,o,t(n,r,P,o,e,H))})),E}},function(t,e,r){var n=r(11),o=r(71),a=r(72),s=r(73),i=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(33),o=r(80),a=r(9),s=r(35),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),s=r(94),i=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var s,i=t[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(30),o=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=i?a.slice(0,i.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(i=s.exec(a))&&p=0;--a){var s,i=t[a];if("[]"===i&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&i!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(s=[])[f]=o:s[u]=o:s={0:o}}o=s}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(y=a(y)?[y]:y),o.call(u,b)?u[b]=n.combine(u[b],y):u[b]=y}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(59),s=r(0),i=r.n(s),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var s="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=s}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var i=new Error;throw Object.assign(i,o),i.message=JSON.stringify(o),i}var d=r(60),b=r.n(d),y=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=m({},i()(r)));var c=function(){var r=l()(f.a.mark((function r(){var i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new y(i,t,n,o));case 9:throw h(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var i,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new y(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,s=u.length>5&&void 0!==u[5]?u[5]:null,i=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==s&&(n.version=s),null!==i&&(n.scheduled_at=i),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,s,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,s;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw h(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new y(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function q(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,Qt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:q({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new y(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return i()(e.organizations||[]).map((function(e){return new R(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(i()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(i()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(i()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:it})),this}function it(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:bt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function bt(t){return function(){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new y(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,s,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:Ht({},i()(e.stackHeaders)),data:Ht({},i()(o)),params:Ht({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,s;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:Ht({},i()(e.stackHeaders)),params:Ht({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new y(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,s,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Ct({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(i()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:qt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:qt({},i()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,s=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:qt({},i()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=A(t,"branch")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Ft})),this}function Ft(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new Bt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:Mt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Bt(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l()(f.a.mark((function e(){var r,n,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.length>0&&void 0!==o[0]?o[0]:{},e.prev=1,r={headers:Mt({},i()(this.stackHeaders))}||{},e.next=5,t.get(this.urlPath,r);case 5:if(!(n=e.sent).data){e.next=10;break}return e.abrupt("return",new Bt(t,C(n,this.stackHeaders)));case 10:throw h(n);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,Ft),this}function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Bt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Vt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Rt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Wt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,s=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Wt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Wt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Qt})),this}function Qt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Gt(t,{stack:e})}))}function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Jt({},i()(t));return new Gt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new R(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(62),Zt=r.n(Yt),te=r(63),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=i(a),a.transformRequest=[function(t){return t}],a},i=function(t){if(t.formdata){var e=t.formdata();return t.headers=ae(ae({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=i(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=ne.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var i=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),o);var s=fe(t);return Kt({http:s})}}])})); \ No newline at end of file +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentstack-management"]=e():t["contentstack-management"]=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=171)}([function(t,e,r){var n=r(67);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(137)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(54),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=P(t),n=r.length>0?r[0]:"",a=S("%"+n+"%",e),s=a.name,u=a.value,p=!1,f=a.alias;f&&(n=f[0],w(r,g([0,1],f)));for(var l=1,h=!0;l=r.length){var x=c(u,d);u=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:u[d]}else h=m(u,d),u=u[d];h&&!p&&(y[s]=u)}}return u}},function(t,e,r){"use strict";var n=r(147);t.exports=Function.prototype.bind||n},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13),o=r(9);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e;t.exports=n}).call(this,r(38))},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(41),o=r(35),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(99);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(101),o=r(102),a=r(23),i=r(43),s=r(105),c=r(106),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},function(t,e,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(7),a=r(104),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,r(17)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(36),o=r(44);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(49),o=r(50),a=r(28),i=r(47),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(52))},function(t,e,r){"use strict";var n=r(4),o=r(160),a=r(162),i=r(55),s=r(163),c=r(166),u=r(167),p=r(59);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(p("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(p("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,r){"use strict";var n=r(161);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.3.0","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.0","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(138),o=r(139),a=r(140),i=r(142);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(143),o=r(153),a=r(33);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(68),o=r(98),a=r(40),i=r(100),s=r(110),c=r(113),u=r(114),p=r(115),f=r(117),l=r(118),h=r(119),d=r(29),y=r(124),b=r(125),v=r(131),m=r(23),g=r(43),w=r(133),x=r(9),k=r(135),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,S,_,A,E){var H,D=1&r,R=2&r,C=4&r;if(S&&(H=A?S(e,_,A,E):S(e)),void 0!==H)return H;if(!x(e))return e;var T=m(e);if(T){if(H=y(e),!D)return u(e,H)}else{var N=d(e),L="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||L&&!A){if(H=R||L?{}:v(e),!D)return R?f(e,s(H,e)):p(e,i(H,e))}else{if(!P[N])return A?e:{};H=b(e,N,D)}}E||(E=new n);var U=E.get(e);if(U)return U;E.set(e,H),k(e)?e.forEach((function(n){H.add(t(n,r,S,n,e,E))})):w(e)&&e.forEach((function(n,o){H.set(o,t(n,r,S,o,e,E))}));var F=T?void 0:(C?R?h:l:R?O:j)(e);return o(F||e,(function(n,o){F&&(n=e[o=n]),a(H,o,t(n,r,S,o,e,E))})),H}},function(t,e,r){var n=r(11),o=r(74),a=r(75),i=r(76),s=r(77),c=r(78);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(85);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(36),o=r(82),a=r(9),i=r(39),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(83),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(86),o=r(93),a=r(95),i=r(96),s=r(97);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(141);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?x+w:""}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(31),a=r(149),i=r(151),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},function(t,e,r){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=e.Symbol,a=r(146);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===n(o("foo"))&&("symbol"===n(Symbol("bar"))&&a())))}}).call(this,r(38))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==a.call(e))throw new TypeError(n+e);for(var r,i=o.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,i.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,i.concat(o.call(arguments)))},c=Math.max(0,e.length-i.length),u=[],p=0;p-1?o(r):r}},function(t,e,r){"use strict";var n=r(32),o=r(31),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(152).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==T(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",r)}(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(N(a,e)>=0)return"[Circular]";function j(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var P=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,j);return"[Function"+(P?": "+P:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(D(e)){var B=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?B:U(B)}if(function(t){if(!t||"object"!==n(t))return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var z="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var G=q(e,j);return w&&!function(t){for(var e=0;e=0)return!1;return!0}(G)?"["+M(G,w)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return!("[object Error]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=q(e,j);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var J=[];return s.call(e,(function(t,r){J.push(j(r,e,!0)+" => "+j(t,e))})),I("Map",i.call(e),J,w)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return f.call(e,(function(t){Q.push(j(t,e))})),I("Set",p.call(e),Q,w)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return U(j(g.call(e)));if(function(t){return!("[object Boolean]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(y.call(e));if(function(t){return!("[object String]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(String(e)));if(!function(t){return!("[object Date]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=q(e,j),K=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",Z=!K&&_&&Object(e)===e&&_ in e?T(e).slice(8,-1):Y?"Object":"",tt=(K||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Z||Y?"["+[].concat(Z||[],Y||[]).join(": ")+"] ":"");return 0===X.length?tt+"{}":w?tt+"{"+M(X,w)+"}":tt+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function T(t){return b.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(61);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return he}));var n=r(3),o=r.n(n),a=r(62),i=r(0),s=r.n(i),c=r(18),u=r(2),p=r.n(u),f=r(1),l=r.n(f);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(63),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=p()(l.a.mark((function r(){var s;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=p()(l.a.mark((function r(){var n;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),f=function(){var r=p()(l.a.mark((function r(){var s,c;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:f}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=p()(l.a.mark((function t(e){var r,n,o,a,i,c,u,p;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(t){var e=t.http,r=t.params;return function(){var t=p()(l.a.mark((function t(n,o){var a,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},s()(r)),s()(this.stackHeaders)),params:x({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,R(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},_=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},A=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i,c=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},s()(this.stackHeaders)),params:x({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,R(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw h(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),h(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},H=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,R(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function R(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=A(t,"role"),this.delete=E(t),this.fetch=H(t,"role"))):(this.create=S({http:t}),this.fetchAll=D(t,T),this.query=_({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,Jt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,F)}function F(t,e){return s()(e.organizations||[]).map((function(e){return new U(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=A(t,"content_type"),this.delete=E(t),this.fetch=H(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new G(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=S({http:t}),this.query=_({http:t,wrapperCollection:X}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(s()(e.content_types)||[]).map((function(r){return new Q(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=A(t,"global_field"),this.delete=E(t),this.fetch=H(t,"global_field")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Z}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=A(t,"token"),this.delete=E(t),this.fetch=H(t,"token")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=A(t,"environment"),this.delete=E(t),this.fetch=H(t,"environment")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset")):this.create=S({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset"),this.replace=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=k(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=_({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new W.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object(V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=A(t,"locale"),this.delete=E(t),this.fetch=H(t,"locale")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:pt})),this}function pt(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var ft=r(64),lt=r.n(ft);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=A(t,"extension"),this.delete=E(t),this.fetch=H(t,"extension")):(this.upload=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=S({http:t}),this.query=_({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new W.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object(V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=A(t,"webhook"),this.delete=E(t),this.fetch=H(t,"webhook"),this.executions=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=A(t,"publishing_rule"),this.delete=E(t),this.fetch=H(t,"publishing_rule")):(this.create=S({http:t}),this.fetchAll=D(t,kt))}function kt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=A(t,"workflow"),this.disable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=H(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=p()(l.a.mark((function e(n){var o,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,kt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=S({http:t}),this.fetchAll=D(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function St(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=p()(l.a.mark((function n(o){var a,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:At({},s()(e.stackHeaders)),data:At({},s()(o)),params:At({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=p()(l.a.mark((function n(o){var a,i;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:At({},s()(e.stackHeaders)),params:At({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,Ht));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=A(t,"release"),this.fetch=H(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw h(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=A(t,"label"),this.delete=E(t),this.fetch=H(t,"label")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:It}))}function It(t,e){return(s()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function Mt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,s()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=H(t,"branch")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:qt})),this}function qt(t,e){return(s()(e.branches)||e.branch_aliases||[]).map((function(r){return new Mt(t,{branch:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,s()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:zt({},s()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new Mt(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=p()(l.a.mark((function e(){var r,n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:zt({},s()(this.stackHeaders)),params:zt({},s()(r))}||{},e.next=5,t.get(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",new Mt(t,R(o,this.stackHeaders)));case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=D(t,qt),this}function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new Q(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new Mt(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Wt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Ut(t,e)},this.users=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Gt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",B(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=p()(l.a.mark((function e(){var n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Gt({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=p()(l.a.mark((function e(){var n,o,a,i=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Gt({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Gt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=S({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=_({http:t,wrapperCollection:Jt})),this}function Jt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new $t(t,{stack:e})}))}function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Xt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new q(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new q(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Xt({},s()(t));return new $t(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Yt=r(65),Zt=r.n(Yt),te=r(66),ee=r.n(te),re=r(19),ne=r.n(re);function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=ae(ae({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=ne.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=le(le({},e),s()(t))).headers=le(le({},t.headers),o);var i=pe(t);return Kt({http:i})}}])})); \ No newline at end of file diff --git a/jsdocs/Asset.html b/jsdocs/Asset.html index 0b051a1c..95641451 100644 --- a/jsdocs/Asset.html +++ b/jsdocs/Asset.html @@ -1354,7 +1354,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Branch.html b/jsdocs/Branch.html index 02c8eeaf..86c210c2 100644 --- a/jsdocs/Branch.html +++ b/jsdocs/Branch.html @@ -630,7 +630,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BranchAlias.html b/jsdocs/BranchAlias.html index 1999eaa8..9b42e916 100644 --- a/jsdocs/BranchAlias.html +++ b/jsdocs/BranchAlias.html @@ -726,7 +726,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BulkOperation.html b/jsdocs/BulkOperation.html index 3dc6484f..4b3a4269 100644 --- a/jsdocs/BulkOperation.html +++ b/jsdocs/BulkOperation.html @@ -800,7 +800,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentType.html b/jsdocs/ContentType.html index 4b6f09c6..b26ebbf4 100644 --- a/jsdocs/ContentType.html +++ b/jsdocs/ContentType.html @@ -1317,7 +1317,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Contentstack.html b/jsdocs/Contentstack.html index f4758dc6..66bea125 100644 --- a/jsdocs/Contentstack.html +++ b/jsdocs/Contentstack.html @@ -829,7 +829,7 @@
Examples

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentstackClient.html b/jsdocs/ContentstackClient.html index c28722b0..47d0e99d 100644 --- a/jsdocs/ContentstackClient.html +++ b/jsdocs/ContentstackClient.html @@ -602,7 +602,7 @@
Examples
import * as contentstack from '@contentstack/management'
 const client = contentstack.client()
 
-client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch()
+client.stack({ api_key: 'api_key', management_token: 'management_token', branch_uid: 'branch_uid' }).contentType('content_type_uid').fetch()
 .then((stack) => console.log(stack))
@@ -1106,7 +1106,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/DeliveryToken.html b/jsdocs/DeliveryToken.html index 71f9e19e..10a719e0 100644 --- a/jsdocs/DeliveryToken.html +++ b/jsdocs/DeliveryToken.html @@ -763,7 +763,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Entry.html b/jsdocs/Entry.html index a1a47b2d..968c61a5 100644 --- a/jsdocs/Entry.html +++ b/jsdocs/Entry.html @@ -1693,7 +1693,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Environment.html b/jsdocs/Environment.html index bde943a1..c2b165b1 100644 --- a/jsdocs/Environment.html +++ b/jsdocs/Environment.html @@ -766,7 +766,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Extension.html b/jsdocs/Extension.html index 149eed55..065c10c5 100644 --- a/jsdocs/Extension.html +++ b/jsdocs/Extension.html @@ -944,7 +944,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Folder.html b/jsdocs/Folder.html index 019d78ae..9215c8be 100644 --- a/jsdocs/Folder.html +++ b/jsdocs/Folder.html @@ -633,7 +633,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/GlobalField.html b/jsdocs/GlobalField.html index 5a2a2703..fe60cc68 100644 --- a/jsdocs/GlobalField.html +++ b/jsdocs/GlobalField.html @@ -908,7 +908,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Label.html b/jsdocs/Label.html index 5083364c..da288349 100644 --- a/jsdocs/Label.html +++ b/jsdocs/Label.html @@ -855,7 +855,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Locale.html b/jsdocs/Locale.html index 598dcd09..e0f800fa 100644 --- a/jsdocs/Locale.html +++ b/jsdocs/Locale.html @@ -850,7 +850,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Organization.html b/jsdocs/Organization.html index 701705b2..01f09a20 100644 --- a/jsdocs/Organization.html +++ b/jsdocs/Organization.html @@ -1691,7 +1691,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/PublishRules.html b/jsdocs/PublishRules.html index 99e5e70b..63c089c5 100644 --- a/jsdocs/PublishRules.html +++ b/jsdocs/PublishRules.html @@ -287,7 +287,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Release.html b/jsdocs/Release.html index bc518be4..0ce73cdc 100644 --- a/jsdocs/Release.html +++ b/jsdocs/Release.html @@ -1503,7 +1503,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Role.html b/jsdocs/Role.html index 4cb0dccd..a0836aa2 100644 --- a/jsdocs/Role.html +++ b/jsdocs/Role.html @@ -1125,7 +1125,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Stack.html b/jsdocs/Stack.html index 8c470c9d..2100aefb 100644 --- a/jsdocs/Stack.html +++ b/jsdocs/Stack.html @@ -154,7 +154,7 @@

(static) updat
Source:
@@ -277,7 +277,7 @@

(static) fetch<
Source:
@@ -395,7 +395,7 @@

contentTyp
Source:
@@ -565,7 +565,7 @@

localeSource:
@@ -735,7 +735,7 @@

assetSource:
@@ -905,7 +905,7 @@

globalFiel
Source:
@@ -1075,7 +1075,7 @@

environmen
Source:
@@ -1245,7 +1245,7 @@

branchSource:
@@ -1411,7 +1411,7 @@

branchAlia
Source:
@@ -1577,7 +1577,7 @@

delivery
Source:
@@ -1747,7 +1747,7 @@

extensionSource:
@@ -1917,7 +1917,7 @@

workflowSource:
@@ -2087,7 +2087,7 @@

webhookSource:
@@ -2257,7 +2257,7 @@

labelSource:
@@ -2427,7 +2427,7 @@

releaseSource:
@@ -2597,7 +2597,7 @@

bulkOper
Source:
@@ -2734,7 +2734,7 @@

(static) users<
Source:
@@ -2852,7 +2852,7 @@

(static) <
Source:
@@ -3019,7 +3019,7 @@

(static) set
Source:
@@ -3137,7 +3137,7 @@

(static) Source:
@@ -3255,7 +3255,7 @@

(static)
Source:
@@ -3373,7 +3373,7 @@

(static) share<
Source:
@@ -3563,7 +3563,7 @@

(static) unSh
Source:
@@ -3730,7 +3730,7 @@

(static) roleSource:
@@ -3919,7 +3919,7 @@

(static) creat
Source:
@@ -4037,7 +4037,7 @@

(static) query<
Source:
@@ -4299,7 +4299,7 @@

Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/User.html b/jsdocs/User.html index 614dedcf..d436b20f 100644 --- a/jsdocs/User.html +++ b/jsdocs/User.html @@ -883,7 +883,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Webhook.html b/jsdocs/Webhook.html index 3dfbe912..92c7627a 100644 --- a/jsdocs/Webhook.html +++ b/jsdocs/Webhook.html @@ -1410,7 +1410,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Workflow.html b/jsdocs/Workflow.html index ed58be61..5cde05da 100644 --- a/jsdocs/Workflow.html +++ b/jsdocs/Workflow.html @@ -1544,7 +1544,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstack.js.html b/jsdocs/contentstack.js.html index 88671c2f..4532ebe8 100644 --- a/jsdocs/contentstack.js.html +++ b/jsdocs/contentstack.js.html @@ -215,7 +215,7 @@

contentstack.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstackClient.js.html b/jsdocs/contentstackClient.js.html index e7645c1f..eac6d371 100644 --- a/jsdocs/contentstackClient.js.html +++ b/jsdocs/contentstackClient.js.html @@ -145,7 +145,7 @@

contentstackClient.js

* import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch() + * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_uid: 'branch_uid' }).contentType('content_type_uid').fetch() * .then((stack) => console.log(stack)) */ function stack (params = {}) { @@ -244,7 +244,7 @@

contentstackClient.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/index.html b/jsdocs/index.html index 890a46cc..b00e2889 100644 --- a/jsdocs/index.html +++ b/jsdocs/index.html @@ -171,7 +171,7 @@

The MIT License (MIT)


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/organization_index.js.html b/jsdocs/organization_index.js.html index 81b58adb..8af5a1be 100644 --- a/jsdocs/organization_index.js.html +++ b/jsdocs/organization_index.js.html @@ -301,7 +301,7 @@

organization/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/query_index.js.html b/jsdocs/query_index.js.html index 601cf8e2..64033698 100644 --- a/jsdocs/query_index.js.html +++ b/jsdocs/query_index.js.html @@ -195,7 +195,7 @@

query/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_folders_index.js.html b/jsdocs/stack_asset_folders_index.js.html index 37e4d583..3d5f58c6 100644 --- a/jsdocs/stack_asset_folders_index.js.html +++ b/jsdocs/stack_asset_folders_index.js.html @@ -162,7 +162,7 @@

stack/asset/folders/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_index.js.html b/jsdocs/stack_asset_index.js.html index 71919adc..a415416a 100644 --- a/jsdocs/stack_asset_index.js.html +++ b/jsdocs/stack_asset_index.js.html @@ -324,7 +324,7 @@

stack/asset/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_branchAlias_index.js.html b/jsdocs/stack_branchAlias_index.js.html index 9efd68a6..a87b3d65 100644 --- a/jsdocs/stack_branchAlias_index.js.html +++ b/jsdocs/stack_branchAlias_index.js.html @@ -178,7 +178,7 @@

stack/branchAlias/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_branch_index.js.html b/jsdocs/stack_branch_index.js.html index e22472de..758b3340 100644 --- a/jsdocs/stack_branch_index.js.html +++ b/jsdocs/stack_branch_index.js.html @@ -157,7 +157,7 @@

stack/branch/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_bulkOperation_index.js.html b/jsdocs/stack_bulkOperation_index.js.html index 24d23846..62b5e31d 100644 --- a/jsdocs/stack_bulkOperation_index.js.html +++ b/jsdocs/stack_bulkOperation_index.js.html @@ -225,7 +225,7 @@

stack/bulkOperation/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_entry_index.js.html b/jsdocs/stack_contentType_entry_index.js.html index 0db1941b..c2dea245 100644 --- a/jsdocs/stack_contentType_entry_index.js.html +++ b/jsdocs/stack_contentType_entry_index.js.html @@ -353,7 +353,7 @@

stack/contentType/entry/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_index.js.html b/jsdocs/stack_contentType_index.js.html index 66a6d3d7..97d6da7f 100644 --- a/jsdocs/stack_contentType_index.js.html +++ b/jsdocs/stack_contentType_index.js.html @@ -275,7 +275,7 @@

stack/contentType/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_deliveryToken_index.js.html b/jsdocs/stack_deliveryToken_index.js.html index c352a464..1f5d67fa 100644 --- a/jsdocs/stack_deliveryToken_index.js.html +++ b/jsdocs/stack_deliveryToken_index.js.html @@ -178,7 +178,7 @@

stack/deliveryToken/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_environment_index.js.html b/jsdocs/stack_environment_index.js.html index 7e4b399c..b34b3773 100644 --- a/jsdocs/stack_environment_index.js.html +++ b/jsdocs/stack_environment_index.js.html @@ -183,7 +183,7 @@

stack/environment/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_extension_index.js.html b/jsdocs/stack_extension_index.js.html index 2d2db1ec..2706ab08 100644 --- a/jsdocs/stack_extension_index.js.html +++ b/jsdocs/stack_extension_index.js.html @@ -256,7 +256,7 @@

stack/extension/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_globalField_index.js.html b/jsdocs/stack_globalField_index.js.html index 749081f7..ce785f5a 100644 --- a/jsdocs/stack_globalField_index.js.html +++ b/jsdocs/stack_globalField_index.js.html @@ -225,7 +225,7 @@

stack/globalField/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_index.js.html b/jsdocs/stack_index.js.html index ee4de078..0df8de8d 100644 --- a/jsdocs/stack_index.js.html +++ b/jsdocs/stack_index.js.html @@ -93,6 +93,9 @@

stack/index.js

delete this.management_token } + if (this.branch_uid) { + this.stackHeaders.branch = this.branch_uid + } /** * @description The Update stack call lets you update the name and description of an existing stack. * @memberof Stack @@ -760,7 +763,7 @@

stack/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_label_index.js.html b/jsdocs/stack_label_index.js.html index 98507415..148ccb56 100644 --- a/jsdocs/stack_label_index.js.html +++ b/jsdocs/stack_label_index.js.html @@ -178,7 +178,7 @@

stack/label/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_locale_index.js.html b/jsdocs/stack_locale_index.js.html index 254428e4..e8fe79d3 100644 --- a/jsdocs/stack_locale_index.js.html +++ b/jsdocs/stack_locale_index.js.html @@ -173,7 +173,7 @@

stack/locale/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_release_index.js.html b/jsdocs/stack_release_index.js.html index ce39ef9b..bb839974 100644 --- a/jsdocs/stack_release_index.js.html +++ b/jsdocs/stack_release_index.js.html @@ -313,7 +313,7 @@

stack/release/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_roles_index.js.html b/jsdocs/stack_roles_index.js.html index 9bebb1bc..79053a15 100644 --- a/jsdocs/stack_roles_index.js.html +++ b/jsdocs/stack_roles_index.js.html @@ -231,7 +231,7 @@

stack/roles/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_webhook_index.js.html b/jsdocs/stack_webhook_index.js.html index 5be45320..a7fed701 100644 --- a/jsdocs/stack_webhook_index.js.html +++ b/jsdocs/stack_webhook_index.js.html @@ -308,7 +308,7 @@

stack/webhook/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_index.js.html b/jsdocs/stack_workflow_index.js.html index 824af232..d0c863d4 100644 --- a/jsdocs/stack_workflow_index.js.html +++ b/jsdocs/stack_workflow_index.js.html @@ -371,7 +371,7 @@

stack/workflow/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_publishRules_index.js.html b/jsdocs/stack_workflow_publishRules_index.js.html index 814096cc..95f65fe5 100644 --- a/jsdocs/stack_workflow_publishRules_index.js.html +++ b/jsdocs/stack_workflow_publishRules_index.js.html @@ -192,7 +192,7 @@

stack/workflow/publishRules/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/user_index.js.html b/jsdocs/user_index.js.html index 2ee7e329..d12961be 100644 --- a/jsdocs/user_index.js.html +++ b/jsdocs/user_index.js.html @@ -225,7 +225,7 @@

user/index.js


- Documentation generated by JSDoc 3.6.5 on Tue Jul 27 2021 15:55:00 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/lib/contentstackClient.js b/lib/contentstackClient.js index 3f79cfb3..27ae01e2 100644 --- a/lib/contentstackClient.js +++ b/lib/contentstackClient.js @@ -90,7 +90,7 @@ export default function contentstackClient ({ http }) { * import * as contentstack from '@contentstack/management' * const client = contentstack.client() * - * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_name: 'branch' }).contentType('content_type_uid').fetch() + * client.stack({ api_key: 'api_key', management_token: 'management_token', branch_uid: 'branch_uid' }).contentType('content_type_uid').fetch() * .then((stack) => console.log(stack)) */ function stack (params = {}) { diff --git a/lib/stack/branchAlias/index.js b/lib/stack/branchAlias/index.js index 54923eed..9ebd1c0d 100644 --- a/lib/stack/branchAlias/index.js +++ b/lib/stack/branchAlias/index.js @@ -76,7 +76,10 @@ export function BranchAlias (http, data = {}) { this.fetch = async function (param = {}) { try { const headers = { - headers: { ...cloneDeep(this.stackHeaders) } + headers: { ...cloneDeep(this.stackHeaders) }, + params: { + ...cloneDeep(param) + } } || {} const response = await http.get(this.urlPath, headers) if (response.data) { diff --git a/lib/stack/index.js b/lib/stack/index.js index f2764beb..9abaf62c 100644 --- a/lib/stack/index.js +++ b/lib/stack/index.js @@ -38,6 +38,9 @@ export function Stack (http, data) { delete this.management_token } + if (this.branch_uid) { + this.stackHeaders.branch = this.branch_uid + } /** * @description The Update stack call lets you update the name and description of an existing stack. * @memberof Stack diff --git a/package-lock.json b/package-lock.json index fd2ffaf1..7c3093eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@contentstack/management", - "version": "1.2.4", + "version": "1.3.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2463,32 +2463,6 @@ "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", "dev": true }, - "@types/eslint": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.28.0.tgz", - "integrity": "sha512-07XlgzX0YJUn4iG1ocY4IX9DzKSmMGUs6ESKlxWhZRaa0fatIWaHWUVapcuGa8r5HFnTqzj+4OCjd5f7EZ/i/A==", - "dev": true, - "requires": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "@types/eslint-scope": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.1.tgz", - "integrity": "sha512-SCFeogqiptms4Fg29WpOTk5nHIzfpKCemSN63ksBQYKTcXoJEmJagV+DhVmbapZzY4/5YaOV1nZwrsU79fFm1g==", - "dev": true, - "requires": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "@types/estree": { - "version": "0.0.50", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz", - "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==", - "dev": true - }, "@types/json-schema": { "version": "7.0.5", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz", @@ -2501,155 +2475,178 @@ "integrity": "sha512-ZvO2tAcjmMi8V/5Z3JsyofMe3hasRcaw88cto5etSVMwVQfeivGAlEYmaQgceUSVYFofVjT+ioHsATjdWcFt1w==", "dev": true }, - "@types/node": { - "version": "16.3.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.3.3.tgz", - "integrity": "sha512-8h7k1YgQKxKXWckzFCMfsIwn0Y61UK6tlD6y2lOb3hTOIMlK3t9/QwHOhc81TwU+RMf0As5fj7NPjroERCnejQ==", - "dev": true - }, "@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", + "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", "dev": true, "requires": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" + "@webassemblyjs/helper-module-context": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/wast-parser": "1.9.0" } }, "@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz", + "integrity": "sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==", "dev": true }, "@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", + "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", "dev": true }, "@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", + "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", "dev": true }, - "@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "@webassemblyjs/helper-code-frame": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz", + "integrity": "sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA==", "dev": true, "requires": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@xtuc/long": "4.2.2" + "@webassemblyjs/wast-printer": "1.9.0" + } + }, + "@webassemblyjs/helper-fsm": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz", + "integrity": "sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw==", + "dev": true + }, + "@webassemblyjs/helper-module-context": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz", + "integrity": "sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0" } }, "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", + "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", "dev": true }, "@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", + "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0" } }, "@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", + "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", "dev": true, "requires": { "@xtuc/ieee754": "^1.2.0" } }, "@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", + "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", "dev": true, "requires": { "@xtuc/long": "4.2.2" } }, "@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", + "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", "dev": true }, "@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", + "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/helper-wasm-section": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0", + "@webassemblyjs/wasm-opt": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0", + "@webassemblyjs/wast-printer": "1.9.0" } }, "@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", + "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/ieee754": "1.9.0", + "@webassemblyjs/leb128": "1.9.0", + "@webassemblyjs/utf8": "1.9.0" } }, "@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", + "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0" } }, "@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", + "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-api-error": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/ieee754": "1.9.0", + "@webassemblyjs/leb128": "1.9.0", + "@webassemblyjs/utf8": "1.9.0" + } + }, + "@webassemblyjs/wast-parser": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz", + "integrity": "sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/floating-point-hex-parser": "1.9.0", + "@webassemblyjs/helper-api-error": "1.9.0", + "@webassemblyjs/helper-code-frame": "1.9.0", + "@webassemblyjs/helper-fsm": "1.9.0", + "@xtuc/long": "4.2.2" } }, "@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", + "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/wast-parser": "1.9.0", "@xtuc/long": "4.2.2" } }, @@ -2689,6 +2686,12 @@ "uri-js": "^4.2.2" } }, + "ajv-errors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", + "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", + "dev": true + }, "ajv-keywords": { "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", @@ -2765,6 +2768,12 @@ "default-require-extensions": "^2.0.0" } }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, "archy": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", @@ -3006,6 +3015,53 @@ } } }, + "asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "assert": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", + "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", + "dev": true, + "requires": { + "object-assign": "^4.1.1", + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + } + } + } + }, "assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", @@ -3456,6 +3512,12 @@ } } }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true + }, "big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", @@ -3469,12 +3531,28 @@ "dev": true, "optional": true }, + "bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "dev": true, + "optional": true, + "requires": { + "file-uri-to-path": "1.0.0" + } + }, "bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", "dev": true }, + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", + "dev": true + }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -3514,12 +3592,110 @@ } } }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", + "dev": true + }, "browser-stdout": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", "dev": true }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "dev": true, + "requires": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "dev": true, + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dev": true, + "requires": { + "pako": "~1.0.5" + } + }, "browserslist": { "version": "4.16.6", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz", @@ -3533,12 +3709,75 @@ "node-releases": "^1.1.71" } }, + "buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "dev": true, + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "cacache": { + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", + "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", + "dev": true, + "requires": { + "bluebird": "^3.5.5", + "chownr": "^1.1.1", + "figgy-pudding": "^3.5.1", + "glob": "^7.1.4", + "graceful-fs": "^4.1.15", + "infer-owner": "^1.0.3", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.3", + "ssri": "^6.0.1", + "unique-filename": "^1.1.1", + "y18n": "^4.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + } + } + }, "cache-base": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", @@ -3641,12 +3880,122 @@ "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", "dev": true }, + "chokidar": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", + "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", + "dev": true, + "optional": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "dependencies": { + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "optional": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "optional": true + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "optional": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "optional": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "optional": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "optional": true + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "optional": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "optional": true, + "requires": { + "is-number": "^7.0.0" + } + } + } + }, + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true + }, "chrome-trace-event": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", "dev": true }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, "class-utils": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", @@ -3810,6 +4159,30 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "console-browserify": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", + "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", + "dev": true + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, "convert-source-map": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", @@ -3819,6 +4192,20 @@ "safe-buffer": "~5.1.1" } }, + "copy-concurrently": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", + "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", + "dev": true, + "requires": { + "aproba": "^1.1.1", + "fs-write-stream-atomic": "^1.0.8", + "iferr": "^0.1.5", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.0" + } + }, "copy-descriptor": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", @@ -3868,6 +4255,51 @@ "safe-buffer": "^5.0.1" } }, + "create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, "cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", @@ -3881,6 +4313,31 @@ "which": "^1.2.9" } }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dev": true, + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "cyclist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz", + "integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=", + "dev": true + }, "dateformat": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", @@ -4015,6 +4472,16 @@ "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", "dev": true }, + "des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, "detect-file": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", @@ -4027,6 +4494,25 @@ "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", "dev": true }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, "docdash": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/docdash/-/docdash-1.2.0.tgz", @@ -4042,18 +4528,59 @@ "esutils": "^2.0.2" } }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, "dotenv": { "version": "8.6.0", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==", "dev": true }, + "duplexify": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", + "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", + "dev": true, + "requires": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + } + }, "electron-to-chromium": { "version": "1.3.779", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.779.tgz", "integrity": "sha512-nreave0y/1Qhmo8XtO6C/LpawNyC6U26+q7d814/e+tIqUK073pM+4xW7WUXyqCRa5K4wdxHmNMBAi8ap9nEew==", "dev": true }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dev": true, + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -4066,6 +4593,15 @@ "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", "dev": true }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, "enhanced-resolve": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.3.0.tgz", @@ -4132,12 +4668,6 @@ "string.prototype.trimstart": "^1.0.1" } }, - "es-module-lexer": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.7.1.tgz", - "integrity": "sha512-MgtWFl5No+4S3TmhDmCz2ObFGm6lEpTnzbQi+Dd+pw4mlTIZTmM2iAs5gRlmx5zS9luzobCSBSI90JM/1/JgOw==", - "dev": true - }, "es-to-primitive": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", @@ -4606,6 +5136,16 @@ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "dev": true }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, "expand-brackets": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", @@ -4774,6 +5314,12 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "figgy-pudding": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz", + "integrity": "sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==", + "dev": true + }, "figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -4792,6 +5338,13 @@ "flat-cache": "^2.0.1" } }, + "file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "dev": true, + "optional": true + }, "fill-range": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", @@ -4892,6 +5445,16 @@ "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", "dev": true }, + "flush-write-stream": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", + "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "readable-stream": "^2.3.6" + } + }, "follow-redirects": { "version": "1.13.1", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.1.tgz", @@ -4944,6 +5507,16 @@ "map-cache": "^0.2.2" } }, + "from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, "fs-extra": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", @@ -4961,12 +5534,31 @@ "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", "dev": true }, + "fs-write-stream-atomic": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", + "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "iferr": "^0.1.5", + "imurmurhash": "^0.1.4", + "readable-stream": "1 || 2" + } + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, "fsu": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/fsu/-/fsu-1.1.1.tgz", @@ -5032,11 +5624,15 @@ "path-is-absolute": "^1.0.0" } }, - "glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "optional": true, + "requires": { + "is-glob": "^4.0.1" + } }, "global-modules": { "version": "2.0.0", @@ -5157,6 +5753,46 @@ } } }, + "hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, "hasha": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/hasha/-/hasha-3.0.0.tgz", @@ -5172,6 +5808,17 @@ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, "homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", @@ -5206,6 +5853,12 @@ "toidentifier": "1.0.0" } }, + "https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", + "dev": true + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -5215,6 +5868,18 @@ "safer-buffer": ">= 2.1.2 < 3" } }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true + }, + "iferr": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", + "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", + "dev": true + }, "ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", @@ -5247,6 +5912,12 @@ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true }, + "infer-owner": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", + "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", + "dev": true + }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -5599,6 +6270,12 @@ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true }, + "is-wsl": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", + "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", + "dev": true + }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -5722,34 +6399,6 @@ "html-escaper": "^2.0.0" } }, - "jest-worker": { - "version": "27.0.6", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.0.6.tgz", - "integrity": "sha512-qupxcj/dRuA3xHPMUd40gr2EaAurFbkwzOh7wfPaeE9id7hyjURRQoqNfHifHK3XjJU6YJJUQKILGUnwGPEOCA==", - "dev": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "dependencies": { - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -5920,9 +6569,9 @@ } }, "loader-runner": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz", - "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", + "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", "dev": true }, "loader-utils": { @@ -6082,12 +6731,33 @@ "integrity": "sha512-yfCEUXmKhBPLOzEC7c+tc4XZdIeTdGoRCZakFMkCxodr7wDXqoapIME4wjcpBPJLNyUnKJ3e8rb8wlAgnLnaDw==", "dev": true }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, "mdurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", "dev": true }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, "merge-source-map": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.1.0.tgz", @@ -6105,12 +6775,6 @@ } } }, - "merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, "micromatch": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", @@ -6132,6 +6796,24 @@ "to-regex": "^3.0.2" } }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, "mime-db": { "version": "1.48.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", @@ -6151,6 +6833,18 @@ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", @@ -6166,6 +6860,24 @@ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "dev": true }, + "mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, "mixin-deep": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", @@ -6445,6 +7157,20 @@ "yargs": "^13.2.2" } }, + "move-concurrently": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", + "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", + "dev": true, + "requires": { + "aproba": "^1.1.1", + "copy-concurrently": "^1.0.0", + "fs-write-stream-atomic": "^1.0.8", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.3" + } + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -6476,6 +7202,13 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", "dev": true }, + "nan": { + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "dev": true, + "optional": true + }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", @@ -6587,6 +7320,45 @@ "semver": "^5.7.0" } }, + "node-libs-browser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", + "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", + "dev": true, + "requires": { + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^3.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "0.0.1", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.11.0", + "vm-browserify": "^1.0.1" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + } + } + }, "node-modules-regexp": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", @@ -6884,6 +7656,12 @@ "word-wrap": "~1.2.3" } }, + "os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", + "dev": true + }, "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", @@ -6932,6 +7710,23 @@ "release-zalgo": "^1.0.0" } }, + "pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "dev": true + }, + "parallel-transform": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz", + "integrity": "sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==", + "dev": true, + "requires": { + "cyclist": "^1.0.1", + "inherits": "^2.0.3", + "readable-stream": "^2.1.5" + } + }, "parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -6941,6 +7736,19 @@ "callsites": "^3.0.0" } }, + "parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "dev": true, + "requires": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, "parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", @@ -6963,6 +7771,19 @@ "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", "dev": true }, + "path-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", + "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", + "dev": true + }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true, + "optional": true + }, "path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", @@ -7027,6 +7848,19 @@ "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", "dev": true }, + "pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "dev": true, + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, "picomatch": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", @@ -7123,6 +7957,12 @@ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, "process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -7135,6 +7975,12 @@ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, + "promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", + "dev": true + }, "prop-types": { "version": "15.7.2", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", @@ -7164,6 +8010,61 @@ "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", "dev": true }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "pumpify": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", + "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", + "dev": true, + "requires": { + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + }, + "dependencies": { + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + } + } + }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", @@ -7178,6 +8079,18 @@ "side-channel": "^1.0.4" } }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true + }, "random-bytes": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", @@ -7193,6 +8106,16 @@ "safe-buffer": "^5.1.0" } }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dev": true, + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, "react": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react/-/react-16.13.1.tgz", @@ -7543,12 +8466,31 @@ "glob": "^7.1.3" } }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, "run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", "dev": true }, + "run-queue": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", + "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", + "dev": true, + "requires": { + "aproba": "^1.1.1" + } + }, "rxjs": { "version": "6.6.2", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.2.tgz", @@ -7607,9 +8549,9 @@ "dev": true }, "serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", "dev": true, "requires": { "randombytes": "^2.1.0" @@ -7644,12 +8586,28 @@ } } }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", + "dev": true + }, "setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", "dev": true }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, "shallow-clone": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", @@ -7963,6 +8921,15 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, + "ssri": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", + "dev": true, + "requires": { + "figgy-pudding": "^3.5.1" + } + }, "static-extend": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", @@ -7990,6 +8957,45 @@ "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", "dev": true }, + "stream-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", + "dev": true, + "requires": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "stream-each": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "stream-shift": "^1.0.0" + } + }, + "stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "requires": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "stream-shift": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", + "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==", + "dev": true + }, "string-replace-loader": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/string-replace-loader/-/string-replace-loader-2.3.0.tgz", @@ -8167,14 +9173,14 @@ } }, "terser": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.7.1.tgz", - "integrity": "sha512-b3e+d5JbHAe/JSjwsC3Zn55wsBIM7AsHLjKxT31kGCldgbpFePaFo+PiddtO6uwRZWRw7sPXmAN8dTW61xmnSg==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", + "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", "dev": true, "requires": { "commander": "^2.20.0", - "source-map": "~0.7.2", - "source-map-support": "~0.5.19" + "source-map": "~0.6.1", + "source-map-support": "~0.5.12" }, "dependencies": { "commander": { @@ -8184,63 +9190,39 @@ "dev": true }, "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true } } }, "terser-webpack-plugin": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.1.4.tgz", - "integrity": "sha512-C2WkFwstHDhVEmsmlCxrXUtVklS+Ir1A7twrYzrDrQQOIMOaVAYykaoo/Aq1K0QRkMoY2hhvDQY1cm4jnIMFwA==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", + "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", "dev": true, "requires": { - "jest-worker": "^27.0.2", - "p-limit": "^3.1.0", - "schema-utils": "^3.0.0", - "serialize-javascript": "^6.0.0", + "cacache": "^12.0.2", + "find-cache-dir": "^2.1.0", + "is-wsl": "^1.1.0", + "schema-utils": "^1.0.0", + "serialize-javascript": "^4.0.0", "source-map": "^0.6.1", - "terser": "^5.7.0" + "terser": "^4.1.2", + "webpack-sources": "^1.4.0", + "worker-farm": "^1.7.0" }, "dependencies": { - "@types/json-schema": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz", - "integrity": "sha512-YSBPTLTVm2e2OoQIDYx8HaeWJ5tTToLH67kXR7zYNGupXMEHa2++G8k+DczX2cFVgalypqtyZIcU19AFcmOpmg==", - "dev": true - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - }, "schema-utils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.0.tgz", - "integrity": "sha512-tTEaeYkyIhEZ9uWgAjDerWov3T9MgX8dhhy2r0IGeeX4W8ngtGl1++dUve/RUqzuaASSh7shwCDJjEzthxki8w==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", "dev": true, "requires": { - "@types/json-schema": "^7.0.7", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" } }, "source-map": { @@ -8335,6 +9317,25 @@ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "dev": true }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "timers-browserify": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", + "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", + "dev": true, + "requires": { + "setimmediate": "^1.0.4" + } + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -8344,6 +9345,12 @@ "os-tmpdir": "~1.0.2" } }, + "to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -8415,6 +9422,12 @@ "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==", "dev": true }, + "tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, "type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", @@ -8436,6 +9449,12 @@ "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "dev": true }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, "uc.micro": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", @@ -8517,6 +9536,24 @@ "set-value": "^2.0.1" } }, + "unique-filename": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "dev": true, + "requires": { + "unique-slug": "^2.0.0" + } + }, + "unique-slug": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", + "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, "universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -8585,12 +9622,47 @@ "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", "dev": true }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, "use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", "dev": true }, + "util": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", + "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", + "dev": true, + "requires": { + "inherits": "2.0.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + } + } + }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -8625,124 +9697,171 @@ "integrity": "sha512-X/p3UZerAIsbBfN/IwahhYaBbY68EN/UQBWHtsbXGT5bfrH/p4NQzUCG1kF/rtKaNpnJ7jAu6NGTdSNtyNIXMw==", "dev": true }, + "vm-browserify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", + "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", + "dev": true + }, "watchpack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.2.0.tgz", - "integrity": "sha512-up4YAn/XHgZHIxFBVCdlMiWDj6WaLKpwVeGQk2I5thdYxF/KmF0aaz6TfJZ/hfl1h/XlcDr7k1KH7ThDagpFaA==", + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz", + "integrity": "sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==", "dev": true, "requires": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" + "chokidar": "^3.4.1", + "graceful-fs": "^4.1.2", + "neo-async": "^2.5.0", + "watchpack-chokidar2": "^2.0.1" } }, - "webpack": { - "version": "5.45.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.45.1.tgz", - "integrity": "sha512-68VT2ZgG9EHs6h6UxfV2SEYewA9BA3SOLSnC2NEbJJiEwbAiueDL033R1xX0jzjmXvMh0oSeKnKgbO2bDXIEyQ==", - "dev": true, - "requires": { - "@types/eslint-scope": "^3.7.0", - "@types/estree": "^0.0.50", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", - "browserslist": "^4.14.5", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.8.0", - "es-module-lexer": "^0.7.1", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.4", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.2.0", - "webpack-sources": "^2.3.0" + "watchpack-chokidar2": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz", + "integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==", + "dev": true, + "optional": true, + "requires": { + "chokidar": "^2.1.8" }, "dependencies": { - "@types/json-schema": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz", - "integrity": "sha512-YSBPTLTVm2e2OoQIDYx8HaeWJ5tTToLH67kXR7zYNGupXMEHa2++G8k+DczX2cFVgalypqtyZIcU19AFcmOpmg==", - "dev": true - }, - "acorn": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.4.1.tgz", - "integrity": "sha512-asabaBSkEKosYKMITunzX177CXxQ4Q8BSSzMTKD+FefUhipQC70gfW5SiUDhYQ3vk8G+81HqQk7Fv9OXwwn9KA==", - "dev": true - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "chokidar": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", + "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", "dev": true, + "optional": true, "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "fsevents": "^1.2.7", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.1" } }, - "enhanced-resolve": { - "version": "5.8.2", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.2.tgz", - "integrity": "sha512-F27oB3WuHDzvR2DOGNTaYy0D5o0cnrv8TeI482VM4kYgQd/FT9lUQwuNsJ0oOHtBUq7eiW5ytqzp7nBFknL+GA==", + "fsevents": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", + "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", "dev": true, + "optional": true, "requires": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" + "bindings": "^1.5.0", + "nan": "^2.12.1" } }, - "eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", "dev": true, + "optional": true, "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "optional": true, + "requires": { + "is-extglob": "^2.1.0" + } + } } + } + } + }, + "webpack": { + "version": "4.46.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", + "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-module-context": "1.9.0", + "@webassemblyjs/wasm-edit": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0", + "acorn": "^6.4.1", + "ajv": "^6.10.2", + "ajv-keywords": "^3.4.1", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^4.5.0", + "eslint-scope": "^4.0.3", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^2.4.0", + "loader-utils": "^1.2.3", + "memory-fs": "^0.4.1", + "micromatch": "^3.1.10", + "mkdirp": "^0.5.3", + "neo-async": "^2.6.1", + "node-libs-browser": "^2.2.1", + "schema-utils": "^1.0.0", + "tapable": "^1.1.3", + "terser-webpack-plugin": "^1.4.3", + "watchpack": "^1.7.4", + "webpack-sources": "^1.4.1" + }, + "dependencies": { + "acorn": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", + "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", + "dev": true }, - "esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "enhanced-resolve": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", + "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", "dev": true, "requires": { - "estraverse": "^5.2.0" + "graceful-fs": "^4.1.2", + "memory-fs": "^0.5.0", + "tapable": "^1.0.0" }, "dependencies": { - "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "dev": true + "memory-fs": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", + "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", + "dev": true, + "requires": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } } } }, - "schema-utils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.0.tgz", - "integrity": "sha512-tTEaeYkyIhEZ9uWgAjDerWov3T9MgX8dhhy2r0IGeeX4W8ngtGl1++dUve/RUqzuaASSh7shwCDJjEzthxki8w==", + "eslint-scope": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", + "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", "dev": true, "requires": { - "@types/json-schema": "^7.0.7", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" } }, - "tapable": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.0.tgz", - "integrity": "sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw==", - "dev": true + "schema-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" + } } } }, @@ -8786,13 +9905,13 @@ } }, "webpack-sources": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.3.0.tgz", - "integrity": "sha512-WyOdtwSvOML1kbgtXbTDnEW0jkJ7hZr/bDByIwszhWd/4XX1A3XMkrbFMsuH4+/MfLlZCUzlAdg4r7jaGKEIgQ==", + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", + "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", "dev": true, "requires": { - "source-list-map": "^2.0.1", - "source-map": "^0.6.1" + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" }, "dependencies": { "source-map": { @@ -8879,6 +9998,15 @@ "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", "dev": true }, + "worker-farm": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz", + "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==", + "dev": true, + "requires": { + "errno": "~0.1.7" + } + }, "wrap-ansi": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", @@ -8962,6 +10090,12 @@ "integrity": "sha512-HgS+X6zAztGa9zIK3Y3LXuJes33Lz9x+YyTxgrkIdabu2vqcGOWwdfCpf1hWLRrd553wd4QCDf6BBO6FfdsRiQ==", "dev": true }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true + }, "y18n": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", @@ -9052,12 +10186,6 @@ "lodash": "^4.17.15", "yargs": "^13.3.0" } - }, - "yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true } } } diff --git a/package.json b/package.json index 65877a38..2d5d028a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/management", - "version": "1.2.4", + "version": "1.3.0", "description": "The Content Management API is used to manage the content of your Contentstack account", "main": "dist/node/contentstack-management.js", "browser": "dist/web/contentstack-management.js", @@ -88,7 +88,7 @@ "rimraf": "^2.7.1", "sinon": "^7.3.2", "string-replace-loader": "^2.3.0", - "webpack": "^5.45.1", + "webpack": "^4.44.0", "webpack-cli": "^3.3.12", "webpack-merge": "4.1.0" }, From 19df2da3dc17fcac481302b0d7b71c6083b4c321 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Thu, 19 Aug 2021 10:56:30 +0530 Subject: [PATCH 08/16] :tada: Bulk Publish feature support added --- dist/es-modules/contentstack.js | 2 +- dist/es-modules/contentstackClient.js | 2 +- dist/es-modules/core/concurrency-queue.js | 2 +- .../es-modules/core/contentstackHTTPClient.js | 2 +- dist/es-modules/entity.js | 4 +- dist/es-modules/organization/index.js | 4 +- dist/es-modules/query/index.js | 4 +- dist/es-modules/stack/asset/index.js | 2 +- dist/es-modules/stack/bulkOperation/index.js | 201 +++++++++++----- .../stack/contentType/entry/index.js | 2 +- dist/es-modules/stack/contentType/index.js | 2 +- dist/es-modules/stack/extension/index.js | 2 +- dist/es-modules/stack/globalField/index.js | 2 +- dist/es-modules/stack/index.js | 4 +- dist/es-modules/stack/release/index.js | 4 +- dist/es-modules/stack/release/items/index.js | 4 +- dist/es-modules/stack/webhook/index.js | 4 +- dist/es-modules/stack/workflow/index.js | 4 +- dist/es-modules/user/index.js | 4 +- dist/es5/contentstack.js | 2 +- dist/es5/contentstackClient.js | 2 +- dist/es5/core/concurrency-queue.js | 2 +- dist/es5/core/contentstackHTTPClient.js | 2 +- dist/es5/entity.js | 10 +- dist/es5/organization/index.js | 10 +- dist/es5/query/index.js | 10 +- dist/es5/stack/asset/index.js | 8 +- dist/es5/stack/bulkOperation/index.js | 219 ++++++++++++------ dist/es5/stack/contentType/entry/index.js | 8 +- dist/es5/stack/contentType/index.js | 8 +- dist/es5/stack/extension/index.js | 8 +- dist/es5/stack/globalField/index.js | 8 +- dist/es5/stack/index.js | 10 +- dist/es5/stack/release/index.js | 10 +- dist/es5/stack/release/items/index.js | 10 +- dist/es5/stack/webhook/index.js | 10 +- dist/es5/stack/workflow/index.js | 10 +- dist/es5/user/index.js | 10 +- dist/nativescript/contentstack-management.js | 2 +- dist/node/contentstack-management.js | 6 +- dist/react-native/contentstack-management.js | 2 +- dist/web/contentstack-management.js | 2 +- lib/stack/bulkOperation/index.js | 93 ++++++-- 43 files changed, 462 insertions(+), 255 deletions(-) diff --git a/dist/es-modules/contentstack.js b/dist/es-modules/contentstack.js index 29583a62..d48b872f 100644 --- a/dist/es-modules/contentstack.js +++ b/dist/es-modules/contentstack.js @@ -1,6 +1,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/contentstackClient.js b/dist/es-modules/contentstackClient.js index 6ad171d6..1caa095f 100644 --- a/dist/es-modules/contentstackClient.js +++ b/dist/es-modules/contentstackClient.js @@ -1,6 +1,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/core/concurrency-queue.js b/dist/es-modules/core/concurrency-queue.js index df7f8cdf..bd4c2330 100644 --- a/dist/es-modules/core/concurrency-queue.js +++ b/dist/es-modules/core/concurrency-queue.js @@ -1,6 +1,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/core/contentstackHTTPClient.js b/dist/es-modules/core/contentstackHTTPClient.js index da70ea77..6c3dacf2 100644 --- a/dist/es-modules/core/contentstackHTTPClient.js +++ b/dist/es-modules/core/contentstackHTTPClient.js @@ -1,7 +1,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/entity.js b/dist/es-modules/entity.js index 23d750c2..d6b3a12f 100644 --- a/dist/es-modules/entity.js +++ b/dist/es-modules/entity.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/organization/index.js b/dist/es-modules/organization/index.js index 770647a9..7679f605 100644 --- a/dist/es-modules/organization/index.js +++ b/dist/es-modules/organization/index.js @@ -1,11 +1,11 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import error from '../core/contentstackError'; import { fetch, fetchAll } from '../entity'; diff --git a/dist/es-modules/query/index.js b/dist/es-modules/query/index.js index addd203a..af480434 100644 --- a/dist/es-modules/query/index.js +++ b/dist/es-modules/query/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/asset/index.js b/dist/es-modules/stack/asset/index.js index 377da395..aab3a4f2 100644 --- a/dist/es-modules/stack/asset/index.js +++ b/dist/es-modules/stack/asset/index.js @@ -1,5 +1,5 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { update, deleteEntity, fetch, query, parseData, upload, publish, unpublish } from '../../entity'; import { Folder } from './folders'; diff --git a/dist/es-modules/stack/bulkOperation/index.js b/dist/es-modules/stack/bulkOperation/index.js index befff171..99721458 100644 --- a/dist/es-modules/stack/bulkOperation/index.js +++ b/dist/es-modules/stack/bulkOperation/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -47,51 +47,87 @@ export function BulkOperation(http) { * 'en' * ], * environments: [ - * '{{env_name}}/env_uid}}' + * '{{env_uid}}' * ] * } * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails }) * .then((response) => { console.log(response.notice) }) * + * @example + * // Bulk nested publish + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * { + * environments:["{{env_uid}}","{{env_uid}}"], + * locales:["en-us"], + * items:[ + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * } + * ] + * } + * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails, is_nested: true }) + * .then((response) => { console.log(response.notice) }) + * */ - this.publish = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() { - var params, - httpBody, - headers, - _args = arguments; - return _regeneratorRuntime.wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - params = _args.length > 0 && _args[0] !== undefined ? _args[0] : {}; - httpBody = {}; + this.publish = /*#__PURE__*/function () { + var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) { + var details, _ref$skip_workflow_st, skip_workflow_stage, _ref$approvals, approvals, _ref$is_nested, is_nested, httpBody, headers; - if (params.details) { - httpBody = cloneDeep(params.details); - } + return _regeneratorRuntime.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + details = _ref.details, _ref$skip_workflow_st = _ref.skip_workflow_stage, skip_workflow_stage = _ref$skip_workflow_st === void 0 ? false : _ref$skip_workflow_st, _ref$approvals = _ref.approvals, approvals = _ref$approvals === void 0 ? false : _ref$approvals, _ref$is_nested = _ref.is_nested, is_nested = _ref$is_nested === void 0 ? false : _ref$is_nested; + httpBody = {}; - headers = { - headers: _objectSpread({}, cloneDeep(_this.stackHeaders)) - }; + if (details) { + httpBody = cloneDeep(details); + } - if (params.skip_workflow_stage_check) { - headers.headers.skip_workflow_stage_check = params.skip_workflow_stage_check; - } + headers = { + headers: _objectSpread({}, cloneDeep(_this.stackHeaders)) + }; - if (params.approvals) { - headers.headers.approvals = params.approvals; - } + if (is_nested) { + headers.params = { + nested: true, + event_type: 'bulk' + }; + } - return _context.abrupt("return", publishUnpublish(http, '/bulk/publish', httpBody, headers)); + if (skip_workflow_stage) { + headers.headers.skip_workflow_stage_check = skip_workflow_stage; + } - case 7: - case "end": - return _context.stop(); + if (approvals) { + headers.headers.approvals = approvals; + } + + return _context.abrupt("return", publishUnpublish(http, '/bulk/publish', httpBody, headers)); + + case 8: + case "end": + return _context.stop(); + } } - } - }, _callee); - })); + }, _callee); + })); + + return function (_x) { + return _ref2.apply(this, arguments); + }; + }(); /** * The Unpublish entries and assets in bulk request allows you to unpublish multiple entries and assets at the same time. * @memberof BulkOperation @@ -120,51 +156,87 @@ export function BulkOperation(http) { * 'en' * ], * environments: [ - * '{{env_name}}/env_uid}}' + * '{{env_uid}}' * ] * } * client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails }) * .then((response) => { console.log(response.notice) }) * + * @example + * // Bulk nested publish + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * { + * environments:["{{env_uid}}","{{env_uid}}"], + * locales:["en-us"], + * items:[ + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * } + * ] + * } + * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails, is_nested: true }) + * .then((response) => { console.log(response.notice) }) */ - this.unpublish = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() { - var params, - httpBody, - headers, - _args2 = arguments; - return _regeneratorRuntime.wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}; - httpBody = {}; - if (params.details) { - httpBody = cloneDeep(params.details); - } + this.unpublish = /*#__PURE__*/function () { + var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref3) { + var details, _ref3$skip_workflow_s, skip_workflow_stage, _ref3$approvals, approvals, _ref3$is_nested, is_nested, httpBody, headers; - headers = { - headers: _objectSpread({}, cloneDeep(_this.stackHeaders)) - }; + return _regeneratorRuntime.wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + details = _ref3.details, _ref3$skip_workflow_s = _ref3.skip_workflow_stage, skip_workflow_stage = _ref3$skip_workflow_s === void 0 ? false : _ref3$skip_workflow_s, _ref3$approvals = _ref3.approvals, approvals = _ref3$approvals === void 0 ? false : _ref3$approvals, _ref3$is_nested = _ref3.is_nested, is_nested = _ref3$is_nested === void 0 ? false : _ref3$is_nested; + httpBody = {}; - if (params.skip_workflow_stage_check) { - headers.headers.skip_workflow_stage_check = params.skip_workflow_stage_check; - } + if (details) { + httpBody = cloneDeep(details); + } - if (params.approvals) { - headers.headers.approvals = params.approvals; - } + headers = { + headers: _objectSpread({}, cloneDeep(_this.stackHeaders)) + }; - return _context2.abrupt("return", publishUnpublish(http, '/bulk/unpublish', httpBody, headers)); + if (is_nested) { + headers.params = { + nested: true, + event_type: 'bulk' + }; + } - case 7: - case "end": - return _context2.stop(); + if (skip_workflow_stage) { + headers.headers.skip_workflow_stage_check = skip_workflow_stage; + } + + if (approvals) { + headers.headers.approvals = approvals; + } + + return _context2.abrupt("return", publishUnpublish(http, '/bulk/unpublish', httpBody, headers)); + + case 8: + case "end": + return _context2.stop(); + } } - } - }, _callee2); - })); + }, _callee2); + })); + + return function (_x2) { + return _ref4.apply(this, arguments); + }; + }(); /** * The Delete entries and assets in bulk request allows you to delete multiple entries and assets at the same time. * @memberof BulkOperation @@ -192,6 +264,7 @@ export function BulkOperation(http) { * */ + this["delete"] = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() { var params, httpBody, diff --git a/dist/es-modules/stack/contentType/entry/index.js b/dist/es-modules/stack/contentType/entry/index.js index 80f8e31a..e5847c0f 100644 --- a/dist/es-modules/stack/contentType/entry/index.js +++ b/dist/es-modules/stack/contentType/entry/index.js @@ -1,5 +1,5 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { create, update, deleteEntity, fetch, query, upload, parseData, publish, unpublish } from '../../../entity'; import FormData from 'form-data'; diff --git a/dist/es-modules/stack/contentType/index.js b/dist/es-modules/stack/contentType/index.js index 32778254..283883de 100644 --- a/dist/es-modules/stack/contentType/index.js +++ b/dist/es-modules/stack/contentType/index.js @@ -1,5 +1,5 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { create, update, deleteEntity, fetch, query, upload, parseData } from '../../entity'; import { Entry } from './entry/index'; diff --git a/dist/es-modules/stack/extension/index.js b/dist/es-modules/stack/extension/index.js index 8237396f..cc30f662 100644 --- a/dist/es-modules/stack/extension/index.js +++ b/dist/es-modules/stack/extension/index.js @@ -1,6 +1,6 @@ import _typeof from "@babel/runtime/helpers/typeof"; -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { create, update, deleteEntity, fetch, query, upload, parseData } from '../../entity'; import error from '../../core/contentstackError'; diff --git a/dist/es-modules/stack/globalField/index.js b/dist/es-modules/stack/globalField/index.js index 69731f6a..741cac40 100644 --- a/dist/es-modules/stack/globalField/index.js +++ b/dist/es-modules/stack/globalField/index.js @@ -1,5 +1,5 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; import cloneDeep from 'lodash/cloneDeep'; import { create, update, deleteEntity, fetch, query, upload, parseData } from '../../entity'; import error from '../../core/contentstackError'; diff --git a/dist/es-modules/stack/index.js b/dist/es-modules/stack/index.js index bd21777e..6bbaedb7 100644 --- a/dist/es-modules/stack/index.js +++ b/dist/es-modules/stack/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/release/index.js b/dist/es-modules/stack/release/index.js index 12d61757..7931927c 100644 --- a/dist/es-modules/stack/release/index.js +++ b/dist/es-modules/stack/release/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/release/items/index.js b/dist/es-modules/stack/release/items/index.js index a41f670f..c443ca7f 100644 --- a/dist/es-modules/stack/release/items/index.js +++ b/dist/es-modules/stack/release/items/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/webhook/index.js b/dist/es-modules/stack/webhook/index.js index 8b1cf130..21973f92 100644 --- a/dist/es-modules/stack/webhook/index.js +++ b/dist/es-modules/stack/webhook/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/stack/workflow/index.js b/dist/es-modules/stack/workflow/index.js index 1409d1ab..4f504105 100644 --- a/dist/es-modules/stack/workflow/index.js +++ b/dist/es-modules/stack/workflow/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es-modules/user/index.js b/dist/es-modules/user/index.js index 79ab7b10..53f944c9 100644 --- a/dist/es-modules/user/index.js +++ b/dist/es-modules/user/index.js @@ -1,8 +1,8 @@ -import _regeneratorRuntime from "@babel/runtime/regenerator"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; +import _regeneratorRuntime from "@babel/runtime/regenerator"; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/contentstack.js b/dist/es5/contentstack.js index 5fa5e166..298aace4 100644 --- a/dist/es5/contentstack.js +++ b/dist/es5/contentstack.js @@ -34,7 +34,7 @@ var _contentstackHTTPClient = require("./core/contentstackHTTPClient.js"); var _contentstackHTTPClient2 = (0, _interopRequireDefault2["default"])(_contentstackHTTPClient); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/contentstackClient.js b/dist/es5/contentstackClient.js index 0933268a..c883c096 100644 --- a/dist/es5/contentstackClient.js +++ b/dist/es5/contentstackClient.js @@ -28,7 +28,7 @@ var _contentstackError = require("./core/contentstackError"); var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackError); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/core/concurrency-queue.js b/dist/es5/core/concurrency-queue.js index aba0d218..caa3790d 100644 --- a/dist/es5/core/concurrency-queue.js +++ b/dist/es5/core/concurrency-queue.js @@ -18,7 +18,7 @@ var _axios = require("axios"); var _axios2 = (0, _interopRequireDefault2["default"])(_axios); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/core/contentstackHTTPClient.js b/dist/es5/core/contentstackHTTPClient.js index 1db4e0a2..3df359a1 100644 --- a/dist/es5/core/contentstackHTTPClient.js +++ b/dist/es5/core/contentstackHTTPClient.js @@ -34,7 +34,7 @@ var _Util = require("./Util"); var _concurrencyQueue = require("./concurrency-queue"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/entity.js b/dist/es5/entity.js index bba260d5..32fcd27b 100644 --- a/dist/es5/entity.js +++ b/dist/es5/entity.js @@ -9,10 +9,6 @@ Object.defineProperty(exports, "__esModule", { }); exports.fetchAll = exports.fetch = exports.deleteEntity = exports.update = exports.query = exports.exportObject = exports.create = exports.upload = exports.publishUnpublish = exports.unpublish = exports.publish = undefined; -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.parseData = parseData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _contentstackError = require("./core/contentstackError"); var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackError); @@ -39,7 +39,7 @@ var _contentstackCollection = require("./contentstackCollection"); var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contentstackCollection); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/organization/index.js b/dist/es5/organization/index.js index 9a91e638..ec92d23a 100644 --- a/dist/es5/organization/index.js +++ b/dist/es5/organization/index.js @@ -12,10 +12,6 @@ var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.Organization = Organization; exports.OrganizationCollection = OrganizationCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -43,7 +43,7 @@ var _stack = require("../stack"); var _user = require("../user"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/query/index.js b/dist/es5/query/index.js index d04806aa..b3462d4a 100644 --- a/dist/es5/query/index.js +++ b/dist/es5/query/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -22,6 +18,10 @@ var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2) exports["default"] = Query; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _contentstackError = require("../core/contentstackError"); var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackError); @@ -34,7 +34,7 @@ var _contentstackCollection = require("../contentstackCollection"); var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contentstackCollection); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/asset/index.js b/dist/es5/stack/asset/index.js index a817a5bb..8286a7dc 100644 --- a/dist/es5/stack/asset/index.js +++ b/dist/es5/stack/asset/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -20,6 +16,10 @@ exports.Asset = Asset; exports.AssetCollection = AssetCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/bulkOperation/index.js b/dist/es5/stack/bulkOperation/index.js index 6aef33b4..4f39de8a 100644 --- a/dist/es5/stack/bulkOperation/index.js +++ b/dist/es5/stack/bulkOperation/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -22,13 +18,17 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.BulkOperation = BulkOperation; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); var _entity = require("../../entity"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -70,51 +70,87 @@ function BulkOperation(http) { * 'en' * ], * environments: [ - * '{{env_name}}/env_uid}}' + * '{{env_uid}}' * ] * } * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails }) * .then((response) => { console.log(response.notice) }) * + * @example + * // Bulk nested publish + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * { + * environments:["{{env_uid}}","{{env_uid}}"], + * locales:["en-us"], + * items:[ + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * } + * ] + * } + * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails, is_nested: true }) + * .then((response) => { console.log(response.notice) }) + * */ - this.publish = /*#__PURE__*/(0, _asyncToGenerator3["default"])( /*#__PURE__*/_regenerator2["default"].mark(function _callee() { - var params, - httpBody, - headers, - _args = arguments; - return _regenerator2["default"].wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - params = _args.length > 0 && _args[0] !== undefined ? _args[0] : {}; - httpBody = {}; - - if (params.details) { - httpBody = (0, _cloneDeep2["default"])(params.details); - } - - headers = { - headers: _objectSpread({}, (0, _cloneDeep2["default"])(_this.stackHeaders)) - }; - - if (params.skip_workflow_stage_check) { - headers.headers.skip_workflow_stage_check = params.skip_workflow_stage_check; - } - - if (params.approvals) { - headers.headers.approvals = params.approvals; - } - - return _context.abrupt("return", (0, _entity.publishUnpublish)(http, '/bulk/publish', httpBody, headers)); - - case 7: - case "end": - return _context.stop(); + this.publish = /*#__PURE__*/function () { + var _ref2 = (0, _asyncToGenerator3["default"])( /*#__PURE__*/_regenerator2["default"].mark(function _callee(_ref) { + var details, _ref$skip_workflow_st, skip_workflow_stage, _ref$approvals, approvals, _ref$is_nested, is_nested, httpBody, headers; + + return _regenerator2["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + details = _ref.details, _ref$skip_workflow_st = _ref.skip_workflow_stage, skip_workflow_stage = _ref$skip_workflow_st === void 0 ? false : _ref$skip_workflow_st, _ref$approvals = _ref.approvals, approvals = _ref$approvals === void 0 ? false : _ref$approvals, _ref$is_nested = _ref.is_nested, is_nested = _ref$is_nested === void 0 ? false : _ref$is_nested; + httpBody = {}; + + if (details) { + httpBody = (0, _cloneDeep2["default"])(details); + } + + headers = { + headers: _objectSpread({}, (0, _cloneDeep2["default"])(_this.stackHeaders)) + }; + + if (is_nested) { + headers.params = { + nested: true, + event_type: 'bulk' + }; + } + + if (skip_workflow_stage) { + headers.headers.skip_workflow_stage_check = skip_workflow_stage; + } + + if (approvals) { + headers.headers.approvals = approvals; + } + + return _context.abrupt("return", (0, _entity.publishUnpublish)(http, '/bulk/publish', httpBody, headers)); + + case 8: + case "end": + return _context.stop(); + } } - } - }, _callee); - })); + }, _callee); + })); + + return function (_x) { + return _ref2.apply(this, arguments); + }; + }(); /** * The Unpublish entries and assets in bulk request allows you to unpublish multiple entries and assets at the same time. * @memberof BulkOperation @@ -143,51 +179,87 @@ function BulkOperation(http) { * 'en' * ], * environments: [ - * '{{env_name}}/env_uid}}' + * '{{env_uid}}' * ] * } * client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails }) * .then((response) => { console.log(response.notice) }) * + * @example + * // Bulk nested publish + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * { + * environments:["{{env_uid}}","{{env_uid}}"], + * locales:["en-us"], + * items:[ + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * } + * ] + * } + * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails, is_nested: true }) + * .then((response) => { console.log(response.notice) }) */ - this.unpublish = /*#__PURE__*/(0, _asyncToGenerator3["default"])( /*#__PURE__*/_regenerator2["default"].mark(function _callee2() { - var params, - httpBody, - headers, - _args2 = arguments; - return _regenerator2["default"].wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}; - httpBody = {}; - if (params.details) { - httpBody = (0, _cloneDeep2["default"])(params.details); - } + this.unpublish = /*#__PURE__*/function () { + var _ref4 = (0, _asyncToGenerator3["default"])( /*#__PURE__*/_regenerator2["default"].mark(function _callee2(_ref3) { + var details, _ref3$skip_workflow_s, skip_workflow_stage, _ref3$approvals, approvals, _ref3$is_nested, is_nested, httpBody, headers; - headers = { - headers: _objectSpread({}, (0, _cloneDeep2["default"])(_this.stackHeaders)) - }; + return _regenerator2["default"].wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + details = _ref3.details, _ref3$skip_workflow_s = _ref3.skip_workflow_stage, skip_workflow_stage = _ref3$skip_workflow_s === void 0 ? false : _ref3$skip_workflow_s, _ref3$approvals = _ref3.approvals, approvals = _ref3$approvals === void 0 ? false : _ref3$approvals, _ref3$is_nested = _ref3.is_nested, is_nested = _ref3$is_nested === void 0 ? false : _ref3$is_nested; + httpBody = {}; - if (params.skip_workflow_stage_check) { - headers.headers.skip_workflow_stage_check = params.skip_workflow_stage_check; - } + if (details) { + httpBody = (0, _cloneDeep2["default"])(details); + } - if (params.approvals) { - headers.headers.approvals = params.approvals; - } + headers = { + headers: _objectSpread({}, (0, _cloneDeep2["default"])(_this.stackHeaders)) + }; - return _context2.abrupt("return", (0, _entity.publishUnpublish)(http, '/bulk/unpublish', httpBody, headers)); + if (is_nested) { + headers.params = { + nested: true, + event_type: 'bulk' + }; + } - case 7: - case "end": - return _context2.stop(); + if (skip_workflow_stage) { + headers.headers.skip_workflow_stage_check = skip_workflow_stage; + } + + if (approvals) { + headers.headers.approvals = approvals; + } + + return _context2.abrupt("return", (0, _entity.publishUnpublish)(http, '/bulk/unpublish', httpBody, headers)); + + case 8: + case "end": + return _context2.stop(); + } } - } - }, _callee2); - })); + }, _callee2); + })); + + return function (_x2) { + return _ref4.apply(this, arguments); + }; + }(); /** * The Delete entries and assets in bulk request allows you to delete multiple entries and assets at the same time. * @memberof BulkOperation @@ -215,6 +287,7 @@ function BulkOperation(http) { * */ + this["delete"] = /*#__PURE__*/(0, _asyncToGenerator3["default"])( /*#__PURE__*/_regenerator2["default"].mark(function _callee3() { var params, httpBody, diff --git a/dist/es5/stack/contentType/entry/index.js b/dist/es5/stack/contentType/entry/index.js index 47cdff88..64a81f0e 100644 --- a/dist/es5/stack/contentType/entry/index.js +++ b/dist/es5/stack/contentType/entry/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -20,6 +16,10 @@ exports.Entry = Entry; exports.EntryCollection = EntryCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/contentType/index.js b/dist/es5/stack/contentType/index.js index 77aaceab..eda0de32 100644 --- a/dist/es5/stack/contentType/index.js +++ b/dist/es5/stack/contentType/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -20,6 +16,10 @@ exports.ContentType = ContentType; exports.ContentTypeCollection = ContentTypeCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/extension/index.js b/dist/es5/stack/extension/index.js index f15f619b..c48b7ffe 100644 --- a/dist/es5/stack/extension/index.js +++ b/dist/es5/stack/extension/index.js @@ -12,10 +12,6 @@ var _typeof2 = require("@babel/runtime/helpers/typeof"); var _typeof3 = (0, _interopRequireDefault2["default"])(_typeof2); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -24,6 +20,10 @@ exports.Extension = Extension; exports.ExtensionCollection = ExtensionCollection; exports.createExtensionFormData = createExtensionFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/globalField/index.js b/dist/es5/stack/globalField/index.js index dc4ed1d5..7af65640 100644 --- a/dist/es5/stack/globalField/index.js +++ b/dist/es5/stack/globalField/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _asyncToGenerator2 = require("@babel/runtime/helpers/asyncToGenerator"); var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerator2); @@ -20,6 +16,10 @@ exports.GlobalField = GlobalField; exports.GlobalFieldCollection = GlobalFieldCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); diff --git a/dist/es5/stack/index.js b/dist/es5/stack/index.js index 4995da36..a5634ab5 100644 --- a/dist/es5/stack/index.js +++ b/dist/es5/stack/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.Stack = Stack; exports.StackCollection = StackCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -61,7 +61,7 @@ var _bulkOperation = require("./bulkOperation"); var _label = require("./label"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/release/index.js b/dist/es5/stack/release/index.js index b4aeddf2..6475e094 100644 --- a/dist/es5/stack/release/index.js +++ b/dist/es5/stack/release/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.Release = Release; exports.ReleaseCollection = ReleaseCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -35,7 +35,7 @@ var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackE var _items = require("./items"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/release/items/index.js b/dist/es5/stack/release/items/index.js index 99a15372..273a3cc1 100644 --- a/dist/es5/stack/release/items/index.js +++ b/dist/es5/stack/release/items/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.ReleaseItem = ReleaseItem; exports.ReleaseItemCollection = ReleaseItemCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -37,7 +37,7 @@ var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contents var _ = require(".."); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/webhook/index.js b/dist/es5/stack/webhook/index.js index 728b403e..bc869bef 100644 --- a/dist/es5/stack/webhook/index.js +++ b/dist/es5/stack/webhook/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -24,6 +20,10 @@ exports.Webhook = Webhook; exports.WebhookCollection = WebhookCollection; exports.createFormData = createFormData; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -44,7 +44,7 @@ var _contentstackCollection = require("../../contentstackCollection"); var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contentstackCollection); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/stack/workflow/index.js b/dist/es5/stack/workflow/index.js index 4ee3390a..11b1c01b 100644 --- a/dist/es5/stack/workflow/index.js +++ b/dist/es5/stack/workflow/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.Workflow = Workflow; exports.WorkflowCollection = WorkflowCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -39,7 +39,7 @@ var _contentstackCollection2 = (0, _interopRequireDefault2["default"])(_contents var _publishRules = require("./publishRules"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/es5/user/index.js b/dist/es5/user/index.js index 5ab5cd5e..d6bdece8 100644 --- a/dist/es5/user/index.js +++ b/dist/es5/user/index.js @@ -8,10 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _regenerator = require("@babel/runtime/regenerator"); - -var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); - var _defineProperty2 = require("@babel/runtime/helpers/defineProperty"); var _defineProperty3 = (0, _interopRequireDefault2["default"])(_defineProperty2); @@ -23,6 +19,10 @@ var _asyncToGenerator3 = (0, _interopRequireDefault2["default"])(_asyncToGenerat exports.User = User; exports.UserCollection = UserCollection; +var _regenerator = require("@babel/runtime/regenerator"); + +var _regenerator2 = (0, _interopRequireDefault2["default"])(_regenerator); + var _cloneDeep = require("lodash/cloneDeep"); var _cloneDeep2 = (0, _interopRequireDefault2["default"])(_cloneDeep); @@ -35,7 +35,7 @@ var _contentstackError2 = (0, _interopRequireDefault2["default"])(_contentstackE var _organization = require("../organization"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty3["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } diff --git a/dist/nativescript/contentstack-management.js b/dist/nativescript/contentstack-management.js index 0a952da5..ef037a80 100644 --- a/dist/nativescript/contentstack-management.js +++ b/dist/nativescript/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(s):c<128?a+=i[c]:c<2048?a+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?a+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(s)),a+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(34),o=r(41);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(28),i=r(44),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),i=r(52),s=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(i).concat(s),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.21","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),i=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(37),i=r(98),s=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(29),y=r(122),b=r(123),v=r(129),m=r(23),g=r(40),w=r(131),k=r(9),x=r(133),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,_,S,H,E){var A,D=1&r,C=2&r,L=4&r;if(_&&(A=H?_(e,S,H,E):_(e)),void 0!==A)return A;if(!k(e))return e;var T=m(e);if(T){if(A=y(e),!D)return u(e,A)}else{var N=d(e),R="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||R&&!H){if(A=C||R?{}:v(e),!D)return C?p(e,s(A,e)):f(e,i(A,e))}else{if(!P[N])return H?e:{};A=b(e,N,D)}}E||(E=new n);var q=E.get(e);if(q)return q;E.set(e,A),x(e)?e.forEach((function(n){A.add(t(n,r,_,n,e,E))})):w(e)&&e.forEach((function(n,o){A.set(o,t(n,r,_,o,e,E))}));var U=T?void 0:(L?C?h:l:C?O:j)(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(A,o,t(n,r,_,o,e,E))})),A}},function(t,e,r){var n=r(11),o=r(71),a=r(72),i=r(73),s=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(34),o=r(80),a=r(9),i=r(36),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),i=r(94),s=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(31),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(s=i.exec(a))&&p=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&s!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(i=[])[f]=o:i[u]=o:i={0:o}}o=i}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(59),i=r(0),s=r.n(i),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(60),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=l()(f.a.mark((function r(){var s;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var s,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,i,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,i;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},s()(r)),s()(this.stackHeaders)),params:k({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},s()(this.stackHeaders)),params:k({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return l()(f.a.mark((function e(){var r,n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},s()(this.stackHeaders)),params:k({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:k({},s()(this.stackHeaders)),params:k({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,Mt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return s()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(s()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,i,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:Ht({},s()(e.stackHeaders)),data:Ht({},s()(o)),params:Ht({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,i;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:Ht({},s()(e.stackHeaders)),params:Ht({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(s()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ft(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ft({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,i=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Ft({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Mt})),this}function Mt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new It(t,{stack:e})}))}function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=$t({},s()(t));return new It(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Gt=r(62),Qt=r.n(Gt),Xt=r(63),Jt=r.n(Xt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=te(te({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Yt.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Wt({http:i});return u}}]); \ No newline at end of file +module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=171)}([function(t,e,r){var n=r(67);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(137)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(54),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=P(t),n=r.length>0?r[0]:"",a=S("%"+n+"%",e),s=a.name,u=a.value,p=!1,f=a.alias;f&&(n=f[0],w(r,g([0,1],f)));for(var l=1,h=!0;l=r.length){var x=c(u,d);u=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:u[d]}else h=m(u,d),u=u[d];h&&!p&&(y[s]=u)}}return u}},function(t,e,r){"use strict";var n=r(147);t.exports=Function.prototype.bind||n},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13),o=r(9);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e;t.exports=n}).call(this,r(38))},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(41),o=r(35),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(99);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(101),o=r(102),a=r(23),i=r(43),s=r(105),c=r(106),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},function(t,e,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(7),a=r(104),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,r(17)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(36),o=r(44);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(49),o=r(50),a=r(28),i=r(47),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(52))},function(t,e,r){"use strict";var n=r(4),o=r(160),a=r(162),i=r(55),s=r(163),c=r(166),u=r(167),p=r(59);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(p("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(p("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,r){"use strict";var n=r(161);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(138),o=r(139),a=r(140),i=r(142);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(143),o=r(153),a=r(33);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(68),o=r(98),a=r(40),i=r(100),s=r(110),c=r(113),u=r(114),p=r(115),f=r(117),l=r(118),h=r(119),d=r(29),y=r(124),b=r(125),v=r(131),m=r(23),g=r(43),w=r(133),x=r(9),k=r(135),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,S,_,A,E){var H,D=1&r,R=2&r,C=4&r;if(S&&(H=A?S(e,_,A,E):S(e)),void 0!==H)return H;if(!x(e))return e;var T=m(e);if(T){if(H=y(e),!D)return u(e,H)}else{var N=d(e),L="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||L&&!A){if(H=R||L?{}:v(e),!D)return R?f(e,s(H,e)):p(e,i(H,e))}else{if(!P[N])return A?e:{};H=b(e,N,D)}}E||(E=new n);var U=E.get(e);if(U)return U;E.set(e,H),k(e)?e.forEach((function(n){H.add(t(n,r,S,n,e,E))})):w(e)&&e.forEach((function(n,o){H.set(o,t(n,r,S,o,e,E))}));var F=T?void 0:(C?R?h:l:R?O:j)(e);return o(F||e,(function(n,o){F&&(n=e[o=n]),a(H,o,t(n,r,S,o,e,E))})),H}},function(t,e,r){var n=r(11),o=r(74),a=r(75),i=r(76),s=r(77),c=r(78);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(85);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(36),o=r(82),a=r(9),i=r(39),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(83),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(86),o=r(93),a=r(95),i=r(96),s=r(97);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(141);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?x+w:""}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(31),a=r(149),i=r(151),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},function(t,e,r){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=e.Symbol,a=r(146);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===n(o("foo"))&&("symbol"===n(Symbol("bar"))&&a())))}}).call(this,r(38))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==a.call(e))throw new TypeError(n+e);for(var r,i=o.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,i.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,i.concat(o.call(arguments)))},c=Math.max(0,e.length-i.length),u=[],p=0;p-1?o(r):r}},function(t,e,r){"use strict";var n=r(32),o=r(31),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(152).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==T(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",r)}(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(N(a,e)>=0)return"[Circular]";function j(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var P=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,j);return"[Function"+(P?": "+P:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(D(e)){var B=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?B:U(B)}if(function(t){if(!t||"object"!==n(t))return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var z="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var G=q(e,j);return w&&!function(t){for(var e=0;e=0)return!1;return!0}(G)?"["+M(G,w)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return!("[object Error]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=q(e,j);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var J=[];return s.call(e,(function(t,r){J.push(j(r,e,!0)+" => "+j(t,e))})),I("Map",i.call(e),J,w)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return f.call(e,(function(t){Q.push(j(t,e))})),I("Set",p.call(e),Q,w)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return U(j(g.call(e)));if(function(t){return!("[object Boolean]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(y.call(e));if(function(t){return!("[object String]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(String(e)));if(!function(t){return!("[object Date]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=q(e,j),K=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",Z=!K&&_&&Object(e)===e&&_ in e?T(e).slice(8,-1):Y?"Object":"",tt=(K||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Z||Y?"["+[].concat(Z||[],Y||[]).join(": ")+"] ":"");return 0===X.length?tt+"{}":w?tt+"{"+M(X,w)+"}":tt+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function T(t){return b.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(61);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(62),i=r(0),s=r.n(i),c=r(18),u=r(2),p=r.n(u),f=r(1),l=r.n(f);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(63),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=p()(l.a.mark((function r(){var s;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=p()(l.a.mark((function r(){var n;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),f=function(){var r=p()(l.a.mark((function r(){var s,c;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:f}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=p()(l.a.mark((function t(e){var r,n,o,a,i,c,u,p;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(t){var e=t.http,r=t.params;return function(){var t=p()(l.a.mark((function t(n,o){var a,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},s()(r)),s()(this.stackHeaders)),params:x({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,R(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},_=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},A=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i,c=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},s()(this.stackHeaders)),params:x({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,R(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return p()(l.a.mark((function e(){var r,n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:x({},s()(this.stackHeaders)),params:x({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},H=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,R(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function R(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=A(t,"role"),this.delete=E(t),this.fetch=H(t,"role"))):(this.create=S({http:t}),this.fetchAll=D(t,T),this.query=_({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,zt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,F)}function F(t,e){return s()(e.organizations||[]).map((function(e){return new U(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=A(t,"content_type"),this.delete=E(t),this.fetch=H(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new G(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=S({http:t}),this.query=_({http:t,wrapperCollection:X}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(s()(e.content_types)||[]).map((function(r){return new Q(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=A(t,"global_field"),this.delete=E(t),this.fetch=H(t,"global_field")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Z}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=A(t,"token"),this.delete=E(t),this.fetch=H(t,"token")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=A(t,"environment"),this.delete=E(t),this.fetch=H(t,"environment")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset")):this.create=S({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset"),this.replace=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=k(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=_({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new W.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object(V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=A(t,"locale"),this.delete=E(t),this.fetch=H(t,"locale")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:pt})),this}function pt(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var ft=r(64),lt=r.n(ft);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=A(t,"extension"),this.delete=E(t),this.fetch=H(t,"extension")):(this.upload=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=S({http:t}),this.query=_({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new W.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object(V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=A(t,"webhook"),this.delete=E(t),this.fetch=H(t,"webhook"),this.executions=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=A(t,"publishing_rule"),this.delete=E(t),this.fetch=H(t,"publishing_rule")):(this.create=S({http:t}),this.fetchAll=D(t,kt))}function kt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=A(t,"workflow"),this.disable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=H(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=p()(l.a.mark((function e(n){var o,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,kt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=S({http:t}),this.fetchAll=D(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function St(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=p()(l.a.mark((function n(o){var a,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:At({},s()(e.stackHeaders)),data:At({},s()(o)),params:At({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=p()(l.a.mark((function n(o){var a,i;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:At({},s()(e.stackHeaders)),params:At({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,Ht));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=A(t,"release"),this.fetch=H(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw h(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/publish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/unpublish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=A(t,"label"),this.delete=E(t),this.fetch=H(t,"label")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:It}))}function It(t,e){return(s()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new Q(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Ut(t,e)},this.users=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",B(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=p()(l.a.mark((function e(){var n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:qt({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=p()(l.a.mark((function e(){var n,o,a,i=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:qt({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=S({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=_({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new q(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new q(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Vt({},s()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var $t=r(65),Jt=r.n($t),Qt=r(66),Xt=r.n(Qt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=te(te({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Yt.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Gt({http:i});return u}}]); \ No newline at end of file diff --git a/dist/node/contentstack-management.js b/dist/node/contentstack-management.js index 05e6d270..5f13d037 100644 --- a/dist/node/contentstack-management.js +++ b/dist/node/contentstack-management.js @@ -1,13 +1,13 @@ -module.exports=function(e){var a={};function t(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var i in e)t.d(n,i,function(a){return e[a]}.bind(null,i));return n},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=193)}([function(e,a,t){var n=t(78);e.exports=function(e){return n(e,5)}},function(e,a,t){e.exports=t(148)},function(e,a){function t(e,a,t,n,i,o,r){try{var s=e[o](r),c=s.value}catch(e){return void t(e)}s.done?a(c):Promise.resolve(c).then(n,i)}e.exports=function(e){return function(){var a=this,n=arguments;return new Promise((function(i,o){var r=e.apply(a,n);function s(e){t(r,i,o,s,c,"next",e)}function c(e){t(r,i,o,s,c,"throw",e)}s(void 0)}))}}},function(e,a){e.exports=function(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}},function(e,a,t){"use strict";function n(e){return(n="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})(e)}var i=t(63),o=Object.prototype.toString;function r(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===n(e)}function p(e){if("[object Object]"!==o.call(e))return!1;var a=Object.getPrototypeOf(e);return null===a||a===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,a){if(null!=e)if("object"!==n(e)&&(e=[e]),r(e))for(var t=0,i=e.length;t1;){var a=e.pop(),t=a.obj[a.prop];if(o(t)){for(var n=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=i.charAt(s):c<128?o+=r[c]:c<2048?o+=r[192|c>>6]+r[128|63&c]:c<55296||c>=57344?o+=r[224|c>>12]+r[128|c>>6&63]+r[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&i.charCodeAt(s)),o+=r[240|c>>18]+r[128|c>>12&63]+r[128|c>>6&63]+r[128|63&c])}return o},isBuffer:function(e){return!(!e||"object"!==n(e))&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,a){if(o(e)){for(var t=[],n=0;n-1&&e%1==0&&e<=9007199254740991}},function(e,a){e.exports=function(e,a){return function(t){return e(a(t))}}},function(e,a,t){var n=t(40),i=t(47);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},function(e,a){e.exports=function(){return[]}},function(e,a,t){var n=t(52),i=t(53),o=t(29),r=t(50),s=Object.getOwnPropertySymbols?function(e){for(var a=[];e;)n(a,o(e)),e=i(e);return a}:r;e.exports=s},function(e,a){e.exports=function(e,a){for(var t=-1,n=a.length,i=e.length;++ta?1:0}e.exports=function(e,a,t,r){var s=i(e,t);return n(e,a,s,(function t(i,o){i?r(i,o):(s.index++,s.index<(s.keyedList||e).length?n(e,a,s,t):r(null,s.results))})),o.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,a){return-1*r(e,a)}},function(e,a,t){"use strict";var n=String.prototype.replace,i=/%20/g,o=t(36),r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=o.assign({default:r.RFC3986,formatters:{RFC1738:function(e){return n.call(e,i,"+")},RFC3986:function(e){return String(e)}}},r)},function(e,a,t){"use strict";e.exports=function(e,a){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(o)})),e.exports=c},function(e,a,t){"use strict";var n=t(38);e.exports=function(e,a,t){var i=t.config.validateStatus;t.status&&i&&!i(t.status)?a(n("Request failed with status code "+t.status,t.config,null,t.request,t)):e(t)}},function(e,a,t){"use strict";e.exports=function(e,a,t,n,i){return e.config=a,t&&(e.code=t),e.request=n,e.response=i,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}},e}},function(e,a,t){"use strict";var n=t(174),i=t(175);e.exports=function(e,a){return e&&!n(a)?i(e,a):a}},function(e,a,t){function n(e){return(n="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})(e)}var i=t(35),o=i.URL,r=t(33),s=t(34),c=t(32).Writable,p=t(179),u=t(180),l=Object.create(null);["abort","aborted","connect","error","socket","timeout"].forEach((function(e){l[e]=function(a,t,n){this._redirectable.emit(e,a,t,n)}}));var d=j("ERR_FR_REDIRECTION_FAILURE",""),m=j("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),f=j("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),x=j("ERR_STREAM_WRITE_AFTER_END","write after end");function h(e,a){c.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],a&&this.on("response",a);var t=this;this._onNativeResponse=function(e){t._processResponse(e)},this._performRequest()}function v(e,a){clearTimeout(e._timeout),e._timeout=setTimeout((function(){e.emit("timeout")}),a)}function b(){clearTimeout(this._timeout)}function g(e){var a={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(e).forEach((function(n){var r=n+":",s=t[r]=e[n],c=a[n]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,n,s){if("string"==typeof e){var c=e;try{e=w(new o(c))}catch(a){e=i.parse(c)}}else o&&e instanceof o?e=w(e):(s=n,n=e,e={protocol:r});return"function"==typeof n&&(s=n,n=null),(n=Object.assign({maxRedirects:a.maxRedirects,maxBodyLength:a.maxBodyLength},e,n)).nativeProtocols=t,p.equal(n.protocol,r,"protocol mismatch"),u("options",n),new h(n,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,a,t){var n=c.request(e,a,t);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),a}function y(){}function w(e){var a={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&&(a.port=Number(e.port)),a}function k(e,a){var t;for(var n in a)e.test(n)&&(t=a[n],delete a[n]);return t}function j(e,a){function t(e){Error.captureStackTrace(this,this.constructor),this.message=e||a}return t.prototype=new Error,t.prototype.constructor=t,t.prototype.name="Error ["+e+"]",t.prototype.code=e,t}h.prototype=Object.create(c.prototype),h.prototype.write=function(e,a,t){if(this._ending)throw new x;if(!("string"==typeof e||"object"===n(e)&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof a&&(t=a,a=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:a}),this._currentRequest.write(e,a,t)):(this.emit("error",new f),this.abort()):t&&t()},h.prototype.end=function(e,a,t){if("function"==typeof e?(t=e,e=a=null):"function"==typeof a&&(t=a,a=null),e){var n=this,i=this._currentRequest;this.write(e,a,(function(){n._ended=!0,i.end(null,null,t)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,t)},h.prototype.setHeader=function(e,a){this._options.headers[e]=a,this._currentRequest.setHeader(e,a)},h.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},h.prototype.setTimeout=function(e,a){if(a&&this.once("timeout",a),this.socket)v(this,e);else{var t=this;this._currentRequest.once("socket",(function(){v(t,e)}))}return this.once("response",b),this.once("error",b),this},["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){h.prototype[e]=function(a,t){return this._currentRequest[e](a,t)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(h.prototype,e,{get:function(){return this._currentRequest[e]}})})),h.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 a=e.path.indexOf("?");a<0?e.pathname=e.path:(e.pathname=e.path.substring(0,a),e.search=e.path.substring(a))}},h.prototype._performRequest=function(){var e=this._options.protocol,a=this._options.nativeProtocols[e];if(a){if(this._options.agents){var t=e.substr(0,e.length-1);this._options.agent=this._options.agents[t]}var n=this._currentRequest=a.request(this._options,this._onNativeResponse);for(var o in this._currentUrl=i.format(this._options),n._redirectable=this,l)o&&n.on(o,l[o]);if(this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(a){if(n===s._currentRequest)if(a)s.emit("error",a);else if(r=300&&a<400){if(this._currentRequest.removeAllListeners(),this._currentRequest.on("error",y),this._currentRequest.abort(),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new m);((301===a||302===a)&&"POST"===this._options.method||303===a&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var n=k(/^host$/i,this._options.headers)||i.parse(this._currentUrl).hostname,o=i.resolve(this._currentUrl,t);u("redirecting to",o),this._isRedirect=!0;var r=i.parse(o);if(Object.assign(this._options,r),r.hostname!==n&&k(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new d("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=g({http:r,https:s}),e.exports.wrap=g},function(e,a,t){function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,a){if(!e)return;if("string"==typeof e)return i(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,a)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.21","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(e,a){e.exports=function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}},function(e,a){function t(a){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(a)}e.exports=t},function(e,a,t){var n=t(159),i=t(160),o=t(161),r=t(163);e.exports=function(e,a){return n(e)||i(e,a)||o(e,a)||r()}},function(e,a,t){"use strict";var n=t(164),i=t(165),o=t(62);e.exports={formats:o,parse:i,stringify:n}},function(e,a,t){var n=t(79),i=t(109),o=t(43),r=t(111),s=t(121),c=t(124),p=t(125),u=t(126),l=t(128),d=t(129),m=t(130),f=t(30),x=t(135),h=t(136),v=t(142),b=t(24),g=t(46),y=t(144),w=t(9),k=t(146),j=t(23),_=t(28),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,e.exports=function e(a,t,S,P,C,E){var z,H=1&t,A=2&t,q=4&t;if(S&&(z=C?S(a,P,C,E):S(a)),void 0!==z)return z;if(!w(a))return a;var R=b(a);if(R){if(z=x(a),!H)return p(a,z)}else{var T=f(a),D="[object Function]"==T||"[object GeneratorFunction]"==T;if(g(a))return c(a,H);if("[object Object]"==T||"[object Arguments]"==T||D&&!C){if(z=A||D?{}:v(a),!H)return A?l(a,s(z,a)):u(a,r(z,a))}else{if(!O[T])return C?a:{};z=h(a,T,H)}}E||(E=new n);var L=E.get(a);if(L)return L;E.set(a,z),k(a)?a.forEach((function(n){z.add(e(n,t,S,n,a,E))})):y(a)&&a.forEach((function(n,i){z.set(i,e(n,t,S,i,a,E))}));var F=R?void 0:(q?A?m:d:A?_:j)(a);return i(F||a,(function(n,i){F&&(n=a[i=n]),o(z,i,e(n,t,S,i,a,E))})),z}},function(e,a,t){var n=t(11),i=t(85),o=t(86),r=t(87),s=t(88),c=t(89);function p(e){var a=this.__data__=new n(e);this.size=a.size}p.prototype.clear=i,p.prototype.delete=o,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},function(e,a){e.exports=function(){this.__data__=[],this.size=0}},function(e,a,t){var n=t(12),i=Array.prototype.splice;e.exports=function(e){var a=this.__data__,t=n(a,e);return!(t<0)&&(t==a.length-1?a.pop():i.call(a,t,1),--this.size,!0)}},function(e,a,t){var n=t(12);e.exports=function(e){var a=this.__data__,t=n(a,e);return t<0?void 0:a[t][1]}},function(e,a,t){var n=t(12);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,a,t){var n=t(12);e.exports=function(e,a){var t=this.__data__,i=n(t,e);return i<0?(++this.size,t.push([e,a])):t[i][1]=a,this}},function(e,a,t){var n=t(11);e.exports=function(){this.__data__=new n,this.size=0}},function(e,a){e.exports=function(e){var a=this.__data__,t=a.delete(e);return this.size=a.size,t}},function(e,a){e.exports=function(e){return this.__data__.get(e)}},function(e,a){e.exports=function(e){return this.__data__.has(e)}},function(e,a,t){var n=t(11),i=t(21),o=t(96);e.exports=function(e,a){var t=this.__data__;if(t instanceof n){var r=t.__data__;if(!i||r.length<199)return r.push([e,a]),this.size=++t.size,this;t=this.__data__=new o(r)}return t.set(e,a),this.size=t.size,this}},function(e,a,t){var n=t(40),i=t(93),o=t(9),r=t(42),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?d:s).test(r(e))}},function(e,a,t){var n=t(22),i=Object.prototype,o=i.hasOwnProperty,r=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var a=o.call(e,s),t=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=r.call(e);return n&&(a?e[s]=t:delete e[s]),i}},function(e,a){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e,a,t){var n,i=t(94),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},function(e,a,t){var n=t(7)["__core-js_shared__"];e.exports=n},function(e,a){e.exports=function(e,a){return null==e?void 0:e[a]}},function(e,a,t){var n=t(97),i=t(104),o=t(106),r=t(107),s=t(108);function c(e){var a=-1,t=null==e?0:e.length;for(this.clear();++a-1&&e%1==0&&e=0;--i){var o=this.tryEntries[i],r=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--a){var t=this.tryEntries[a];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),j(t),l}},catch:function(e){for(var a=this.tryEntries.length-1;a>=0;--a){var t=this.tryEntries[a];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var i=n.arg;j(t)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,t){return this.delegate={iterator:O(e),resultName:a,nextLoc:t},"next"===this.method&&(this.arg=void 0),l}},e}("object"===a(e)?e.exports:{});try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}).call(this,t(17)(e))},function(e,a,t){var n=t(18),i=t(32).Stream,o=t(150);function r(){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=r,n.inherits(r,i),r.create=function(e){var a=new this;for(var t in e=e||{})a[t]=e[t];return a},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.isStreamLike(e)){if(!(e instanceof o)){var a=o.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=a}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,a){return i.prototype.pipe.call(this,e,a),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var a=e;this.write(a),this._getNext()},r.prototype._handleErrors=function(e){var a=this;e.on("error",(function(e){a._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(a){a.dataSize&&(e.dataSize+=a.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},function(e,a,t){var n=t(32).Stream,i=t(18);function o(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=o,i.inherits(o,n),o.create=function(e,a){var t=new this;for(var n in a=a||{})t[n]=a[n];t.source=e;var i=e.emit;return e.emit=function(){return t._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),t.pauseStream&&e.pause(),t},Object.defineProperty(o.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),o.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},o.prototype.resume=function(){this._released||this.release(),this.source.resume()},o.prototype.pause=function(){this.source.pause()},o.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},o.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},o.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))},o.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))}}},function(e,a,t){"use strict"; +module.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=204)}([function(e,t,n){var a=n(80);e.exports=function(e){return a(e,5)}},function(e,t,n){e.exports=n(150)},function(e,t){function n(e,t,n,a,o,i,r){try{var s=e[i](r),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(a,o)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise((function(o,i){var r=e.apply(t,a);function s(e){n(r,o,i,s,c,"next",e)}function c(e){n(r,o,i,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=n(65),i=Object.prototype.toString;function r(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===a(e)}function p(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!==a(e)&&(e=[e]),r(e))for(var n=0,o=e.length;n1&&"boolean"!=typeof t)throw new r('"allowMissing" argument must be a boolean');var n=_(e),a=n.length>0?n[0]:"",i=S("%"+a+"%",t),s=i.name,p=i.value,u=!1,l=i.alias;l&&(a=l[0],g(n,y([0,1],l)));for(var d=1,m=!0;d=n.length){var w=c(p,f);p=(m=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:p[f]}else m=b(p,f),p=p[f];m&&!u&&(v[s]=p)}}return p}},function(e,t,n){"use strict";var a=n(170);e.exports=Function.prototype.bind||a},function(e,t,n){"use strict";var a=String.prototype.replace,o=/%20/g,i="RFC1738",r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return a.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:r}},function(e,t,n){"use strict";var a=n(4);function o(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(a.isURLSearchParams(t))i=t.toString();else{var r=[];a.forEach(t,(function(e,t){null!=e&&(a.isArray(e)?t+="[]":e=[e],a.forEach(e,(function(e){a.isDate(e)?e=e.toISOString():a.isObject(e)&&(e=JSON.stringify(e)),r.push(o(t)+"="+o(e))})))})),i=r.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,n){"use strict";var a=n(69);e.exports=function(e,t,n,o,i){var r=new Error(e);return a(r,t,n,o,i)}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var a=n(14),o=n(9);e.exports=function(e){if(!o(e))return!1;var t=a(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){function n(e){return(n="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})(e)}var a="object"==("undefined"==typeof global?"undefined":n(global))&&global&&global.Object===Object&&global;e.exports=a},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var a=n(46),o=n(41),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var r=e[t];i.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||a(e,t,n)}},function(e,t,n){var a=n(112);e.exports=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var a=n(114),o=n(115),i=n(24),r=n(48),s=n(118),c=n(119),p=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),l=!n&&!u&&r(e),d=!n&&!u&&!l&&c(e),m=n||u||l||d,f=m?a(e.length,String):[],v=f.length;for(var x in e)!t&&!p.call(e,x)||m&&("length"==x||l&&("offset"==x||"parent"==x)||d&&("buffer"==x||"byteLength"==x||"byteOffset"==x)||s(x,v))||f.push(x);return f}},function(e,t,n){(function(e){function a(e){return(a="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})(e)}var o=n(7),i=n(117),r="object"==a(t)&&t&&!t.nodeType&&t,s=r&&"object"==a(e)&&e&&!e.nodeType&&e,c=s&&s.exports===r?o.Buffer:void 0,p=(c?c.isBuffer:void 0)||i;e.exports=p}).call(this,n(18)(e))},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var a=n(42),o=n(49);e.exports=function(e){return null!=e&&o(e.length)&&!a(e)}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var a=n(54),o=n(55),i=n(29),r=n(52),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)a(t,i(e)),e=o(e);return t}:r;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,a=t.length,o=e.length;++nt?1:0}e.exports=function(e,t,n,r){var s=o(e,n);return a(e,t,s,(function n(o,i){o?r(o,i):(s.index++,s.index<(s.keyedList||e).length?a(e,t,s,n):r(null,s.results))})),i.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,t){return-1*r(e,t)}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=n(38),i=Object.prototype.hasOwnProperty,r=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},a=0;a1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var a=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||r===o.RFC1738&&(40===l||41===l)?p+=c.charAt(u):l<128?p+=s[l]:l<2048?p+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?p+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),p+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return p},isBuffer:function(e){return!(!e||"object"!==a(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(r(e)){for(var n=[],a=0;a=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),a.forEach(["post","put","patch"],(function(e){c.headers[e]=a.merge(i)})),e.exports=c},function(e,t,n){"use strict";var a=n(40);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(a("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,o){return e.config=t,n&&(e.code=n),e.request=a,e.response=o,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}},e}},function(e,t,n){"use strict";var a=n(185),o=n(186);e.exports=function(e,t){return e&&!a(t)?o(e,t):t}},function(e,t,n){function a(e){return(a="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})(e)}var o=n(35),i=o.URL,r=n(33),s=n(34),c=n(32).Writable,p=n(190),u=n(191),l=Object.create(null);["abort","aborted","connect","error","socket","timeout"].forEach((function(e){l[e]=function(t,n,a){this._redirectable.emit(e,t,n,a)}}));var d=j("ERR_FR_REDIRECTION_FAILURE",""),m=j("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),f=j("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),v=j("ERR_STREAM_WRITE_AFTER_END","write after end");function x(e,t){c.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 h(e,t){clearTimeout(e._timeout),e._timeout=setTimeout((function(){e.emit("timeout")}),t)}function b(){clearTimeout(this._timeout)}function y(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(a){var r=a+":",s=n[r]=e[a],c=t[a]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,a,s){if("string"==typeof e){var c=e;try{e=w(new i(c))}catch(t){e=o.parse(c)}}else i&&e instanceof i?e=w(e):(s=a,a=e,e={protocol:r});return"function"==typeof a&&(s=a,a=null),(a=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,a)).nativeProtocols=n,p.equal(a.protocol,r,"protocol mismatch"),u("options",a),new x(a,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var a=c.request(e,t,n);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})})),t}function g(){}function w(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 k(e,t){var n;for(var a in t)e.test(a)&&(n=t[a],delete t[a]);return n}function j(e,t){function n(e){Error.captureStackTrace(this,this.constructor),this.message=e||t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}x.prototype=Object.create(c.prototype),x.prototype.write=function(e,t,n){if(this._ending)throw new v;if(!("string"==typeof e||"object"===a(e)&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof 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 f),this.abort()):n&&n()},x.prototype.end=function(e,t,n){if("function"==typeof e?(n=e,e=t=null):"function"==typeof t&&(n=t,t=null),e){var a=this,o=this._currentRequest;this.write(e,t,(function(){a._ended=!0,o.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},x.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},x.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},x.prototype.setTimeout=function(e,t){if(t&&this.once("timeout",t),this.socket)h(this,e);else{var n=this;this._currentRequest.once("socket",(function(){h(n,e)}))}return this.once("response",b),this.once("error",b),this},["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){x.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(x.prototype,e,{get:function(){return this._currentRequest[e]}})})),x.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))}},x.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(t){if(this._options.agents){var n=e.substr(0,e.length-1);this._options.agent=this._options.agents[n]}var a=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i in this._currentUrl=o.format(this._options),a._redirectable=this,l)i&&a.on(i,l[i]);if(this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(t){if(a===s._currentRequest)if(t)s.emit("error",t);else if(r=300&&t<400){if(this._currentRequest.removeAllListeners(),this._currentRequest.on("error",g),this._currentRequest.abort(),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new m);((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var a=k(/^host$/i,this._options.headers)||o.parse(this._currentUrl).hostname,i=o.resolve(this._currentUrl,n);u("redirecting to",i),this._isRedirect=!0;var r=o.parse(i);if(Object.assign(this._options,r),r.hostname!==a&&k(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new d("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=y({http:r,https:s}),e.exports.wrap=y},function(e,t,n){function a(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var a=n(161),o=n(162),i=n(163),r=n(165);e.exports=function(e,t){return a(e)||o(e,t)||i(e,t)||r()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var a=n(166),o=n(176),i=n(38);e.exports={formats:i,parse:o,stringify:a}},function(e,t,n){var a=n(81),o=n(111),i=n(45),r=n(113),s=n(123),c=n(126),p=n(127),u=n(128),l=n(130),d=n(131),m=n(132),f=n(30),v=n(137),x=n(138),h=n(144),b=n(24),y=n(48),g=n(146),w=n(9),k=n(148),j=n(23),O=n(28),_={};_["[object Arguments]"]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_["[object Object]"]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_["[object Function]"]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,S,P,E,A){var C,z=1&n,q=2&n,R=4&n;if(S&&(C=E?S(t,P,E,A):S(t)),void 0!==C)return C;if(!w(t))return t;var H=b(t);if(H){if(C=v(t),!z)return p(t,C)}else{var F=f(t),T="[object Function]"==F||"[object GeneratorFunction]"==F;if(y(t))return c(t,z);if("[object Object]"==F||"[object Arguments]"==F||T&&!E){if(C=q||T?{}:h(t),!z)return q?l(t,s(C,t)):u(t,r(C,t))}else{if(!_[F])return E?t:{};C=x(t,F,z)}}A||(A=new a);var D=A.get(t);if(D)return D;A.set(t,C),k(t)?t.forEach((function(a){C.add(e(a,n,S,a,t,A))})):g(t)&&t.forEach((function(a,o){C.set(o,e(a,n,S,o,t,A))}));var L=H?void 0:(R?q?m:d:q?O:j)(t);return o(L||t,(function(a,o){L&&(a=t[o=a]),i(C,o,e(a,n,S,o,t,A))})),C}},function(e,t,n){var a=n(12),o=n(87),i=n(88),r=n(89),s=n(90),c=n(91);function p(e){var t=this.__data__=new a(e);this.size=t.size}p.prototype.clear=o,p.prototype.delete=i,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var a=n(13),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=a(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var a=n(13);e.exports=function(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var a=n(13);e.exports=function(e){return a(this.__data__,e)>-1}},function(e,t,n){var a=n(13);e.exports=function(e,t){var n=this.__data__,o=a(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var a=n(12);e.exports=function(){this.__data__=new a,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var a=n(12),o=n(21),i=n(98);e.exports=function(e,t){var n=this.__data__;if(n instanceof a){var r=n.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var a=n(42),o=n(95),i=n(9),r=n(44),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(a(e)?d:s).test(r(e))}},function(e,t,n){var a=n(22),o=Object.prototype,i=o.hasOwnProperty,r=o.toString,s=a?a.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var a=!0}catch(e){}var o=r.call(e);return a&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var a,o=n(96),i=(a=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var a=n(7)["__core-js_shared__"];e.exports=a},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var a=n(99),o=n(106),i=n(108),r=n(109),s=n(110);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e=0;--o){var i=this.tryEntries[o],r=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var o=a.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(18)(e))},function(e,t,n){var a=n(11),o=n(32).Stream,i=n(152);function r(){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=r,a.inherits(r,o),r.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.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},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.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)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},function(e,t,n){var a=n(32).Stream,o=n(11);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,o.inherits(i,a),i.create=function(e,t){var n=new this;for(var a in t=t||{})n[a]=t[a];n.source=e;var o=e.emit;return e.emit=function(){return n._handleEmit(arguments),o.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=a.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))}}},function(e,t,n){"use strict"; /*! * mime-types * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed - */var n,i,o,r=t(152),s=t(55).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var a=c.exec(e),t=a&&r[a[1].toLowerCase()];return t&&t.charset?t.charset:!(!a||!p.test(a[1]))&&"UTF-8"}a.charset=u,a.charsets={lookup:u},a.contentType=function(e){if(!e||"string"!=typeof e)return!1;var t=-1===e.indexOf("/")?a.lookup(e):e;if(!t)return!1;if(-1===t.indexOf("charset")){var n=a.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t},a.extension=function(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&a.extensions[t[1].toLowerCase()];if(!n||!n.length)return!1;return n[0]},a.extensions=Object.create(null),a.lookup=function(e){if(!e||"string"!=typeof e)return!1;var t=s("x."+e).toLowerCase().substr(1);if(!t)return!1;return a.types[t]||!1},a.types=Object.create(null),n=a.extensions,i=a.types,o=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var a=r[e],t=a.extensions;if(t&&t.length){n[e]=t;for(var s=0;su||p===u&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))},function(e,a,t){ + */var a,o,i,r=n(154),s=n(57).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&r[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},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 a=t.charset(n);a&&(n+="; charset="+a.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),a=n&&t.extensions[n[1].toLowerCase()];if(!a||!a.length)return!1;return a[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);if(!n)return!1;return t.types[n]||!1},t.types=Object.create(null),a=t.extensions,o=t.types,i=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var t=r[e],n=t.extensions;if(n&&n.length){a[e]=n;for(var s=0;su||p===u&&"application/"===o[c].substr(0,12)))continue}o[c]=e}}}))},function(e,t,n){ /*! * mime-db * Copyright(c) 2014 Jonathan Ong * MIT Licensed */ -e.exports=t(153)},function(e){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/a2l":{"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/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/cap+xml":{"source":"iana","charset":"UTF-8","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/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},"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/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":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"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/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/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":{"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},"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/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,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"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/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/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"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"},"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.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/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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"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},"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.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.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.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.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.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-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.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.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":["keynote"]},"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.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.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"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"},"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.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.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.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.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.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.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"},"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.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.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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+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.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"},"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.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.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.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.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.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":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"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-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,"extensions":["xer"]},"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":["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"},"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"]},"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/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"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/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"},"image/avcs":{"source":"iana"},"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/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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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.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/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/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.rosette.annotated-data-model":{"source":"iana"},"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/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/flexfec":{"source":"iana"},"text/fwdred":{"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/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"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.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.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":{"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/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"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"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"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/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/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}}')},function(e,a,t){e.exports={parallel:t(155),serial:t(157),serialOrdered:t(61)}},function(e,a,t){var n=t(56),i=t(59),o=t(60);e.exports=function(e,a,t){var r=i(e);for(;r.index<(r.keyedList||e).length;)n(e,a,r,(function(e,a){e?t(e,a):0!==Object.keys(r.jobs).length||t(null,r.results)})),r.index++;return o.bind(r,t)}},function(e,a){function t(e){return(t="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})(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},function(e,a,t){var n=t(61);e.exports=function(e,a,t){return n(e,a,null,t)}},function(e,a){e.exports=function(e,a){return Object.keys(a).forEach((function(t){e[t]=e[t]||a[t]})),e}},function(e,a){e.exports=function(e){if(Array.isArray(e))return e}},function(e,a){e.exports=function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],n=!0,i=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(t.push(r.value),!a||t.length!==a);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return t}}},function(e,a,t){var n=t(162);e.exports=function(e,a){if(e){if("string"==typeof e)return n(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,a):void 0}}},function(e,a){e.exports=function(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t0?g+b:""}},function(e,a,t){"use strict";var n=t(36),i=Object.prototype.hasOwnProperty,o=Array.isArray,r={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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,a){return String.fromCharCode(parseInt(a,10))}))},c=function(e,a){return e&&"string"==typeof e&&a.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,a,t,n){if(e){var o=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=t.depth>0&&/(\[[^[\]]*])/.exec(o),p=s?o.slice(0,s.index):o,u=[];if(p){if(!t.plainObjects&&i.call(Object.prototype,p)&&!t.allowPrototypes)return;u.push(p)}for(var l=0;t.depth>0&&null!==(s=r.exec(o))&&l=0;--o){var r,s=e[o];if("[]"===s&&t.parseArrays)r=[].concat(i);else{r=t.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);t.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&t.parseArrays&&u<=t.arrayLimit?(r=[])[u]=i:r[p]=i:r={0:i}}i=r}return i}(u,a,t,n)}};e.exports=function(e,a){var t=function(e){if(!e)return r;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 a=void 0===e.charset?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(a);if(""===e||null==e)return t.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,a){var t,p={},u=a.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=a.parameterLimit===1/0?void 0:a.parameterLimit,d=u.split(a.delimiter,l),m=-1,f=a.charset;if(a.charsetSentinel)for(t=0;t-1&&(h=o(h)?[h]:h),i.call(p,x)?p[x]=n.combine(p[x],h):p[x]=h}return p}(e,t):e,l=t.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m=0)return;r[a]="set-cookie"===a?(r[a]?r[a]:[]).concat([t]):r[a]?r[a]+", "+t:t}})),r):r}},function(e,a,t){"use strict";var n=t(4);e.exports=n.isStandardBrowserEnv()?function(){var e,a=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");function i(e){var n=e;return a&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{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 e=i(window.location.href),function(a){var t=n.isString(a)?i(a):a;return t.protocol===e.protocol&&t.host===e.host}}():function(){return!0}},function(e,a,t){"use strict";var n=t(4),i=t(66),o=t(68),r=t(37),s=t(33),c=t(34),p=t(69).http,u=t(69).https,l=t(35),d=t(188),m=t(189),f=t(38),x=t(67),h=/https:?/;e.exports=function(e){return new Promise((function(a,t){var v=function(e){a(e)},b=function(e){t(e)},g=e.data,y=e.headers;if(y["User-Agent"]||y["user-agent"]||(y["User-Agent"]="axios/"+m.version),g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return b(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}y["Content-Length"]=g.length}var w=void 0;e.auth&&(w=(e.auth.username||"")+":"+(e.auth.password||""));var k=o(e.baseURL,e.url),j=l.parse(k),_=j.protocol||"http:";if(!w&&j.auth){var O=j.auth.split(":");w=(O[0]||"")+":"+(O[1]||"")}w&&delete y.Authorization;var S=h.test(_),P=S?e.httpsAgent:e.httpAgent,C={path:r(j.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:y,agent:P,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};e.socketPath?C.socketPath=e.socketPath:(C.hostname=j.hostname,C.port=j.port);var E,z=e.proxy;if(!z&&!1!==z){var H=_.slice(0,-1)+"_proxy",A=process.env[H]||process.env[H.toUpperCase()];if(A){var q=l.parse(A),R=process.env.no_proxy||process.env.NO_PROXY,T=!0;if(R)T=!R.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&j.hostname.substr(j.hostname.length-e.length)===e||j.hostname===e))}));if(T&&(z={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var D=q.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(C.headers.host=j.hostname+(j.port?":"+j.port:""),function e(a,t,n){if(a.hostname=t.host,a.host=t.host,a.port=t.port,a.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");a.headers["Proxy-Authorization"]="Basic "+i}a.beforeRedirect=function(a){a.headers.host=a.host,e(a,t,a.href)}}(C,z,_+"//"+j.hostname+(j.port?":"+j.port:"")+C.path));var L=S&&(!z||h.test(z.protocol));e.transport?E=e.transport:0===e.maxRedirects?E=L?c:s:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),E=L?u:p),e.maxBodyLength>-1&&(C.maxBodyLength=e.maxBodyLength);var F=E.request(C,(function(a){if(!F.aborted){var t=a,o=a.req||F;if(204!==a.statusCode&&"HEAD"!==o.method&&!1!==e.decompress)switch(a.headers["content-encoding"]){case"gzip":case"compress":case"deflate":t=t.pipe(d.createUnzip()),delete a.headers["content-encoding"]}var r={status:a.statusCode,statusText:a.statusMessage,headers:a.headers,config:e,request:o};if("stream"===e.responseType)r.data=t,i(v,b,r);else{var s=[];t.on("data",(function(a){s.push(a),e.maxContentLength>-1&&Buffer.concat(s).length>e.maxContentLength&&(t.destroy(),b(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,o)))})),t.on("error",(function(a){F.aborted||b(x(a,e,null,o))})),t.on("end",(function(){var a=Buffer.concat(s);"arraybuffer"!==e.responseType&&(a=a.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(a=n.stripBOM(a))),r.data=a,i(v,b,r)}))}}}));F.on("error",(function(a){F.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==a.code||b(x(a,e,null,F))})),e.timeout&&F.setTimeout(e.timeout,(function(){F.abort(),b(f("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",F))})),e.cancelToken&&e.cancelToken.promise.then((function(e){F.aborted||(F.abort(),b(e))})),n.isStream(g)?g.on("error",(function(a){b(x(a,e,null,F))})).pipe(F):F.end(g)}))}},function(e,a){e.exports=require("assert")},function(e,a,t){var n;try{n=t(181)("follow-redirects")}catch(e){n=function(){}}e.exports=n},function(e,a,t){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=t(182):e.exports=t(184)},function(e,a,t){var n;a.formatArgs=function(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var t="color: "+this.color;a.splice(1,0,t,"color: inherit");var n=0,i=0;a[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(i=n))})),a.splice(i,0,t)},a.save=function(e){try{e?a.storage.setItem("debug",e):a.storage.removeItem("debug")}catch(e){}},a.load=function(){var e;try{e=a.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},a.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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+)/)},a.storage=function(){try{return localStorage}catch(e){}}(),a.destroy=(n=!1,function(){n||(n=!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`."))}),a.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"],a.log=console.debug||console.log||function(){},e.exports=t(70)(a),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,a){function t(e){return(t="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})(e)}var n=1e3,i=6e4,o=60*i,r=24*o;function s(e,a,t,n){var i=a>=1.5*t;return Math.round(e/t)+" "+n+(i?"s":"")}e.exports=function(e,a){a=a||{};var c=t(e);if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var t=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*t;case"weeks":case"week":case"w":return 6048e5*t;case"days":case"day":case"d":return t*r;case"hours":case"hour":case"hrs":case"hr":case"h":return t*o;case"minutes":case"minute":case"mins":case"min":case"m":return t*i;case"seconds":case"second":case"secs":case"sec":case"s":return t*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}(e);if("number"===c&&isFinite(e))return a.long?function(e){var a=Math.abs(e);if(a>=r)return s(e,a,r,"day");if(a>=o)return s(e,a,o,"hour");if(a>=i)return s(e,a,i,"minute");if(a>=n)return s(e,a,n,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=r)return Math.round(e/r)+"d";if(a>=o)return Math.round(e/o)+"h";if(a>=i)return Math.round(e/i)+"m";if(a>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,a,t){var n=t(185),i=t(18);a.init=function(e){e.inspectOpts={};for(var t=Object.keys(a.inspectOpts),n=0;n=2&&(a.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){}a.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,a){var t=a.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,a){return a.toUpperCase()})),n=process.env[a];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[t]=n,e}),{}),e.exports=t(70)(a);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,a){e.exports=require("tty")},function(e,a,t){"use strict";var n,i=t(19),o=t(187),r=process.env;function s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===n)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!e.isTTY&&!0!==n)return 0;var a=n?1:0;if("win32"===process.platform){var t=i.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:a;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,a)}(e))}o("no-color")||o("no-colors")||o("color=false")?n=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(n=!0),"FORCE_COLOR"in r&&(n=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},function(e,a,t){"use strict";e.exports=function(e,a){a=a||process.argv;var t=e.startsWith("-")?"":1===e.length?"-":"--",n=a.indexOf(t+e),i=a.indexOf("--");return-1!==n&&(-1===i||n2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;b()(this,e);var o=a.data||{};n&&(o.stackHeaders=n),this.items=i(t,o),void 0!==o.schema&&(this.schema=o.schema),void 0!==o.content_type&&(this.content_type=o.content_type),void 0!==o.count&&(this.count=o.count),void 0!==o.notice&&(this.notice=o.notice)};function y(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var a=1;a3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0,o={};n&&(o.headers=n);var r=null;t&&(t.content_type_uid&&(r=t.content_type_uid,delete t.content_type_uid),o.params=w({},s()(t)));var c=function(){var t=x()(m.a.mark((function t(){var s;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a,o);case 3:if(!(s=t.sent).data){t.next=9;break}return r&&(s.data.content_type_uid=r),t.abrupt("return",new g(s,e,n,i));case 9:throw h(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(0),h(t.t0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=x()(m.a.mark((function t(){var n;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o.params=w(w({},o.params),{},{count:!0}),t.prev=1,t.next=4,e.get(a,o);case 4:if(!(n=t.sent).data){t.next=9;break}return t.abrupt("return",n.data);case 9:throw h(n);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}}(),u=function(){var t=x()(m.a.mark((function t(){var s,c;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=o).params.limit=1,t.prev=2,t.next=5,e.get(a,s);case 5:if(!(c=t.sent).data){t.next=11;break}return r&&(c.data.content_type_uid=r),t.abrupt("return",new g(c,e,n,i));case 11:throw h(c);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(2),h(t.t0);case 17:case"end":return t.stop()}}),t,null,[[2,14]])})));return function(){return t.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function _(e){for(var a=1;a4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==o&&(n.locale=o),null!==r&&(n.version=r),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,a.post(t,n,i);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw h(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),h(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(a,t,n,i){return e.apply(this,arguments)}}(),C=function(){var e=x()(m.a.mark((function e(a){var t,n,i,o,r,c,p,u;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.http,n=a.urlPath,i=a.stackHeaders,o=a.formData,r=a.params,c=a.method,p=void 0===c?"POST":c,u={headers:_(_({},r),s()(i))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",t.post(n,o,u));case 6:return e.abrupt("return",t.put(n,o,u));case 7:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),E=function(e){var a=e.http,t=e.params;return function(){var e=x()(m.a.mark((function e(n,i){var o,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={headers:_(_({},s()(t)),s()(this.stackHeaders)),params:_({},s()(i))}||{},e.prev=1,e.next=4,a.post(this.urlPath,n,o);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(a,T(r,this.stackHeaders,this.content_type_uid)));case 9:throw h(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),h(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(a,t){return e.apply(this,arguments)}}()},z=function(e){var a=e.http,t=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(a,this.urlPath,e,this.stackHeaders,t)}},H=function(e,a){return x()(m.a.mark((function t(){var n,i,o,r,c=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},i={},delete(o=s()(this)).stackHeaders,delete o.urlPath,delete o.uid,delete o.org_uid,delete o.api_key,delete o.created_at,delete o.created_by,delete o.deleted_at,delete o.updated_at,delete o.updated_by,delete o.updated_at,i[a]=o,t.prev=15,t.next=18,e.put(this.urlPath,i,{headers:_({},s()(this.stackHeaders)),params:_({},s()(n))});case 18:if(!(r=t.sent).data){t.next=23;break}return t.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 23:throw h(r);case 24:t.next=29;break;case 26:throw t.prev=26,t.t0=t.catch(15),h(t.t0);case 29:case"end":return t.stop()}}),t,this,[[15,26]])})))},A=function(e){return x()(m.a.mark((function a(){var t,n,i,o=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},a.prev=1,n={headers:_({},s()(this.stackHeaders)),params:_({},s()(t))}||{},a.next=5,e.delete(this.urlPath,n);case 5:if(!(i=a.sent).data){a.next=10;break}return a.abrupt("return",i.data);case 10:throw h(i);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(1),h(a.t0);case 16:case"end":return a.stop()}}),a,this,[[1,13]])})))},q=function(e,a){return x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:_({},s()(this.stackHeaders)),params:_({},s()(n))}||{},t.next=5,e.get(this.urlPath,i);case 5:if(!(o=t.sent).data){t.next=11;break}return"entry"===a&&(o.data[a].content_type=o.data.content_type,o.data[a].schema=o.data.schema),t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders,this.content_type_uid)));case 11:throw h(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(1),h(t.t0);case 17:case"end":return t.stop()}}),t,this,[[1,14]])})))},R=function(e,a){return x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=_({},s()(n))),t.prev=4,t.next=7,e.get(this.urlPath,i);case 7:if(!(o=t.sent).data){t.next=12;break}return t.abrupt("return",new g(o,e,this.stackHeaders,a));case 12:throw h(o);case 13:t.next=18;break;case 15:throw t.prev=15,t.t0=t.catch(4),h(t.t0);case 18:case"end":return t.stop()}}),t,this,[[4,15]])})))};function T(e,a,t){var n=e.data||{};return a&&(n.stackHeaders=a),t&&(n.content_type_uid=t),n}function D(e,a){return this.urlPath="/roles",this.stackHeaders=a.stackHeaders,a.role?(Object.assign(this,s()(a.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(e,"role"),this.delete=A(e),this.fetch=q(e,"role"))):(this.create=E({http:e}),this.fetchAll=R(e,L),this.query=z({http:e,wrapperCollection:L})),this}function L(e,a){return s()(a.roles||[]).map((function(t){return new D(e,{role:t,stackHeaders:a.stackHeaders})}))}function F(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function B(e){for(var a=1;a0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/stacks"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,$e));case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.transferOwnership=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.addUser=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/share"),{share:B({},n)});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.getInvitations=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/share"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,G));case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.resendInvitation=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.roles=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/roles"),{params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new g(i,e,null,L));case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}())):this.fetchAll=R(e,U)}function U(e,a){return s()(a.organizations||[]).map((function(a){return new N(e,{organization:a})}))}function I(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function M(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/content_types",t.content_type?(Object.assign(this,s()(t.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(e,"content_type"),this.delete=A(e),this.fetch=q(e,"content_type"),this.entry=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return n.content_type_uid=a.uid,t&&(n.entry={uid:t}),new Y(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Z}),this.import=function(){var a=x()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw h(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function Z(e,a){return(s()(a.content_types)||[]).map((function(t){return new X(e,{content_type:t,stackHeaders:a.stackHeaders})}))}function ee(e){return function(){var a=new K.a,t=Object(W.createReadStream)(e.content_type);return a.append("content_type",t),a}}function ae(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/global_fields",a.global_field?(Object.assign(this,s()(a.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(e,"global_field"),this.delete=A(e),this.fetch=q(e,"global_field")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:te}),this.import=function(){var a=x()(m.a.mark((function a(t){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(t)});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw h(n);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e){return a.apply(this,arguments)}}()),this}function te(e,a){return(s()(a.global_fields)||[]).map((function(t){return new ae(e,{global_field:t,stackHeaders:a.stackHeaders})}))}function ne(e){return function(){var a=new K.a,t=Object(W.createReadStream)(e.global_field);return a.append("global_field",t),a}}function ie(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/delivery_tokens",a.token?(Object.assign(this,s()(a.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(e,"token"),this.delete=A(e),this.fetch=q(e,"token")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:oe}))}function oe(e,a){return(s()(a.tokens)||[]).map((function(t){return new ie(e,{token:t,stackHeaders:a.stackHeaders})}))}function re(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/environments",a.environment?(Object.assign(this,s()(a.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(e,"environment"),this.delete=A(e),this.fetch=q(e,"environment")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:se}))}function se(e,a){return(s()(a.environments)||[]).map((function(t){return new re(e,{environment:t,stackHeaders:a.stackHeaders})}))}function ce(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a.stackHeaders&&(this.stackHeaders=a.stackHeaders),this.urlPath="/assets/folders",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset")):this.create=E({http:e})}function pe(e){var a=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/assets",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(e,"asset"),this.delete=A(e),this.fetch=q(e,"asset"),this.replace=function(){var a=x()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n,method:"PUT"});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw h(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.publish=O(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new ce(e,n)},this.create=function(){var a=x()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw h(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.query=z({http:e,wrapperCollection:ue})),this}function ue(e,a){return(s()(a.assets)||[]).map((function(t){return new pe(e,{asset:t,stackHeaders:a.stackHeaders})}))}function le(e){return function(){var a=new K.a;"string"==typeof e.parent_uid&&a.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&a.append("asset[description]",e.description),e.tags instanceof Array?a.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("asset[tags]",e.tags),"string"==typeof e.title&&a.append("asset[title]",e.title);var t=Object(W.createReadStream)(e.upload);return a.append("asset[upload]",t),a}}function de(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/locales",a.locale?(Object.assign(this,s()(a.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(e,"locale"),this.delete=A(e),this.fetch=q(e,"locale")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:me})),this}function me(e,a){return(s()(a.locales)||[]).map((function(t){return new de(e,{locale:t,stackHeaders:a.stackHeaders})}))}var fe=t(75),xe=t.n(fe);function he(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/extensions",a.extension?(Object.assign(this,s()(a.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(e,"extension"),this.delete=A(e),this.fetch=q(e,"extension")):(this.upload=function(){var a=x()(m.a.mark((function a(t,n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,C({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(t),params:n});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders)));case 8:throw h(i);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])})));return function(e,t){return a.apply(this,arguments)}}(),this.create=E({http:e}),this.query=z({http:e,wrapperCollection:ve}))}function ve(e,a){return(s()(a.extensions)||[]).map((function(t){return new he(e,{extension:t,stackHeaders:a.stackHeaders})}))}function be(e){return function(){var a=new K.a;"string"==typeof e.title&&a.append("extension[title]",e.title),"object"===xe()(e.scope)&&a.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&a.append("extension[data_type]",e.data_type),"string"==typeof e.type&&a.append("extension[type]",e.type),e.tags instanceof Array?a.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&a.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&a.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&a.append("extension[enable]","".concat(e.enable));var t=Object(W.createReadStream)(e.upload);return a.append("extension[upload]",t),a}}function ge(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function ye(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/webhooks",t.webhook?(Object.assign(this,s()(t.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(e,"webhook"),this.delete=A(e),this.fetch=q(e,"webhook"),this.executions=function(){var t=x()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),n&&(i.params=ye({},s()(n))),t.prev=3,t.next=6,e.get("".concat(a.urlPath,"/executions"),i);case 6:if(!(o=t.sent).data){t.next=11;break}return t.abrupt("return",o.data);case 11:throw h(o);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),h(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.retry=function(){var t=x()(m.a.mark((function t(n){var i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={},a.stackHeaders&&(i.headers=a.stackHeaders),t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/retry"),{execution_uid:n},i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw h(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(2),h(t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,13]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.fetchAll=R(e,ke)),this.import=function(){var t=x()(m.a.mark((function t(n){var i;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C({http:e,urlPath:"".concat(a.urlPath,"/import"),stackHeaders:a.stackHeaders,formData:je(n)});case 3:if(!(i=t.sent).data){t.next=8;break}return t.abrupt("return",new a.constructor(e,T(i,a.stackHeaders)));case 8:throw h(i);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),h(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this}function ke(e,a){return(s()(a.webhooks)||[]).map((function(t){return new we(e,{webhook:t,stackHeaders:a.stackHeaders})}))}function je(e){return function(){var a=new K.a,t=Object(W.createReadStream)(e.webhook);return a.append("webhook",t),a}}function _e(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows/publishing_rules",a.publishing_rule?(Object.assign(this,s()(a.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(e,"publishing_rule"),this.delete=A(e),this.fetch=q(e,"publishing_rule")):(this.create=E({http:e}),this.fetchAll=R(e,Oe))}function Oe(e,a){return(s()(a.publishing_rules)||[]).map((function(t){return new _e(e,{publishing_rule:t,stackHeaders:a.stackHeaders})}))}function Se(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Pe(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows",t.workflow?(Object.assign(this,s()(t.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(e,"workflow"),this.disable=x()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw h(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.enable=x()(m.a.mark((function a(){var t;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(t=a.sent).data){a.next=8;break}return a.abrupt("return",t.data);case 8:throw h(t);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),h(a.t0);case 14:case"end":return a.stop()}}),a,this,[[0,11]])}))),this.delete=A(e),this.fetch=q(e,"workflow")):(this.contentType=function(t){if(t)return{getPublishRules:function(){var a=x()(m.a.mark((function a(n){var i,o;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={},this.stackHeaders&&(i.headers=this.stackHeaders),n&&(i.params=Pe({},s()(n))),a.prev=3,a.next=6,e.get("/workflows/content_type/".concat(t),i);case 6:if(!(o=a.sent).data){a.next=11;break}return a.abrupt("return",new g(o,e,this.stackHeaders,Oe));case 11:throw h(o);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),h(a.t0);case 17:case"end":return a.stop()}}),a,this,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),stackHeaders:Pe({},a.stackHeaders)}},this.create=E({http:e}),this.fetchAll=R(e,Ee),this.publishRule=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.publishing_rule={uid:t}),new _e(e,n)})}function Ee(e,a){return(s()(a.workflows)||[]).map((function(t){return new Ce(e,{workflow:t,stackHeaders:a.stackHeaders})}))}function ze(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function He(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,t.item&&Object.assign(this,s()(t.item)),t.releaseUid&&(this.urlPath="releases/".concat(t.releaseUid,"/items"),this.delete=function(){var n=x()(m.a.mark((function n(i){var o,r,c;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},void 0===i&&(o={all:!0}),n.prev=2,r={headers:He({},s()(a.stackHeaders)),data:He({},s()(i)),params:He({},s()(o))}||{},n.next=6,e.delete(a.urlPath,r);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new De(e,He(He({},c.data),{},{stackHeaders:t.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=x()(m.a.mark((function n(i){var o,r;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={headers:He({},s()(a.stackHeaders))}||{},n.prev=1,n.next=4,e.post(i.item?"releases/".concat(t.releaseUid,"/item"):a.urlPath,i,o);case 4:if(!(r=n.sent).data){n.next=10;break}if(!r.data){n.next=8;break}return n.abrupt("return",new De(e,He(He({},r.data),{},{stackHeaders:t.stackHeaders})));case 8:n.next=11;break;case 10:throw h(r);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,i={headers:He({},s()(a.stackHeaders)),params:He({},s()(n))}||{},t.next=5,e.get(a.urlPath,i);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",new g(o,e,a.stackHeaders,qe));case 10:throw h(o);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(1),h(t.t0);case 16:case"end":return t.stop()}}),t,null,[[1,13]])})))),this}function qe(e,a,t){return(s()(a.items)||[]).map((function(n){return new Ae(e,{releaseUid:t,item:n,stackHeaders:a.stackHeaders})}))}function Re(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Te(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/releases",t.release?(Object.assign(this,s()(t.release)),t.release.items&&(this.items=new qe(e,{items:t.release.items,stackHeaders:t.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(e,"release"),this.fetch=q(e,"release"),this.delete=A(e),this.item=function(){return new Ae(e,{releaseUid:a.uid,stackHeaders:a.stackHeaders})},this.deploy=function(){var t=x()(m.a.mark((function t(n){var i,o,r,c,p,u,l;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.environments,o=n.locales,r=n.scheduledAt,c=n.action,p={environments:i,locales:o,scheduledAt:r,action:c},u={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=t.sent).data){t.next=11;break}return t.abrupt("return",l.data);case 11:throw h(l);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),h(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),this.clone=function(){var t=x()(m.a.mark((function t(n){var i,o,r,c,p;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.name,o=n.description,r={name:i,description:o},c={headers:Te({},s()(a.stackHeaders))}||{},t.prev=3,t.next=6,e.post("".concat(a.urlPath,"/clone"),{release:r},c);case 6:if(!(p=t.sent).data){t.next=11;break}return t.abrupt("return",new De(e,p.data));case 11:throw h(p);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),h(t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})));return function(e){return t.apply(this,arguments)}}()):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Le})),this}function Le(e,a){return(s()(a.releases)||[]).map((function(t){return new De(e,{release:t,stackHeaders:a.stackHeaders})}))}function Fe(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Be(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/bulk",this.publish=x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",P(e,"/bulk/publish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.unpublish=x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},n.skip_workflow_stage_check&&(o.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(o.headers.approvals=n.approvals),t.abrupt("return",P(e,"/bulk/unpublish",i,o));case 7:case"end":return t.stop()}}),t)}))),this.delete=x()(m.a.mark((function t(){var n,i,o,r=arguments;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},i={},n.details&&(i=s()(n.details)),o={headers:Be({},s()(a.stackHeaders))},t.abrupt("return",P(e,"/bulk/delete",i,o));case 5:case"end":return t.stop()}}),t)})))}function Ue(e,a){this.stackHeaders=a.stackHeaders,this.urlPath="/labels",a.label?(Object.assign(this,s()(a.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(e,"label"),this.delete=A(e),this.fetch=q(e,"label")):(this.create=E({http:e}),this.query=z({http:e,wrapperCollection:Ie}))}function Ie(e,a){return(s()(a.labels)||[]).map((function(t){return new Ue(e,{label:t,stackHeaders:a.stackHeaders})}))}function Me(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function Ve(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.content_type={uid:a}),new X(e,n)},this.locale=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.locale={code:a}),new de(e,n)},this.asset=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new pe(e,n)},this.globalField=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.global_field={uid:a}),new ae(e,n)},this.environment=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.environment={name:a}),new re(e,n)},this.deliveryToken=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.token={uid:a}),new ie(e,n)},this.extension=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.extension={uid:a}),new he(e,n)},this.workflow=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.workflow={uid:a}),new Ce(e,n)},this.webhook=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.webhook={uid:a}),new we(e,n)},this.label=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.label={uid:a}),new Ue(e,n)},this.release=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.release={uid:a}),new De(e,n)},this.bulkOperation=function(){var a={stackHeaders:t.stackHeaders};return new Ne(e,a)},this.users=x()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t.urlPath,{params:{include_collaborators:!0},headers:Ve({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",G(e,n.data.stack));case 8:return a.abrupt("return",h(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.transferOwnership=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ve({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.settings=x()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get("".concat(t.urlPath,"/settings"),{headers:Ve({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",h(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.resetSettings=x()(m.a.mark((function a(){var n;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ve({},s()(t.stackHeaders))});case 3:if(!(n=a.sent).data){a.next=8;break}return a.abrupt("return",n.data.stack_settings);case 8:return a.abrupt("return",h(n));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])}))),this.addSettings=x()(m.a.mark((function a(){var n,i,o=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=o.length>0&&void 0!==o[0]?o[0]:{},a.prev=1,a.next=4,e.post("".concat(t.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ve({},s()(t.stackHeaders))});case 4:if(!(i=a.sent).data){a.next=9;break}return a.abrupt("return",i.data.stack_settings);case 9:return a.abrupt("return",h(i));case 10:a.next=15;break;case 12:return a.prev=12,a.t0=a.catch(1),a.abrupt("return",h(a.t0));case 15:case"end":return a.stop()}}),a,null,[[1,12]])}))),this.share=x()(m.a.mark((function a(){var n,i,o,r=arguments;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:[],i=r.length>1&&void 0!==r[1]?r[1]:{},a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/share"),{emails:n,roles:i},{headers:Ve({},s()(t.stackHeaders))});case 5:if(!(o=a.sent).data){a.next=10;break}return a.abrupt("return",o.data);case 10:return a.abrupt("return",h(o));case 11:a.next=16;break;case 13:return a.prev=13,a.t0=a.catch(2),a.abrupt("return",h(a.t0));case 16:case"end":return a.stop()}}),a,null,[[2,13]])}))),this.unShare=function(){var a=x()(m.a.mark((function a(n){var i;return m.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.post("".concat(t.urlPath,"/unshare"),{email:n},{headers:Ve({},s()(t.stackHeaders))});case 3:if(!(i=a.sent).data){a.next=8;break}return a.abrupt("return",i.data);case 8:return a.abrupt("return",h(i));case 9:a.next=14;break;case 11:return a.prev=11,a.t0=a.catch(0),a.abrupt("return",h(a.t0));case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.role=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.role={uid:a}),new D(e,n)}):(this.create=E({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=z({http:e,wrapperCollection:$e})),this}function $e(e,a){var t=a.stacks||[];return s()(t).map((function(a){return new Ge(e,{stack:a})}))}function Ke(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function We(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/user-session",{user:e},{params:t}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(a.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new V(a,e.data)),e.data}),h)},logout:function(e){return void 0!==e?a.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),h):a.delete("/user-session").then((function(e){return a.defaults.headers.common&&delete a.defaults.headers.common.authtoken,delete a.defaults.headers.authtoken,delete a.httpClientParams.authtoken,delete a.httpClientParams.headers.authtoken,e.data}),h)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a.get("/user",{params:e}).then((function(e){return new V(a,e.data)}),h)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=We({},s()(e));return new Ge(a,{stack:t})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new N(a,null!==e?{organization:{uid:e}}:null)},axiosInstance:a}}var Je=t(76),Qe=t.n(Je),Xe=t(77),Ze=t.n(Xe),ea=t(20),aa=t.n(ea);function ta(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function na(e){for(var a=1;aa.config.retryLimit)return Promise.reject(o(e));if(a.config.retryDelayOptions)if(a.config.retryDelayOptions.customBackoff){if((c=a.config.retryDelayOptions.customBackoff(i,e))&&c<=0)return Promise.reject(o(e))}else a.config.retryDelayOptions.base&&(c=a.config.retryDelayOptions.base*i);else c=a.config.retryDelay;return e.config.retryCount=i,new Promise((function(a){return setTimeout((function(){return a(t(r(e,n,c)))}),c)}))},this.interceptors={request:null,response:null};var r=function(e,n,i){var o=e.config;return a.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(i," ms before retrying...")),void 0!==t&&void 0!==t.defaults&&(t.defaults.agent===o.agent&&delete o.agent,t.defaults.httpAgent===o.httpAgent&&delete o.httpAgent,t.defaults.httpsAgent===o.httpsAgent&&delete o.httpsAgent),o.data=s(o),o.transformRequest=[function(e){return e}],o},s=function(e){if(e.formdata){var a=e.formdata();return e.headers=na(na({},e.headers),a.getHeaders()),a}return e.data};this.interceptors.request=t.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=s(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var t=aa.a.CancelToken.source();e.cancelToken=t.token,e.source=t}return a.paused&&e.retryCount>0?new Promise((function(t){a.unshift({request:e,resolve:t})})):e.retryCount>0?e:new Promise((function(t){e.onComplete=function(){a.running.pop({request:e,resolve:t})},a.push({request:e,resolve:t})}))})),this.interceptors.response=t.interceptors.response.use(o,(function(e){var n=e.config.retryCount,i=null;if(!a.config.retryOnError||n>a.config.retryLimit)return Promise.reject(o(e));var s=a.config.retryDelay,c=e.response;if(c){if(429===c.status)return i="Error with status: ".concat(c.status),++n>a.config.retryLimit?Promise.reject(o(e)):(a.running.shift(),function e(t){if(!a.paused)return a.paused=!0,a.running.length>0&&setTimeout((function(){e(t)}),t),new Promise((function(e){return setTimeout((function(){a.paused=!1;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},a={defaultHostName:"api.contentstack.io"},t="contentstack-management-javascript/".concat(o.version),n=l(t,e.application,e.integration,e.feature),i={"X-User-Agent":t,"User-Agent":n};e.authtoken&&(i.authtoken=e.authtoken),(e=ua(ua({},a),s()(e))).headers=ua(ua({},e.headers),i);var r=ca(e),c=Ye({http:r});return c}}]); \ No newline at end of file +e.exports=n(155)},function(e){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/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/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/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},"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/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/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":{"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},"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/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/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/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"},"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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"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.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.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.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.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.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.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.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.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.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.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.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.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},"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-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"},"image/avcs":{"source":"iana"},"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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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/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.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/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/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}}')},function(e,t,n){e.exports={parallel:n(157),serial:n(159),serialOrdered:n(63)}},function(e,t,n){var a=n(58),o=n(61),i=n(62);e.exports=function(e,t,n){var r=o(e);for(;r.index<(r.keyedList||e).length;)a(e,t,r,(function(e,t){e?n(e,t):0!==Object.keys(r.jobs).length||n(null,r.results)})),r.index++;return i.bind(r,n)}},function(e,t){function n(e){return(n="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})(e)}e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":n(process))&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},function(e,t,n){var a=n(63);e.exports=function(e,t,n){return a(e,t,null,n)}},function(e,t){e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,o,i=[],r=!0,s=!1;try{for(n=n.call(e);!(r=(a=n.next()).done)&&(i.push(a.value),!t||i.length!==t);r=!0);}catch(e){s=!0,o=e}finally{try{r||null==n.return||n.return()}finally{if(s)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var a=n(164);e.exports=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n0?j.join(",")||null:void 0}];else if(p(d))O=d;else{var S=Object.keys(j);O=m?S.sort(m):S}for(var P=0;P0?w+g:""}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=n(36),i=n(172),r=n(174),s=o("%TypeError%"),c=o("%WeakMap%",!0),p=o("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),m=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),v=i("Map.prototype.has",!0),x=function(e,t){for(var n,a=e;null!==(n=a.next);a=n)if(n.key===t)return a.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 s("Side channel does not contain "+r(e))},get:function(o){if(c&&o&&("object"===a(o)||"function"==typeof o)){if(e)return u(e,o)}else if(p){if(t)return m(t,o)}else if(n)return function(e,t){var n=x(e,t);return n&&n.value}(n,o)},has:function(o){if(c&&o&&("object"===a(o)||"function"==typeof o)){if(e)return d(e,o)}else if(p){if(t)return v(t,o)}else if(n)return function(e,t){return!!x(e,t)}(n,o);return!1},set:function(o,i){c&&o&&("object"===a(o)||"function"==typeof o)?(e||(e=new c),l(e,o,i)):p?(t||(t=new p),f(t,o,i)):(n||(n={key:{},next:null}),function(e,t,n){var a=x(e,t);a?a.value=n:e.next={key:t,next:e.next,value:n}}(n,o,i))}};return o}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=global.Symbol,i=n(169);e.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===a(o("foo"))&&("symbol"===a(Symbol("bar"))&&i())))}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===a(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 i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(e,t,n){"use strict";var a="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError(a+t);for(var n,r=o.call(arguments,1),s=function(){if(this instanceof n){var a=t.apply(this,r.concat(o.call(arguments)));return Object(a)===a?a:this}return t.apply(e,r.concat(o.call(arguments)))},c=Math.max(0,t.length-r.length),p=[],u=0;u-1?o(n):n}},function(e,t,n){"use strict";var a=n(37),o=n(36),i=o("%Function.prototype.apply%"),r=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||a.call(r,i),c=o("%Object.getOwnPropertyDescriptor%",!0),p=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){var t=s(a,r,arguments);if(c&&p){var n=c(t,"length");n.configurable&&p(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var l=function(){return s(a,i,arguments)};p?p(e.exports,"apply",{value:l}):e.exports.apply=l},function(e,t,n){function a(e){return(a="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})(e)}var o="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=o&&i&&"function"==typeof i.get?i.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&p&&"function"==typeof p.get?p.get:null,l=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,v=Boolean.prototype.valueOf,x=Object.prototype.toString,h=Function.prototype.toString,b=String.prototype.match,y="function"==typeof BigInt?BigInt.prototype.valueOf:null,g=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===a(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),_=n(175).custom,S=_&&z(_)?_:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function E(e,t,n){var a="double"===(n.quoteStyle||t)?'"':"'";return a+e+a}function A(e){return String(e).replace(/"/g,""")}function C(e){return!("[object Array]"!==H(e)||P&&"object"===a(e)&&P in e)}function z(e){if(k)return e&&"object"===a(e)&&e instanceof Symbol;if("symbol"===a(e))return!0;if(!e||"object"!==a(e)||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,i){var c=n||{};if(R(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(R(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=!R(c,"customInspect")||c.customInspect;if("boolean"!=typeof p&&"symbol"!==p)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(R(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var a=t.length-n.maxStringLength,o="... "+a+" more character"+(a>1?"s":"");return e(t.slice(0,n.maxStringLength),n)+o}return E(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,T),"single",n)}(t,c);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var x=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=x&&x>0&&"object"===a(t))return C(t)?"[Array]":"[Object]";var g=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}(c,o);if(void 0===i)i=[];else if(F(i,t)>=0)return"[Circular]";function j(t,n,a){if(n&&(i=i.slice()).push(n),a){var r={depth:c.depth};return R(c,"quoteStyle")&&(r.quoteStyle=c.quoteStyle),e(t,r,o+1,i)}return e(t,c,o+1,i)}if("function"==typeof t){var _=function(e){if(e.name)return e.name;var t=b.call(h.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),q=U(t,j);return"[Function"+(_?": "+_:" (anonymous)")+"]"+(q.length>0?" { "+q.join(", ")+" }":"")}if(z(t)){var I=k?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(t);return"object"!==a(t)||k?I:D(I)}if(function(e){if(!e||"object"!==a(e))return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var M="<"+String(t.nodeName).toLowerCase(),W=t.attributes||[],G=0;G"}if(C(t)){if(0===t.length)return"[]";var V=U(t,j);return g&&!function(e){for(var t=0;t=0)return!1;return!0}(V)?"["+B(V,g)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||P&&"object"===a(e)&&P in e)}(t)){var $=U(t,j);return 0===$.length?"["+String(t)+"]":"{ ["+String(t)+"] "+$.join(", ")+" }"}if("object"===a(t)&&p){if(S&&"function"==typeof t[S])return t[S]();if("symbol"!==p&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!==a(e))return!1;try{r.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var J=[];return s.call(t,(function(e,n){J.push(j(n,t,!0)+" => "+j(e,t))})),N("Map",r.call(t),J,g)}if(function(e){if(!u||!e||"object"!==a(e))return!1;try{u.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var K=[];return l.call(t,(function(e){K.push(j(e,t))})),N("Set",u.call(t),K,g)}if(function(e){if(!d||!e||"object"!==a(e))return!1;try{d.call(e,d);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return L("WeakMap");if(function(e){if(!m||!e||"object"!==a(e))return!1;try{m.call(e,m);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return L("WeakSet");if(function(e){if(!f||!e||"object"!==a(e))return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return L("WeakRef");if(function(e){return!("[object Number]"!==H(e)||P&&"object"===a(e)&&P in e)}(t))return D(j(Number(t)));if(function(e){if(!e||"object"!==a(e)||!y)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return D(j(y.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||P&&"object"===a(e)&&P in e)}(t))return D(v.call(t));if(function(e){return!("[object String]"!==H(e)||P&&"object"===a(e)&&P in e)}(t))return D(j(String(t)));if(!function(e){return!("[object Date]"!==H(e)||P&&"object"===a(e)&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==H(e)||P&&"object"===a(e)&&P in e)}(t)){var Y=U(t,j),Q=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,X=t instanceof Object?"":"null prototype",Z=!Q&&P&&Object(t)===t&&P in t?H(t).slice(8,-1):X?"Object":"",ee=(Q||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(Z||X?"["+[].concat(Z||[],X||[]).join(": ")+"] ":"");return 0===Y.length?ee+"{}":g?ee+"{"+B(Y,g)+"}":ee+"{ "+Y.join(", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function R(e,t){return q.call(e,t)}function H(e){return x.call(e)}function F(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,a=e.length;n-1?e.split(","):e},p=function(e,t,n,a){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),p=s?i.slice(0,s.index):i,u=[];if(p){if(!n.plainObjects&&o.call(Object.prototype,p)&&!n.allowPrototypes)return;u.push(p)}for(var l=0;n.depth>0&&null!==(s=r.exec(i))&&l=0;--i){var r,s=e[i];if("[]"===s&&n.parseArrays)r=[].concat(o);else{r=n.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);n.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(r=[])[u]=o:r[p]=o:r={0:o}}o=r}return o}(u,t,n,a)}};e.exports=function(e,t){var n=function(e){if(!e)return r;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?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:r.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||a.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,p={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,l),m=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(x=i(x)?[x]:x),o.call(p,v)?p[v]=a.combine(p[v],x):p[v]=x}return p}(e,n):e,l=n.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},function(e,t,n){"use strict";var a=n(4);e.exports=a.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var a=e;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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=o(window.location.href),function(t){var n=a.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var a=n(4),o=n(68),i=n(70),r=n(39),s=n(33),c=n(34),p=n(71).http,u=n(71).https,l=n(35),d=n(199),m=n(200),f=n(40),v=n(69),x=/https:?/;e.exports=function(e){return new Promise((function(t,n){var h=function(e){t(e)},b=function(e){n(e)},y=e.data,g=e.headers;if(g["User-Agent"]||g["user-agent"]||(g["User-Agent"]="axios/"+m.version),y&&!a.isStream(y)){if(Buffer.isBuffer(y));else if(a.isArrayBuffer(y))y=Buffer.from(new Uint8Array(y));else{if(!a.isString(y))return b(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));y=Buffer.from(y,"utf-8")}g["Content-Length"]=y.length}var w=void 0;e.auth&&(w=(e.auth.username||"")+":"+(e.auth.password||""));var k=i(e.baseURL,e.url),j=l.parse(k),O=j.protocol||"http:";if(!w&&j.auth){var _=j.auth.split(":");w=(_[0]||"")+":"+(_[1]||"")}w&&delete g.Authorization;var S=x.test(O),P=S?e.httpsAgent:e.httpAgent,E={path:r(j.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:g,agent:P,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};e.socketPath?E.socketPath=e.socketPath:(E.hostname=j.hostname,E.port=j.port);var A,C=e.proxy;if(!C&&!1!==C){var z=O.slice(0,-1)+"_proxy",q=process.env[z]||process.env[z.toUpperCase()];if(q){var R=l.parse(q),H=process.env.no_proxy||process.env.NO_PROXY,F=!0;if(H)F=!H.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&j.hostname.substr(j.hostname.length-e.length)===e||j.hostname===e))}));if(F&&(C={host:R.hostname,port:R.port,protocol:R.protocol},R.auth)){var T=R.auth.split(":");C.auth={username:T[0],password:T[1]}}}}C&&(E.headers.host=j.hostname+(j.port?":"+j.port:""),function e(t,n,a){if(t.hostname=n.host,t.host=n.host,t.port=n.port,t.path=a,n.auth){var o=Buffer.from(n.auth.username+":"+n.auth.password,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+o}t.beforeRedirect=function(t){t.headers.host=t.host,e(t,n,t.href)}}(E,C,O+"//"+j.hostname+(j.port?":"+j.port:"")+E.path));var D=S&&(!C||x.test(C.protocol));e.transport?A=e.transport:0===e.maxRedirects?A=D?c:s:(e.maxRedirects&&(E.maxRedirects=e.maxRedirects),A=D?u:p),e.maxBodyLength>-1&&(E.maxBodyLength=e.maxBodyLength);var L=A.request(E,(function(t){if(!L.aborted){var n=t,i=t.req||L;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 r={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:i};if("stream"===e.responseType)r.data=n,o(h,b,r);else{var s=[];n.on("data",(function(t){s.push(t),e.maxContentLength>-1&&Buffer.concat(s).length>e.maxContentLength&&(n.destroy(),b(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,i)))})),n.on("error",(function(t){L.aborted||b(v(t,e,null,i))})),n.on("end",(function(){var t=Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=a.stripBOM(t))),r.data=t,o(h,b,r)}))}}}));L.on("error",(function(t){L.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||b(v(t,e,null,L))})),e.timeout&&L.setTimeout(e.timeout,(function(){L.abort(),b(f("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",L))})),e.cancelToken&&e.cancelToken.promise.then((function(e){L.aborted||(L.abort(),b(e))})),a.isStream(y)?y.on("error",(function(t){b(v(t,e,null,L))})).pipe(L):L.end(y)}))}},function(e,t){e.exports=require("assert")},function(e,t,n){var a;try{a=n(192)("follow-redirects")}catch(e){a=function(){}}e.exports=a},function(e,t,n){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(193):e.exports=n(195)},function(e,t,n){var a;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;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var a=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(o=a))})),t.splice(o,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){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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=(a=!1,function(){a||(a=!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||function(){},e.exports=n(72)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){function n(e){return(n="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})(e)}var a=1e3,o=6e4,i=60*o,r=24*i;function s(e,t,n,a){var o=t>=1.5*n;return Math.round(e/n)+" "+a+(o?"s":"")}e.exports=function(e,t){t=t||{};var c=n(e);if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\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(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*r;case"hours":case"hour":case"hrs":case"hr":case"h":return n*i;case"minutes":case"minute":case"mins":case"min":case"m":return n*o;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=r)return s(e,t,r,"day");if(t>=i)return s(e,t,i,"hour");if(t>=o)return s(e,t,o,"minute");if(t>=a)return s(e,t,a,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=r)return Math.round(e/r)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=o)return Math.round(e/o)+"m";if(t>=a)return Math.round(e/a)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){var a=n(196),o=n(11);t.init=function(e){e.inspectOpts={};for(var n=Object.keys(t.inspectOpts),a=0;a=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()})),a=process.env[t];return a=!!/^(yes|on|true|enabled)$/i.test(a)||!/^(no|off|false|disabled)$/i.test(a)&&("null"===a?null:Number(a)),e[n]=a,e}),{}),e.exports=n(72)(t);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},function(e,t){e.exports=require("tty")},function(e,t,n){"use strict";var a,o=n(19),i=n(198),r=process.env;function s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==a)return 0;var t=a?1:0;if("win32"===process.platform){var n=o.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:t;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,t)}(e))}i("no-color")||i("no-colors")||i("color=false")?a=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=!0),"FORCE_COLOR"in r&&(a=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},function(e,t,n){"use strict";e.exports=function(e,t){t=t||process.argv;var n=e.startsWith("-")?"":1===e.length?"-":"--",a=t.indexOf(n+e),o=t.indexOf("--");return-1!==a&&(-1===o||a2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,e);var i=t.data||{};a&&(i.stackHeaders=a),this.items=o(n,i),void 0!==i.schema&&(this.schema=i.schema),void 0!==i.content_type&&(this.content_type=i.content_type),void 0!==i.count&&(this.count=i.count),void 0!==i.notice&&(this.notice=i.notice)};function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function w(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,i={};a&&(i.headers=a);var r=null;n&&(n.content_type_uid&&(r=n.content_type_uid,delete n.content_type_uid),i.params=w({},s()(n)));var c=function(){var n=m()(v.a.mark((function n(){var s;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.get(t,i);case 3:if(!(s=n.sent).data){n.next=9;break}return r&&(s.data.content_type_uid=r),n.abrupt("return",new y(s,e,a,o));case 9:throw x(s);case 10:n.next=15;break;case 12:throw n.prev=12,n.t0=n.catch(0),x(n.t0);case 15:case"end":return n.stop()}}),n,null,[[0,12]])})));return function(){return n.apply(this,arguments)}}(),p=function(){var n=m()(v.a.mark((function n(){var a;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i.params=w(w({},i.params),{},{count:!0}),n.prev=1,n.next=4,e.get(t,i);case 4:if(!(a=n.sent).data){n.next=9;break}return n.abrupt("return",a.data);case 9:throw x(a);case 10:n.next=15;break;case 12:throw n.prev=12,n.t0=n.catch(1),x(n.t0);case 15:case"end":return n.stop()}}),n,null,[[1,12]])})));return function(){return n.apply(this,arguments)}}(),u=function(){var n=m()(v.a.mark((function n(){var s,c;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(s=i).params.limit=1,n.prev=2,n.next=5,e.get(t,s);case 5:if(!(c=n.sent).data){n.next=11;break}return r&&(c.data.content_type_uid=r),n.abrupt("return",new y(c,e,a,o));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(){return n.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function O(e){for(var t=1;t4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==i&&(a.locale=i),null!==r&&(a.version=r),null!==s&&(a.scheduled_at=s),e.prev=6,e.next=9,t.post(n,a,o);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(t,n,a,o){return e.apply(this,arguments)}}(),E=function(){var e=m()(v.a.mark((function e(t){var n,a,o,i,r,c,p,u;return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.http,a=t.urlPath,o=t.stackHeaders,i=t.formData,r=t.params,c=t.method,p=void 0===c?"POST":c,u={headers:O(O({},r),s()(o))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",n.post(a,i,u));case 6:return e.abrupt("return",n.put(a,i,u));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.http,n=e.params;return function(){var e=m()(v.a.mark((function e(a,o){var i,r;return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={headers:O(O({},s()(n)),s()(this.stackHeaders)),params:O({},s()(o))}||{},e.prev=1,e.next=4,t.post(this.urlPath,a,i);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(t,F(r,this.stackHeaders,this.content_type_uid)));case 9:throw x(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(t,n){return e.apply(this,arguments)}}()},C=function(e){var t=e.http,n=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(t,this.urlPath,e,this.stackHeaders,n)}},z=function(e,t){return m()(v.a.mark((function n(){var a,o,i,r,c=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(i=s()(this)).stackHeaders,delete i.urlPath,delete i.uid,delete i.org_uid,delete i.api_key,delete i.created_at,delete i.created_by,delete i.deleted_at,delete i.updated_at,delete i.updated_by,delete i.updated_at,o[t]=i,n.prev=15,n.next=18,e.put(this.urlPath,o,{headers:O({},s()(this.stackHeaders)),params:O({},s()(a))});case 18:if(!(r=n.sent).data){n.next=23;break}return n.abrupt("return",new this.constructor(e,F(r,this.stackHeaders,this.content_type_uid)));case 23:throw x(r);case 24:n.next=29;break;case 26:throw n.prev=26,n.t0=n.catch(15),x(n.t0);case 29:case"end":return n.stop()}}),n,this,[[15,26]])})))},q=function(e){return m()(v.a.mark((function t(){var n,a,o,i=arguments;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,a={headers:O({},s()(this.stackHeaders)),params:O({},s()(n))}||{},t.next=5,e.delete(this.urlPath,a);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,this,[[1,13]])})))},R=function(e,t){return m()(v.a.mark((function n(){var a,o,i,r=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},n.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(a))}||{},n.next=5,e.get(this.urlPath,o);case 5:if(!(i=n.sent).data){n.next=11;break}return"entry"===t&&(i.data[t].content_type=i.data.content_type,i.data[t].schema=i.data.schema),n.abrupt("return",new this.constructor(e,F(i,this.stackHeaders,this.content_type_uid)));case 11:throw x(i);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(1),x(n.t0);case 17:case"end":return n.stop()}}),n,this,[[1,14]])})))},H=function(e,t){return m()(v.a.mark((function n(){var a,o,i,r=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),a&&(o.params=O({},s()(a))),n.prev=4,n.next=7,e.get(this.urlPath,o);case 7:if(!(i=n.sent).data){n.next=12;break}return n.abrupt("return",new y(i,e,this.stackHeaders,t));case 12:throw x(i);case 13:n.next=18;break;case 15:throw n.prev=15,n.t0=n.catch(4),x(n.t0);case 18:case"end":return n.stop()}}),n,this,[[4,15]])})))};function F(e,t,n){var a=e.data||{};return t&&(a.stackHeaders=t),n&&(a.content_type_uid=n),a}function T(e,t){return this.urlPath="/roles",this.stackHeaders=t.stackHeaders,t.role?(Object.assign(this,s()(t.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=z(e,"role"),this.delete=q(e),this.fetch=R(e,"role"))):(this.create=A({http:e}),this.fetchAll=H(e,D),this.query=C({http:e,wrapperCollection:D})),this}function D(e,t){return s()(t.roles||[]).map((function(n){return new T(e,{role:n,stackHeaders:t.stackHeaders})}))}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function N(e){for(var t=1;t0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/stacks"),{params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,Ve));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.transferOwnership=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/transfer_ownership"),{transfer_to:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.addUser=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/share"),{share:N({},a)});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.getInvitations=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/share"),{params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.resendInvitation=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/").concat(a,"/resend_invitation"));case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.roles=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/roles"),{params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,D));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}())):this.fetchAll=H(e,U)}function U(e,t){return s()(t.organizations||[]).map((function(t){return new B(e,{organization:t})}))}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/content_types",n.content_type?(Object.assign(this,s()(n.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=z(e,"content_type"),this.delete=q(e),this.fetch=R(e,"content_type"),this.entry=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:t.stackHeaders};return a.content_type_uid=t.uid,n&&(a.entry={uid:n}),new K(e,a)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Z}),this.import=function(){var t=m()(v.a.mark((function t(n){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(n)});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(a,this.stackHeaders)));case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function Z(e,t){return(s()(t.content_types)||[]).map((function(n){return new X(e,{content_type:n,stackHeaders:t.stackHeaders})}))}function ee(e){return function(){var t=new $.a,n=Object(J.createReadStream)(e.content_type);return t.append("content_type",n),t}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/global_fields",t.global_field?(Object.assign(this,s()(t.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=z(e,"global_field"),this.delete=q(e),this.fetch=R(e,"global_field")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ne}),this.import=function(){var t=m()(v.a.mark((function t(n){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ae(n)});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(a,this.stackHeaders)));case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function ne(e,t){return(s()(t.global_fields)||[]).map((function(n){return new te(e,{global_field:n,stackHeaders:t.stackHeaders})}))}function ae(e){return function(){var t=new $.a,n=Object(J.createReadStream)(e.global_field);return t.append("global_field",n),t}}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/delivery_tokens",t.token?(Object.assign(this,s()(t.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=z(e,"token"),this.delete=q(e),this.fetch=R(e,"token")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ie}))}function ie(e,t){return(s()(t.tokens)||[]).map((function(n){return new oe(e,{token:n,stackHeaders:t.stackHeaders})}))}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/environments",t.environment?(Object.assign(this,s()(t.environment)),this.urlPath="/environments/".concat(this.name),this.update=z(e,"environment"),this.delete=q(e),this.fetch=R(e,"environment")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:se}))}function se(e,t){return(s()(t.environments)||[]).map((function(n){return new re(e,{environment:n,stackHeaders:t.stackHeaders})}))}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stackHeaders&&(this.stackHeaders=t.stackHeaders),this.urlPath="/assets/folders",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=z(e,"asset"),this.delete=q(e),this.fetch=R(e,"asset")):this.create=A({http:e})}function pe(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/assets",n.asset?(Object.assign(this,s()(n.asset)),this.urlPath="/assets/".concat(this.uid),this.update=z(e,"asset"),this.delete=q(e),this.fetch=R(e,"asset"),this.replace=function(){var t=m()(v.a.mark((function t(n,a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(n),params:a,method:"PUT"});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,n){return t.apply(this,arguments)}}(),this.publish=_(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:t.stackHeaders};return n&&(a.asset={uid:n}),new ce(e,a)},this.create=function(){var t=m()(v.a.mark((function t(n,a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(n),params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,n){return t.apply(this,arguments)}}(),this.query=C({http:e,wrapperCollection:ue})),this}function ue(e,t){return(s()(t.assets)||[]).map((function(n){return new pe(e,{asset:n,stackHeaders:t.stackHeaders})}))}function le(e){return function(){var t=new $.a;"string"==typeof e.parent_uid&&t.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&t.append("asset[description]",e.description),e.tags instanceof Array?t.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("asset[tags]",e.tags),"string"==typeof e.title&&t.append("asset[title]",e.title);var n=Object(J.createReadStream)(e.upload);return t.append("asset[upload]",n),t}}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/locales",t.locale?(Object.assign(this,s()(t.locale)),this.urlPath="/locales/".concat(this.code),this.update=z(e,"locale"),this.delete=q(e),this.fetch=R(e,"locale")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:me})),this}function me(e,t){return(s()(t.locales)||[]).map((function(n){return new de(e,{locale:n,stackHeaders:t.stackHeaders})}))}var fe=n(77),ve=n.n(fe);function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/extensions",t.extension?(Object.assign(this,s()(t.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=z(e,"extension"),this.delete=q(e),this.fetch=R(e,"extension")):(this.upload=function(){var t=m()(v.a.mark((function t(n,a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(n),params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,n){return t.apply(this,arguments)}}(),this.create=A({http:e}),this.query=C({http:e,wrapperCollection:he}))}function he(e,t){return(s()(t.extensions)||[]).map((function(n){return new xe(e,{extension:n,stackHeaders:t.stackHeaders})}))}function be(e){return function(){var t=new $.a;"string"==typeof e.title&&t.append("extension[title]",e.title),"object"===ve()(e.scope)&&t.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&t.append("extension[data_type]",e.data_type),"string"==typeof e.type&&t.append("extension[type]",e.type),e.tags instanceof Array?t.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&t.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&t.append("extension[enable]","".concat(e.enable));var n=Object(J.createReadStream)(e.upload);return t.append("extension[upload]",n),t}}function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ge(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/webhooks",n.webhook?(Object.assign(this,s()(n.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=z(e,"webhook"),this.delete=q(e),this.fetch=R(e,"webhook"),this.executions=function(){var n=m()(v.a.mark((function n(a){var o,i;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),a&&(o.params=ge({},s()(a))),n.prev=3,n.next=6,e.get("".concat(t.urlPath,"/executions"),o);case 6:if(!(i=n.sent).data){n.next=11;break}return n.abrupt("return",i.data);case 11:throw x(i);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(3),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[3,14]])})));return function(e){return n.apply(this,arguments)}}(),this.retry=function(){var n=m()(v.a.mark((function n(a){var o,i;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),n.prev=2,n.next=5,e.post("".concat(t.urlPath,"/retry"),{execution_uid:a},o);case 5:if(!(i=n.sent).data){n.next=10;break}return n.abrupt("return",i.data);case 10:throw x(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(2),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[2,13]])})));return function(e){return n.apply(this,arguments)}}()):(this.create=A({http:e}),this.fetchAll=H(e,ke)),this.import=function(){var n=m()(v.a.mark((function n(a){var o;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,E({http:e,urlPath:"".concat(t.urlPath,"/import"),stackHeaders:t.stackHeaders,formData:je(a)});case 3:if(!(o=n.sent).data){n.next=8;break}return n.abrupt("return",new t.constructor(e,F(o,t.stackHeaders)));case 8:throw x(o);case 9:n.next=14;break;case 11:throw n.prev=11,n.t0=n.catch(0),x(n.t0);case 14:case"end":return n.stop()}}),n,null,[[0,11]])})));return function(e){return n.apply(this,arguments)}}(),this}function ke(e,t){return(s()(t.webhooks)||[]).map((function(n){return new we(e,{webhook:n,stackHeaders:t.stackHeaders})}))}function je(e){return function(){var t=new $.a,n=Object(J.createReadStream)(e.webhook);return t.append("webhook",n),t}}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows/publishing_rules",t.publishing_rule?(Object.assign(this,s()(t.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=z(e,"publishing_rule"),this.delete=q(e),this.fetch=R(e,"publishing_rule")):(this.create=A({http:e}),this.fetchAll=H(e,_e))}function _e(e,t){return(s()(t.publishing_rules)||[]).map((function(n){return new Oe(e,{publishing_rule:n,stackHeaders:t.stackHeaders})}))}function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=n.stackHeaders,this.urlPath="/workflows",n.workflow?(Object.assign(this,s()(n.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=z(e,"workflow"),this.disable=m()(v.a.mark((function t(){var n;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data);case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.enable=m()(v.a.mark((function t(){var n;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data);case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.delete=q(e),this.fetch=R(e,"workflow")):(this.contentType=function(n){if(n)return{getPublishRules:function(){var t=m()(v.a.mark((function t(a){var o,i;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),a&&(o.params=Pe({},s()(a))),t.prev=3,t.next=6,e.get("/workflows/content_type/".concat(n),o);case 6:if(!(i=t.sent).data){t.next=11;break}return t.abrupt("return",new y(i,e,this.stackHeaders,_e));case 11:throw x(i);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),stackHeaders:Pe({},t.stackHeaders)}},this.create=A({http:e}),this.fetchAll=H(e,Ae),this.publishRule=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:t.stackHeaders};return n&&(a.publishing_rule={uid:n}),new Oe(e,a)})}function Ae(e,t){return(s()(t.workflows)||[]).map((function(n){return new Ee(e,{workflow:n,stackHeaders:t.stackHeaders})}))}function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,n.item&&Object.assign(this,s()(n.item)),n.releaseUid&&(this.urlPath="releases/".concat(n.releaseUid,"/items"),this.delete=function(){var a=m()(v.a.mark((function a(o){var i,r,c;return v.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={},void 0===o&&(i={all:!0}),a.prev=2,r={headers:ze({},s()(t.stackHeaders)),data:ze({},s()(o)),params:ze({},s()(i))}||{},a.next=6,e.delete(t.urlPath,r);case 6:if(!(c=a.sent).data){a.next=11;break}return a.abrupt("return",new Te(e,ze(ze({},c.data),{},{stackHeaders:n.stackHeaders})));case 11:throw x(c);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(2),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[2,14]])})));return function(e){return a.apply(this,arguments)}}(),this.create=function(){var a=m()(v.a.mark((function a(o){var i,r;return v.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={headers:ze({},s()(t.stackHeaders))}||{},a.prev=1,a.next=4,e.post(o.item?"releases/".concat(n.releaseUid,"/item"):t.urlPath,o,i);case 4:if(!(r=a.sent).data){a.next=10;break}if(!r.data){a.next=8;break}return a.abrupt("return",new Te(e,ze(ze({},r.data),{},{stackHeaders:n.stackHeaders})));case 8:a.next=11;break;case 10:throw x(r);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[1,13]])})));return function(e){return a.apply(this,arguments)}}(),this.findAll=m()(v.a.mark((function n(){var a,o,i,r=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},n.prev=1,o={headers:ze({},s()(t.stackHeaders)),params:ze({},s()(a))}||{},n.next=5,e.get(t.urlPath,o);case 5:if(!(i=n.sent).data){n.next=10;break}return n.abrupt("return",new y(i,e,t.stackHeaders,Re));case 10:throw x(i);case 11:n.next=16;break;case 13:n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})))),this}function Re(e,t,n){return(s()(t.items)||[]).map((function(a){return new qe(e,{releaseUid:n,item:a,stackHeaders:t.stackHeaders})}))}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Fe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/releases",n.release?(Object.assign(this,s()(n.release)),n.release.items&&(this.items=new Re(e,{items:n.release.items,stackHeaders:n.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=z(e,"release"),this.fetch=R(e,"release"),this.delete=q(e),this.item=function(){return new qe(e,{releaseUid:t.uid,stackHeaders:t.stackHeaders})},this.deploy=function(){var n=m()(v.a.mark((function n(a){var o,i,r,c,p,u,l;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.environments,i=a.locales,r=a.scheduledAt,c=a.action,p={environments:o,locales:i,scheduledAt:r,action:c},u={headers:Fe({},s()(t.stackHeaders))}||{},n.prev=3,n.next=6,e.post("".concat(t.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=n.sent).data){n.next=11;break}return n.abrupt("return",l.data);case 11:throw x(l);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(3),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[3,14]])})));return function(e){return n.apply(this,arguments)}}(),this.clone=function(){var n=m()(v.a.mark((function n(a){var o,i,r,c,p;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.name,i=a.description,r={name:o,description:i},c={headers:Fe({},s()(t.stackHeaders))}||{},n.prev=3,n.next=6,e.post("".concat(t.urlPath,"/clone"),{release:r},c);case 6:if(!(p=n.sent).data){n.next=11;break}return n.abrupt("return",new Te(e,p.data));case 11:throw x(p);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(3),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[3,14]])})));return function(e){return n.apply(this,arguments)}}()):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:De})),this}function De(e,t){return(s()(t.releases)||[]).map((function(n){return new Te(e,{release:n,stackHeaders:t.stackHeaders})}))}function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ne(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=n.stackHeaders,this.urlPath="/bulk",this.publish=function(){var n=m()(v.a.mark((function n(a){var o,i,r,c,p,u,l,d,m;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.details,i=a.skip_workflow_stage,r=void 0!==i&&i,c=a.approvals,p=void 0!==c&&c,u=a.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),n.abrupt("return",P(e,"/bulk/publish",d,m));case 8:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),this.unpublish=function(){var n=m()(v.a.mark((function n(a){var o,i,r,c,p,u,l,d,m;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.details,i=a.skip_workflow_stage,r=void 0!==i&&i,c=a.approvals,p=void 0!==c&&c,u=a.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),n.abrupt("return",P(e,"/bulk/unpublish",d,m));case 8:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),this.delete=m()(v.a.mark((function n(){var a,o,i,r=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},o={},a.details&&(o=s()(a.details)),i={headers:Ne({},s()(t.stackHeaders))},n.abrupt("return",P(e,"/bulk/delete",o,i));case 5:case"end":return n.stop()}}),n)})))}function Ue(e,t){this.stackHeaders=t.stackHeaders,this.urlPath="/labels",t.label?(Object.assign(this,s()(t.label)),this.urlPath="/labels/".concat(this.uid),this.update=z(e,"label"),this.delete=q(e),this.fetch=R(e,"label")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Ie}))}function Ie(e,t){return(s()(t.labels)||[]).map((function(n){return new Ue(e,{label:n,stackHeaders:t.stackHeaders})}))}function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function We(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.content_type={uid:t}),new X(e,a)},this.locale=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.locale={code:t}),new de(e,a)},this.asset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.asset={uid:t}),new pe(e,a)},this.globalField=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.global_field={uid:t}),new te(e,a)},this.environment=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.environment={name:t}),new re(e,a)},this.deliveryToken=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.token={uid:t}),new oe(e,a)},this.extension=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.extension={uid:t}),new xe(e,a)},this.workflow=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.workflow={uid:t}),new Ee(e,a)},this.webhook=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.webhook={uid:t}),new we(e,a)},this.label=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.label={uid:t}),new Ue(e,a)},this.release=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.release={uid:t}),new Te(e,a)},this.bulkOperation=function(){var t={stackHeaders:n.stackHeaders};return new Be(e,t)},this.users=m()(v.a.mark((function t(){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(n.urlPath,{params:{include_collaborators:!0},headers:We({},s()(n.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",G(e,a.data.stack));case 8:return t.abrupt("return",x(a));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.transferOwnership=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/transfer_ownership"),{transfer_to:a},{headers:We({},s()(n.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.settings=m()(v.a.mark((function t(){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/settings"),{headers:We({},s()(n.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data.stack_settings);case 8:return t.abrupt("return",x(a));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.resetSettings=m()(v.a.mark((function t(){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:We({},s()(n.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data.stack_settings);case 8:return t.abrupt("return",x(a));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.addSettings=m()(v.a.mark((function t(){var a,o,i=arguments;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,t.next=4,e.post("".concat(n.urlPath,"/settings"),{stack_settings:{stack_variables:a}},{headers:We({},s()(n.stackHeaders))});case 4:if(!(o=t.sent).data){t.next=9;break}return t.abrupt("return",o.data.stack_settings);case 9:return t.abrupt("return",x(o));case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(1),t.abrupt("return",x(t.t0));case 15:case"end":return t.stop()}}),t,null,[[1,12]])}))),this.share=m()(v.a.mark((function t(){var a,o,i,r=arguments;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:[],o=r.length>1&&void 0!==r[1]?r[1]:{},t.prev=2,t.next=5,e.post("".concat(n.urlPath,"/share"),{emails:a,roles:o},{headers:We({},s()(n.stackHeaders))});case 5:if(!(i=t.sent).data){t.next=10;break}return t.abrupt("return",i.data);case 10:return t.abrupt("return",x(i));case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",x(t.t0));case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),this.unShare=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/unshare"),{email:a},{headers:We({},s()(n.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.role=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.role={uid:t}),new T(e,a)}):(this.create=A({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=C({http:e,wrapperCollection:Ve})),this}function Ve(e,t){var n=t.stacks||[];return s()(n).map((function(t){return new Ge(e,{stack:t})}))}function $e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Je(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return t.post("/user-session",{user:e},{params:n}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(t.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new W(t,e.data)),e.data}),x)},logout:function(e){return void 0!==e?t.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):t.delete("/user-session").then((function(e){return t.defaults.headers.common&&delete t.defaults.headers.common.authtoken,delete t.defaults.headers.authtoken,delete t.httpClientParams.authtoken,delete t.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.get("/user",{params:e}).then((function(e){return new W(t,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Je({},s()(e));return new Ge(t,{stack:n})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new B(t,null!==e?{organization:{uid:e}}:null)},axiosInstance:t}}var Ye=n(78),Qe=n.n(Ye),Xe=n(79),Ze=n.n(Xe),et=n(20),tt=n.n(et);function nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function at(e){for(var t=1;tt.config.retryLimit)return Promise.reject(i(e));if(t.config.retryDelayOptions)if(t.config.retryDelayOptions.customBackoff){if((c=t.config.retryDelayOptions.customBackoff(o,e))&&c<=0)return Promise.reject(i(e))}else t.config.retryDelayOptions.base&&(c=t.config.retryDelayOptions.base*o);else c=t.config.retryDelay;return e.config.retryCount=o,new Promise((function(t){return setTimeout((function(){return t(n(r(e,a,c)))}),c)}))},this.interceptors={request:null,response:null};var r=function(e,a,o){var i=e.config;return t.config.logHandler("warning","".concat(a," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==n&&void 0!==n.defaults&&(n.defaults.agent===i.agent&&delete i.agent,n.defaults.httpAgent===i.httpAgent&&delete i.httpAgent,n.defaults.httpsAgent===i.httpsAgent&&delete i.httpsAgent),i.data=s(i),i.transformRequest=[function(e){return e}],i},s=function(e){if(e.formdata){var t=e.formdata();return e.headers=at(at({},e.headers),t.getHeaders()),t}return e.data};this.interceptors.request=n.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=s(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var n=tt.a.CancelToken.source();e.cancelToken=n.token,e.source=n}return t.paused&&e.retryCount>0?new Promise((function(n){t.unshift({request:e,resolve:n})})):e.retryCount>0?e:new Promise((function(n){e.onComplete=function(){t.running.pop({request:e,resolve:n})},t.push({request:e,resolve:n})}))})),this.interceptors.response=n.interceptors.response.use(i,(function(e){var a=e.config.retryCount,o=null;if(!t.config.retryOnError||a>t.config.retryLimit)return Promise.reject(i(e));var s=t.config.retryDelay,c=e.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++a>t.config.retryLimit?Promise.reject(i(e)):(t.running.shift(),function e(n){if(!t.paused)return t.paused=!0,t.running.length>0&&setTimeout((function(){e(n)}),n),new Promise((function(e){return setTimeout((function(){t.paused=!1;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},t={defaultHostName:"api.contentstack.io"},n="contentstack-management-javascript/".concat(i.version),a=l(n,e.application,e.integration,e.feature),o={"X-User-Agent":n,"User-Agent":a};e.authtoken&&(o.authtoken=e.authtoken),(e=ut(ut({},t),s()(e))).headers=ut(ut({},e.headers),o);var r=ct(e),c=Ke({http:r});return c}}]); \ No newline at end of file diff --git a/dist/react-native/contentstack-management.js b/dist/react-native/contentstack-management.js index 0a952da5..ef037a80 100644 --- a/dist/react-native/contentstack-management.js +++ b/dist/react-native/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(s):c<128?a+=i[c]:c<2048?a+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?a+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(s)),a+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(34),o=r(41);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(28),i=r(44),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),i=r(52),s=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(i).concat(s),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.21","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),i=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(37),i=r(98),s=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(29),y=r(122),b=r(123),v=r(129),m=r(23),g=r(40),w=r(131),k=r(9),x=r(133),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,_,S,H,E){var A,D=1&r,C=2&r,L=4&r;if(_&&(A=H?_(e,S,H,E):_(e)),void 0!==A)return A;if(!k(e))return e;var T=m(e);if(T){if(A=y(e),!D)return u(e,A)}else{var N=d(e),R="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||R&&!H){if(A=C||R?{}:v(e),!D)return C?p(e,s(A,e)):f(e,i(A,e))}else{if(!P[N])return H?e:{};A=b(e,N,D)}}E||(E=new n);var q=E.get(e);if(q)return q;E.set(e,A),x(e)?e.forEach((function(n){A.add(t(n,r,_,n,e,E))})):w(e)&&e.forEach((function(n,o){A.set(o,t(n,r,_,o,e,E))}));var U=T?void 0:(L?C?h:l:C?O:j)(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(A,o,t(n,r,_,o,e,E))})),A}},function(t,e,r){var n=r(11),o=r(71),a=r(72),i=r(73),s=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(34),o=r(80),a=r(9),i=r(36),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),i=r(94),s=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(31),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(s=i.exec(a))&&p=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&s!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(i=[])[f]=o:i[u]=o:i={0:o}}o=i}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(59),i=r(0),s=r.n(i),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(60),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=l()(f.a.mark((function r(){var s;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var s,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,i,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,i;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},s()(r)),s()(this.stackHeaders)),params:k({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},s()(this.stackHeaders)),params:k({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return l()(f.a.mark((function e(){var r,n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},s()(this.stackHeaders)),params:k({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:k({},s()(this.stackHeaders)),params:k({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,Mt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return s()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(s()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,i,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:Ht({},s()(e.stackHeaders)),data:Ht({},s()(o)),params:Ht({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,i;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:Ht({},s()(e.stackHeaders)),params:Ht({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(s()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ft(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ft({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,i=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Ft({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Mt})),this}function Mt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new It(t,{stack:e})}))}function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=$t({},s()(t));return new It(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Gt=r(62),Qt=r.n(Gt),Xt=r(63),Jt=r.n(Xt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=te(te({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Yt.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Wt({http:i});return u}}]); \ No newline at end of file +module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=171)}([function(t,e,r){var n=r(67);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(137)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(54),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=P(t),n=r.length>0?r[0]:"",a=S("%"+n+"%",e),s=a.name,u=a.value,p=!1,f=a.alias;f&&(n=f[0],w(r,g([0,1],f)));for(var l=1,h=!0;l=r.length){var x=c(u,d);u=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:u[d]}else h=m(u,d),u=u[d];h&&!p&&(y[s]=u)}}return u}},function(t,e,r){"use strict";var n=r(147);t.exports=Function.prototype.bind||n},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13),o=r(9);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e;t.exports=n}).call(this,r(38))},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(41),o=r(35),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(99);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(101),o=r(102),a=r(23),i=r(43),s=r(105),c=r(106),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},function(t,e,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(7),a=r(104),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,r(17)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(36),o=r(44);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(49),o=r(50),a=r(28),i=r(47),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(52))},function(t,e,r){"use strict";var n=r(4),o=r(160),a=r(162),i=r(55),s=r(163),c=r(166),u=r(167),p=r(59);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(p("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(p("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,r){"use strict";var n=r(161);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(138),o=r(139),a=r(140),i=r(142);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(143),o=r(153),a=r(33);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(68),o=r(98),a=r(40),i=r(100),s=r(110),c=r(113),u=r(114),p=r(115),f=r(117),l=r(118),h=r(119),d=r(29),y=r(124),b=r(125),v=r(131),m=r(23),g=r(43),w=r(133),x=r(9),k=r(135),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,S,_,A,E){var H,D=1&r,R=2&r,C=4&r;if(S&&(H=A?S(e,_,A,E):S(e)),void 0!==H)return H;if(!x(e))return e;var T=m(e);if(T){if(H=y(e),!D)return u(e,H)}else{var N=d(e),L="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||L&&!A){if(H=R||L?{}:v(e),!D)return R?f(e,s(H,e)):p(e,i(H,e))}else{if(!P[N])return A?e:{};H=b(e,N,D)}}E||(E=new n);var U=E.get(e);if(U)return U;E.set(e,H),k(e)?e.forEach((function(n){H.add(t(n,r,S,n,e,E))})):w(e)&&e.forEach((function(n,o){H.set(o,t(n,r,S,o,e,E))}));var F=T?void 0:(C?R?h:l:R?O:j)(e);return o(F||e,(function(n,o){F&&(n=e[o=n]),a(H,o,t(n,r,S,o,e,E))})),H}},function(t,e,r){var n=r(11),o=r(74),a=r(75),i=r(76),s=r(77),c=r(78);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(85);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(36),o=r(82),a=r(9),i=r(39),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(83),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(86),o=r(93),a=r(95),i=r(96),s=r(97);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(141);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?x+w:""}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(31),a=r(149),i=r(151),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},function(t,e,r){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=e.Symbol,a=r(146);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===n(o("foo"))&&("symbol"===n(Symbol("bar"))&&a())))}}).call(this,r(38))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==a.call(e))throw new TypeError(n+e);for(var r,i=o.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,i.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,i.concat(o.call(arguments)))},c=Math.max(0,e.length-i.length),u=[],p=0;p-1?o(r):r}},function(t,e,r){"use strict";var n=r(32),o=r(31),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(152).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==T(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",r)}(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(N(a,e)>=0)return"[Circular]";function j(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var P=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,j);return"[Function"+(P?": "+P:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(D(e)){var B=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?B:U(B)}if(function(t){if(!t||"object"!==n(t))return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var z="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var G=q(e,j);return w&&!function(t){for(var e=0;e=0)return!1;return!0}(G)?"["+M(G,w)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return!("[object Error]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=q(e,j);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var J=[];return s.call(e,(function(t,r){J.push(j(r,e,!0)+" => "+j(t,e))})),I("Map",i.call(e),J,w)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return f.call(e,(function(t){Q.push(j(t,e))})),I("Set",p.call(e),Q,w)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return U(j(g.call(e)));if(function(t){return!("[object Boolean]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(y.call(e));if(function(t){return!("[object String]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(String(e)));if(!function(t){return!("[object Date]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=q(e,j),K=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",Z=!K&&_&&Object(e)===e&&_ in e?T(e).slice(8,-1):Y?"Object":"",tt=(K||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Z||Y?"["+[].concat(Z||[],Y||[]).join(": ")+"] ":"");return 0===X.length?tt+"{}":w?tt+"{"+M(X,w)+"}":tt+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function T(t){return b.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(61);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(62),i=r(0),s=r.n(i),c=r(18),u=r(2),p=r.n(u),f=r(1),l=r.n(f);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(63),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=p()(l.a.mark((function r(){var s;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=p()(l.a.mark((function r(){var n;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),f=function(){var r=p()(l.a.mark((function r(){var s,c;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:f}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=p()(l.a.mark((function t(e){var r,n,o,a,i,c,u,p;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(t){var e=t.http,r=t.params;return function(){var t=p()(l.a.mark((function t(n,o){var a,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},s()(r)),s()(this.stackHeaders)),params:x({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,R(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},_=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},A=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i,c=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},s()(this.stackHeaders)),params:x({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,R(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return p()(l.a.mark((function e(){var r,n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:x({},s()(this.stackHeaders)),params:x({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},H=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,R(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function R(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=A(t,"role"),this.delete=E(t),this.fetch=H(t,"role"))):(this.create=S({http:t}),this.fetchAll=D(t,T),this.query=_({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,zt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,F)}function F(t,e){return s()(e.organizations||[]).map((function(e){return new U(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=A(t,"content_type"),this.delete=E(t),this.fetch=H(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new G(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=S({http:t}),this.query=_({http:t,wrapperCollection:X}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(s()(e.content_types)||[]).map((function(r){return new Q(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=A(t,"global_field"),this.delete=E(t),this.fetch=H(t,"global_field")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Z}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=A(t,"token"),this.delete=E(t),this.fetch=H(t,"token")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=A(t,"environment"),this.delete=E(t),this.fetch=H(t,"environment")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset")):this.create=S({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset"),this.replace=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=k(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=_({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new W.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object(V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=A(t,"locale"),this.delete=E(t),this.fetch=H(t,"locale")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:pt})),this}function pt(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var ft=r(64),lt=r.n(ft);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=A(t,"extension"),this.delete=E(t),this.fetch=H(t,"extension")):(this.upload=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=S({http:t}),this.query=_({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new W.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object(V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=A(t,"webhook"),this.delete=E(t),this.fetch=H(t,"webhook"),this.executions=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=A(t,"publishing_rule"),this.delete=E(t),this.fetch=H(t,"publishing_rule")):(this.create=S({http:t}),this.fetchAll=D(t,kt))}function kt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=A(t,"workflow"),this.disable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=H(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=p()(l.a.mark((function e(n){var o,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,kt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=S({http:t}),this.fetchAll=D(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function St(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=p()(l.a.mark((function n(o){var a,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:At({},s()(e.stackHeaders)),data:At({},s()(o)),params:At({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=p()(l.a.mark((function n(o){var a,i;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:At({},s()(e.stackHeaders)),params:At({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,Ht));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=A(t,"release"),this.fetch=H(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw h(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/publish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/unpublish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=A(t,"label"),this.delete=E(t),this.fetch=H(t,"label")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:It}))}function It(t,e){return(s()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new Q(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Ut(t,e)},this.users=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",B(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=p()(l.a.mark((function e(){var n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:qt({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=p()(l.a.mark((function e(){var n,o,a,i=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:qt({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=S({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=_({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new q(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new q(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Vt({},s()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var $t=r(65),Jt=r.n($t),Qt=r(66),Xt=r.n(Qt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=te(te({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Yt.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Gt({http:i});return u}}]); \ No newline at end of file diff --git a/dist/web/contentstack-management.js b/dist/web/contentstack-management.js index 60851c66..b39aa421 100644 --- a/dist/web/contentstack-management.js +++ b/dist/web/contentstack-management.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentstack-management"]=e():t["contentstack-management"]=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=160)}([function(t,e,r){var n=r(64);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(135)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(51),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===a.call(t)}function p(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1;){var e=t.pop(),r=e.obj[e.prop];if(a(r)){for(var n=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?a+=o.charAt(s):c<128?a+=i[c]:c<2048?a+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?a+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(s+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(s)),a+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return a},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var r=[],n=0;n-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(34),o=r(41);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(46),o=r(47),a=r(28),i=r(44),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(49))},function(t,e,r){"use strict";var n=r(4),o=r(149),a=r(151),i=r(52),s=r(152),c=r(155),u=r(156),f=r(56);t.exports=function(t){return new Promise((function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),p||(p=null),h.send(p)}))}},function(t,e,r){"use strict";var n=r(150);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var f=o.concat(a).concat(i).concat(s),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(p,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.0","lodash":"^4.17.21","qs":"^6.9.4"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.11.0","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/register":"^7.10.5","@babel/runtime":"^7.11.2","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.18.2","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.2.0","docdash":"^1.2.0","dotenv":"^8.2.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){var n=r(136),o=r(137),a=r(138),i=r(140);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()}},function(t,e,r){"use strict";var n=r(141),o=r(142),a=r(50);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(65),o=r(96),a=r(37),i=r(98),s=r(108),c=r(111),u=r(112),f=r(113),p=r(115),l=r(116),h=r(117),d=r(29),y=r(122),b=r(123),v=r(129),m=r(23),g=r(40),w=r(131),k=r(9),x=r(133),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,_,S,H,E){var A,D=1&r,C=2&r,L=4&r;if(_&&(A=H?_(e,S,H,E):_(e)),void 0!==A)return A;if(!k(e))return e;var T=m(e);if(T){if(A=y(e),!D)return u(e,A)}else{var N=d(e),R="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||R&&!H){if(A=C||R?{}:v(e),!D)return C?p(e,s(A,e)):f(e,i(A,e))}else{if(!P[N])return H?e:{};A=b(e,N,D)}}E||(E=new n);var q=E.get(e);if(q)return q;E.set(e,A),x(e)?e.forEach((function(n){A.add(t(n,r,_,n,e,E))})):w(e)&&e.forEach((function(n,o){A.set(o,t(n,r,_,o,e,E))}));var U=T?void 0:(L?C?h:l:C?O:j)(e);return o(U||e,(function(n,o){U&&(n=e[o=n]),a(A,o,t(n,r,_,o,e,E))})),A}},function(t,e,r){var n=r(11),o=r(71),a=r(72),i=r(73),s=r(74),c=r(75);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(83);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(34),o=r(80),a=r(9),i=r(36),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,p=u.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(81),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(84),o=r(91),a=r(93),i=r(94),s=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}},function(t,e,r){var n=r(139);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?g+m:""}},function(t,e,r){"use strict";var n=r(31),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var p=0;r.depth>0&&null!==(s=i.exec(a))&&p=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&s!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(i=[])[f]=o:i[u]=o:i={0:o}}o=i}return o}(f,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,p=r.plainObjects?Object.create(null):{},l=Object.keys(f),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(58);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(59),i=r(0),s=r.n(i),c=r(18),u=r(1),f=r.n(u),p=r(2),l=r.n(p);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(60),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=l()(f.a.mark((function r(){var s;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l()(f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l()(f.a.mark((function r(){var s,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l()(f.a.mark((function t(e){var r,n,o,a,i,c,u,p;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l()(f.a.mark((function t(n,o){var a,i;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},s()(r)),s()(this.stackHeaders)),params:k({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},S=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i,c=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},s()(this.stackHeaders)),params:k({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return l()(f.a.mark((function e(){var r,n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},s()(this.stackHeaders)),params:k({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},A=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:k({},s()(this.stackHeaders)),params:k({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function L(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=A(t,"role"))):(this.create=_({http:t}),this.fetchAll=D(t,T),this.query=S({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new L(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,Mt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:R({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,I));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,U)}function U(t,e){return s()(e.organizations||[]).map((function(e){return new q(t,{organization:e})}))}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=A(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new W(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=S({http:t,wrapperCollection:J}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function J(t,e){return(s()(e.content_types)||[]).map((function(r){return new X(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=A(t,"global_field")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Z}),this.import=function(){var e=l()(f.a.mark((function e(r){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=A(t,"token")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=A(t,"environment")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset")):this.create=_({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=A(t,"asset"),this.replace=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=x(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=S({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new V.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object($.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=A(t,"locale")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:ft})),this}function ft(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var pt=r(61),lt=r.n(pt);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=A(t,"extension")):(this.upload=function(){var e=l()(f.a.mark((function e(r,n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=S({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new V.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object($.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=A(t,"webhook"),this.executions=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l()(f.a.mark((function r(n){var o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=l()(f.a.mark((function r(n){var o;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new V.a,r=Object($.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=A(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=D(t,xt))}function xt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=A(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=l()(f.a.mark((function e(n){var o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,xt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=_({http:t}),this.fetchAll=D(t,_t),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function _t(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l()(f.a.mark((function n(o){var a,i,c;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:Ht({},s()(e.stackHeaders)),data:Ht({},s()(o)),params:Ht({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Lt(t,Ht(Ht({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l()(f.a.mark((function n(o){var a,i;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:Ht({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Lt(t,Ht(Ht({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:Ht({},s()(e.stackHeaders)),params:Ht({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,At));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function At(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new At(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=A(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u,p,l;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw h(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l()(f.a.mark((function r(n){var o,a,i,c,u;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Ct({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Lt(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Lt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/publish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.unpublish=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},n.skip_workflow_stage_check&&(a.headers.skip_workflow_stage_check=n.skip_workflow_stage_check),n.approvals&&(a.headers.approvals=n.approvals),r.abrupt("return",O(t,"/bulk/unpublish",o,a));case 7:case"end":return r.stop()}}),r)}))),this.delete=l()(f.a.mark((function r(){var n,o,a,i=arguments;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Rt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ut(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=A(t,"label")):(this.create=_({http:t}),this.query=S({http:t,wrapperCollection:zt}))}function zt(t,e){return(s()(e.labels)||[]).map((function(r){return new Ut(t,{label:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ft(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new X(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ut(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Lt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new qt(t,e)},this.users=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",I(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l()(f.a.mark((function e(){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l()(f.a.mark((function e(){var n,o,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ft({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l()(f.a.mark((function e(){var n,o,a,i=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Ft({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l()(f.a.mark((function e(n){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Ft({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new L(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=S({http:t,wrapperCollection:Mt})),this}function Mt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new It(t,{stack:e})}))}function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new F(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new F(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=$t({},s()(t));return new It(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new q(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var Gt=r(62),Qt=r.n(Gt),Xt=r(63),Jt=r.n(Xt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=te(te({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Yt.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Wt({http:i});return u}}])})); \ No newline at end of file +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentstack-management"]=e():t["contentstack-management"]=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=171)}([function(t,e,r){var n=r(67);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(137)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(54),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=P(t),n=r.length>0?r[0]:"",a=S("%"+n+"%",e),s=a.name,u=a.value,p=!1,f=a.alias;f&&(n=f[0],w(r,g([0,1],f)));for(var l=1,h=!0;l=r.length){var x=c(u,d);u=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:u[d]}else h=m(u,d),u=u[d];h&&!p&&(y[s]=u)}}return u}},function(t,e,r){"use strict";var n=r(147);t.exports=Function.prototype.bind||n},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13),o=r(9);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e;t.exports=n}).call(this,r(38))},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(41),o=r(35),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(99);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(101),o=r(102),a=r(23),i=r(43),s=r(105),c=r(106),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},function(t,e,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(7),a=r(104),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,r(17)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(36),o=r(44);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(49),o=r(50),a=r(28),i=r(47),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(52))},function(t,e,r){"use strict";var n=r(4),o=r(160),a=r(162),i=r(55),s=r(163),c=r(166),u=r(167),p=r(59);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(p("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(p("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,r){"use strict";var n=r(161);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(138),o=r(139),a=r(140),i=r(142);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(143),o=r(153),a=r(33);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(68),o=r(98),a=r(40),i=r(100),s=r(110),c=r(113),u=r(114),p=r(115),f=r(117),l=r(118),h=r(119),d=r(29),y=r(124),b=r(125),v=r(131),m=r(23),g=r(43),w=r(133),x=r(9),k=r(135),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,S,_,A,E){var H,D=1&r,R=2&r,C=4&r;if(S&&(H=A?S(e,_,A,E):S(e)),void 0!==H)return H;if(!x(e))return e;var T=m(e);if(T){if(H=y(e),!D)return u(e,H)}else{var N=d(e),L="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||L&&!A){if(H=R||L?{}:v(e),!D)return R?f(e,s(H,e)):p(e,i(H,e))}else{if(!P[N])return A?e:{};H=b(e,N,D)}}E||(E=new n);var U=E.get(e);if(U)return U;E.set(e,H),k(e)?e.forEach((function(n){H.add(t(n,r,S,n,e,E))})):w(e)&&e.forEach((function(n,o){H.set(o,t(n,r,S,o,e,E))}));var F=T?void 0:(C?R?h:l:R?O:j)(e);return o(F||e,(function(n,o){F&&(n=e[o=n]),a(H,o,t(n,r,S,o,e,E))})),H}},function(t,e,r){var n=r(11),o=r(74),a=r(75),i=r(76),s=r(77),c=r(78);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(85);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(36),o=r(82),a=r(9),i=r(39),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(83),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(86),o=r(93),a=r(95),i=r(96),s=r(97);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(141);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?x+w:""}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(31),a=r(149),i=r(151),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},function(t,e,r){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=e.Symbol,a=r(146);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===n(o("foo"))&&("symbol"===n(Symbol("bar"))&&a())))}}).call(this,r(38))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==a.call(e))throw new TypeError(n+e);for(var r,i=o.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,i.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,i.concat(o.call(arguments)))},c=Math.max(0,e.length-i.length),u=[],p=0;p-1?o(r):r}},function(t,e,r){"use strict";var n=r(32),o=r(31),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(152).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==T(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",r)}(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(N(a,e)>=0)return"[Circular]";function j(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var P=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,j);return"[Function"+(P?": "+P:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(D(e)){var B=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?B:U(B)}if(function(t){if(!t||"object"!==n(t))return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var z="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var G=q(e,j);return w&&!function(t){for(var e=0;e=0)return!1;return!0}(G)?"["+M(G,w)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return!("[object Error]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=q(e,j);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var J=[];return s.call(e,(function(t,r){J.push(j(r,e,!0)+" => "+j(t,e))})),I("Map",i.call(e),J,w)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return f.call(e,(function(t){Q.push(j(t,e))})),I("Set",p.call(e),Q,w)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return U(j(g.call(e)));if(function(t){return!("[object Boolean]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(y.call(e));if(function(t){return!("[object String]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(String(e)));if(!function(t){return!("[object Date]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=q(e,j),K=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",Z=!K&&_&&Object(e)===e&&_ in e?T(e).slice(8,-1):Y?"Object":"",tt=(K||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Z||Y?"["+[].concat(Z||[],Y||[]).join(": ")+"] ":"");return 0===X.length?tt+"{}":w?tt+"{"+M(X,w)+"}":tt+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function T(t){return b.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(61);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(62),i=r(0),s=r.n(i),c=r(18),u=r(2),p=r.n(u),f=r(1),l=r.n(f);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(63),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=p()(l.a.mark((function r(){var s;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=p()(l.a.mark((function r(){var n;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),f=function(){var r=p()(l.a.mark((function r(){var s,c;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:f}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=p()(l.a.mark((function t(e){var r,n,o,a,i,c,u,p;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(t){var e=t.http,r=t.params;return function(){var t=p()(l.a.mark((function t(n,o){var a,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},s()(r)),s()(this.stackHeaders)),params:x({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,R(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},_=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},A=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i,c=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},s()(this.stackHeaders)),params:x({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,R(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return p()(l.a.mark((function e(){var r,n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:x({},s()(this.stackHeaders)),params:x({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},H=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,R(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function R(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=A(t,"role"),this.delete=E(t),this.fetch=H(t,"role"))):(this.create=S({http:t}),this.fetchAll=D(t,T),this.query=_({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,zt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,F)}function F(t,e){return s()(e.organizations||[]).map((function(e){return new U(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=A(t,"content_type"),this.delete=E(t),this.fetch=H(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new G(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=S({http:t}),this.query=_({http:t,wrapperCollection:X}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(s()(e.content_types)||[]).map((function(r){return new Q(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=A(t,"global_field"),this.delete=E(t),this.fetch=H(t,"global_field")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Z}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=A(t,"token"),this.delete=E(t),this.fetch=H(t,"token")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=A(t,"environment"),this.delete=E(t),this.fetch=H(t,"environment")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset")):this.create=S({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset"),this.replace=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=k(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=_({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new W.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object(V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=A(t,"locale"),this.delete=E(t),this.fetch=H(t,"locale")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:pt})),this}function pt(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var ft=r(64),lt=r.n(ft);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=A(t,"extension"),this.delete=E(t),this.fetch=H(t,"extension")):(this.upload=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=S({http:t}),this.query=_({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new W.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object(V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=A(t,"webhook"),this.delete=E(t),this.fetch=H(t,"webhook"),this.executions=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=A(t,"publishing_rule"),this.delete=E(t),this.fetch=H(t,"publishing_rule")):(this.create=S({http:t}),this.fetchAll=D(t,kt))}function kt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=A(t,"workflow"),this.disable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=H(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=p()(l.a.mark((function e(n){var o,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,kt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=S({http:t}),this.fetchAll=D(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function St(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=p()(l.a.mark((function n(o){var a,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:At({},s()(e.stackHeaders)),data:At({},s()(o)),params:At({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=p()(l.a.mark((function n(o){var a,i;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:At({},s()(e.stackHeaders)),params:At({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,Ht));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=A(t,"release"),this.fetch=H(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw h(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/publish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/unpublish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=A(t,"label"),this.delete=E(t),this.fetch=H(t,"label")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:It}))}function It(t,e){return(s()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new Q(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Ut(t,e)},this.users=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",B(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=p()(l.a.mark((function e(){var n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:qt({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=p()(l.a.mark((function e(){var n,o,a,i=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:qt({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=S({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=_({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new q(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new q(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Vt({},s()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var $t=r(65),Jt=r.n($t),Qt=r(66),Xt=r.n(Qt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=te(te({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Yt.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Gt({http:i});return u}}])})); \ No newline at end of file diff --git a/lib/stack/bulkOperation/index.js b/lib/stack/bulkOperation/index.js index 5c65d7d9..6e237461 100644 --- a/lib/stack/bulkOperation/index.js +++ b/lib/stack/bulkOperation/index.js @@ -37,28 +37,59 @@ export function BulkOperation (http, data = {}) { * 'en' * ], * environments: [ - * '{{env_name}}/env_uid}}' + * '{{env_uid}}' * ] * } * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails }) * .then((response) => { console.log(response.notice) }) * + * @example + * // Bulk nested publish + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * { + * environments:["{{env_uid}}","{{env_uid}}"], + * locales:["en-us"], + * items:[ + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * } + * ] + * } + * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails, is_nested: true }) + * .then((response) => { console.log(response.notice) }) + * */ - this.publish = async (params = {}) => { + this.publish = async ({ details, skip_workflow_stage = false, approvals = false, is_nested = false }) => { var httpBody = {} - if (params.details) { - httpBody = cloneDeep(params.details) + if (details) { + httpBody = cloneDeep(details) } const headers = { headers: { ...cloneDeep(this.stackHeaders) } } - if (params.skip_workflow_stage_check) { - headers.headers.skip_workflow_stage_check = params.skip_workflow_stage_check + if (is_nested) { + headers.params = { + nested: true, + event_type: 'bulk' + } + } + if (skip_workflow_stage) { + headers.headers.skip_workflow_stage_check = skip_workflow_stage } - if (params.approvals) { - headers.headers.approvals = params.approvals + if (approvals) { + headers.headers.approvals = approvals } return publishUnpublish(http, '/bulk/publish', httpBody, headers) } @@ -91,28 +122,58 @@ export function BulkOperation (http, data = {}) { * 'en' * ], * environments: [ - * '{{env_name}}/env_uid}}' + * '{{env_uid}}' * ] * } * client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails }) * .then((response) => { console.log(response.notice) }) * + * @example + * // Bulk nested publish + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * { + * environments:["{{env_uid}}","{{env_uid}}"], + * locales:["en-us"], + * items:[ + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * } + * ] + * } + * client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails, is_nested: true }) + * .then((response) => { console.log(response.notice) }) */ - this.unpublish = async (params = {}) => { + this.unpublish = async ({ details, skip_workflow_stage = false, approvals = false, is_nested = false}) => { var httpBody = {} - if (params.details) { - httpBody = cloneDeep(params.details) + if (details) { + httpBody = cloneDeep(details) } const headers = { headers: { ...cloneDeep(this.stackHeaders) } } - if (params.skip_workflow_stage_check) { - headers.headers.skip_workflow_stage_check = params.skip_workflow_stage_check + if (is_nested) { + headers.params = { + nested: true, + event_type: 'bulk' + } + } + if (skip_workflow_stage) { + headers.headers.skip_workflow_stage_check = skip_workflow_stage } - if (params.approvals) { - headers.headers.approvals = params.approvals + if (approvals) { + headers.headers.approvals = approvals } return publishUnpublish(http, '/bulk/unpublish', httpBody, headers) } From 8e0624e1aef4d713b07bf968359509ec2e532a59 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Thu, 26 Aug 2021 14:23:44 +0530 Subject: [PATCH 09/16] fix: :bug: Test case issue resolved. related to Branch --- test/api/asset-test.js | 1 + test/api/branch-test.js | 6 +++--- test/api/branchAlias-test.js | 37 ++++++++++++++++++------------------ test/api/extension-test.js | 1 - test/api/mock/extension.js | 2 +- test/api/role-test.js | 2 +- 6 files changed, 24 insertions(+), 25 deletions(-) diff --git a/test/api/asset-test.js b/test/api/asset-test.js index cf7dc142..1f8975df 100644 --- a/test/api/asset-test.js +++ b/test/api/asset-test.js @@ -93,6 +93,7 @@ describe('Assets api Test', () => { .then((asset) => { asset.title = 'Update title' asset.description = 'Update description' + delete asset.ACL return asset.update() }) .then((asset) => { diff --git a/test/api/branch-test.js b/test/api/branch-test.js index f045adc6..2f50fb86 100644 --- a/test/api/branch-test.js +++ b/test/api/branch-test.js @@ -36,7 +36,7 @@ describe('Branch api Test', () => { expect(response.uid).to.be.equal(branch.uid) expect(response.urlPath).to.be.equal(`/stacks/branches/${branch.uid}`) expect(response.source).to.be.equal(branch.source) - expect(response.alias.length).to.be.equal(0) + expect(response.alias).to.not.equal(undefined) expect(response.delete).to.not.equal(undefined) expect(response.fetch).to.not.equal(undefined) done() @@ -51,7 +51,7 @@ describe('Branch api Test', () => { expect(response.uid).to.be.equal(devBranch.uid) expect(response.urlPath).to.be.equal(`/stacks/branches/${devBranch.uid}`) expect(response.source).to.be.equal(devBranch.source) - expect(response.alias.length).to.be.equal(0) + expect(response.alias).to.not.equal(undefined) expect(response.delete).to.not.equal(undefined) expect(response.fetch).to.not.equal(undefined) done() @@ -66,7 +66,7 @@ describe('Branch api Test', () => { expect(response.uid).to.be.equal(devBranch.uid) expect(response.urlPath).to.be.equal(`/stacks/branches/${devBranch.uid}`) expect(response.source).to.be.equal(devBranch.source) - expect(response.alias.length).to.be.equal(0) + expect(response.alias).to.not.equal(undefined) expect(response.delete).to.not.equal(undefined) expect(response.fetch).to.not.equal(undefined) done() diff --git a/test/api/branchAlias-test.js b/test/api/branchAlias-test.js index 1364cb70..850a1d97 100644 --- a/test/api/branchAlias-test.js +++ b/test/api/branchAlias-test.js @@ -1,4 +1,4 @@ -import { expect } from 'chai' +import { expect, use } from 'chai' import { describe, it, setup } from 'mocha' import { jsonReader } from '../utility/fileOperations/readwrite' import { contentstackClient } from '../utility/ContentstackClient.js' @@ -7,27 +7,13 @@ import { branch } from './mock/branch' var client = {} var stack = {} -describe('Branch api Test', () => { +describe('Branch Alias api Test', () => { setup(() => { const user = jsonReader('loggedinuser.json') stack = jsonReader('stack.json') client = contentstackClient(user.authtoken) }) - it('Branch query should return master branch', done => { - makeBranchAlias() - .fetchAll({ query: { uid: 'master' } }) - .then((response) => { - expect(response.items.length).to.be.equal(1) - var item = response.items[0] - expect(item.urlPath).to.be.equal(`/stacks/branches/master`) - expect(item.delete).to.not.equal(undefined) - expect(item.fetch).to.not.equal(undefined) - done() - }) - .catch(done) - }) - it('Should create Branch Alias', done => { makeBranchAlias(`${branch.uid}_alias`) .createOrUpdate(branch.uid) @@ -35,8 +21,7 @@ describe('Branch api Test', () => { expect(response.uid).to.be.equal(branch.uid) expect(response.urlPath).to.be.equal(`/stacks/branches/${branch.uid}`) expect(response.source).to.be.equal(branch.source) - expect(response.alias.length).to.be.equal(1) - expect(response.alias[0].uid).to.be.equal(`${branch.uid}_alias`) + expect(response.alias).to.be.equal(`${branch.uid}_alias`) expect(response.delete).to.not.equal(undefined) expect(response.fetch).to.not.equal(undefined) done() @@ -44,6 +29,20 @@ describe('Branch api Test', () => { .catch(done) }) + it('Branch query should return master branch', done => { + makeBranchAlias() + .fetchAll({ query: { uid: branch.uid } }) + .then((response) => { + expect(response.items.length).to.be.equal(1) + var item = response.items[0] + expect(item.urlPath).to.be.equal(`/stacks/branches/${branch.uid}`) + expect(item.delete).to.not.equal(undefined) + expect(item.fetch).to.not.equal(undefined) + done() + }) + .catch(done) + }) + it('Should fetch Branch Alias', done => { makeBranchAlias(`${branch.uid}_alias`) .fetch() @@ -51,7 +50,7 @@ describe('Branch api Test', () => { expect(response.uid).to.be.equal(branch.uid) expect(response.urlPath).to.be.equal(`/stacks/branches/${branch.uid}`) expect(response.source).to.be.equal(branch.source) - expect(response.alias.length).to.be.equal(1) + expect(response.alias).to.be.equal(`${branch.uid}_alias`) expect(response.delete).to.not.equal(undefined) expect(response.fetch).to.not.equal(undefined) done() diff --git a/test/api/extension-test.js b/test/api/extension-test.js index 4199f565..01fac1c4 100644 --- a/test/api/extension-test.js +++ b/test/api/extension-test.js @@ -249,7 +249,6 @@ describe('Extension api Test', () => { .then((extension) => { expect(extension.uid).to.be.not.equal(null) expect(extension.title).to.be.equal('Custom widget Upload') - expect(extension.data_type).to.be.equal(customWidgetURL.extension.data_type) expect(extension.type).to.be.equal(customWidgetURL.extension.type) expect(extension.tag).to.be.equal(customWidgetURL.extension.tag) done() diff --git a/test/api/mock/extension.js b/test/api/mock/extension.js index cb93180a..536bbc4a 100644 --- a/test/api/mock/extension.js +++ b/test/api/mock/extension.js @@ -39,7 +39,7 @@ const customWidgetURL = { config: '{}', type: 'widget', scope: { - content_types: ['session'] + content_types: ['single_page'] } } } diff --git a/test/api/role-test.js b/test/api/role-test.js index 76aae35b..38736d23 100644 --- a/test/api/role-test.js +++ b/test/api/role-test.js @@ -55,7 +55,7 @@ describe('Role api test', () => { roleUID = roles.uid expect(roles.name).to.be.equal(role.role.name, 'Role name not match') expect(roles.description).to.be.equal(role.role.description, 'Role description not match') - expect(roles.rules.length).to.be.equal(2, 'Role rule length not match') + expect(roles.rules.length).to.be.equal(3, 'Role rule length not match') done() }) .catch(done) From 623da1a614706c9f51a808365934976c74cf7940 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Mon, 20 Sep 2021 10:35:37 +0530 Subject: [PATCH 10/16] docs: :memo: Added Items docs --- .jsdoc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.jsdoc.json b/.jsdoc.json index f95fc7e8..83199030 100644 --- a/.jsdoc.json +++ b/.jsdoc.json @@ -21,6 +21,7 @@ "lib/stack/bulkOperation/index.js", "lib/stack/extension/index.js", "lib/stack/release/index.js", + "lib/stack/release/items/index.js", "lib/stack/label/index.js", "lib/stack/locale/index.js", "lib/stack/environment/index.js", From 4624377930e1a07dc020bf8b9acd8e93d94f3c1e Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Thu, 21 Oct 2021 17:18:58 +0530 Subject: [PATCH 11/16] refactor: :memo: Security issues in docs --- docdash-template/tmpl/layout.tmpl | 2 +- docdash-template/tmpl/params.tmpl | 10 +- docdash-template/tmpl/properties.tmpl | 10 +- jsdocs/Asset.html | 2 +- jsdocs/BulkOperation.html | 62 ++++++++++-- jsdocs/ContentType.html | 2 +- jsdocs/Contentstack.html | 2 +- jsdocs/ContentstackClient.html | 2 +- jsdocs/DeliveryToken.html | 2 +- jsdocs/Entry.html | 2 +- jsdocs/Environment.html | 2 +- jsdocs/Extension.html | 2 +- jsdocs/Folder.html | 2 +- jsdocs/GlobalField.html | 2 +- jsdocs/Label.html | 2 +- jsdocs/Locale.html | 2 +- jsdocs/Organization.html | 2 +- jsdocs/PublishRules.html | 2 +- jsdocs/Release.html | 2 +- jsdocs/Role.html | 2 +- jsdocs/Stack.html | 2 +- jsdocs/User.html | 2 +- jsdocs/Webhook.html | 2 +- jsdocs/Workflow.html | 2 +- jsdocs/contentstack.js.html | 2 +- jsdocs/contentstackClient.js.html | 2 +- jsdocs/index.html | 2 +- jsdocs/organization_index.js.html | 2 +- jsdocs/query_index.js.html | 2 +- jsdocs/stack_asset_folders_index.js.html | 2 +- jsdocs/stack_asset_index.js.html | 2 +- jsdocs/stack_bulkOperation_index.js.html | 95 +++++++++++++++---- jsdocs/stack_contentType_entry_index.js.html | 2 +- jsdocs/stack_contentType_index.js.html | 2 +- jsdocs/stack_deliveryToken_index.js.html | 2 +- jsdocs/stack_environment_index.js.html | 2 +- jsdocs/stack_extension_index.js.html | 2 +- jsdocs/stack_globalField_index.js.html | 2 +- jsdocs/stack_index.js.html | 2 +- jsdocs/stack_label_index.js.html | 2 +- jsdocs/stack_locale_index.js.html | 2 +- jsdocs/stack_release_index.js.html | 2 +- jsdocs/stack_roles_index.js.html | 2 +- jsdocs/stack_webhook_index.js.html | 2 +- jsdocs/stack_workflow_index.js.html | 2 +- .../stack_workflow_publishRules_index.js.html | 2 +- jsdocs/user_index.js.html | 2 +- 47 files changed, 186 insertions(+), 77 deletions(-) diff --git a/docdash-template/tmpl/layout.tmpl b/docdash-template/tmpl/layout.tmpl index 163db53b..9f8aecd3 100644 --- a/docdash-template/tmpl/layout.tmpl +++ b/docdash-template/tmpl/layout.tmpl @@ -38,7 +38,7 @@ - + diff --git a/docdash-template/tmpl/params.tmpl b/docdash-template/tmpl/params.tmpl index 679b3245..47a63656 100644 --- a/docdash-template/tmpl/params.tmpl +++ b/docdash-template/tmpl/params.tmpl @@ -58,21 +58,21 @@ }); ?> - +
- + - + - + - + diff --git a/docdash-template/tmpl/properties.tmpl b/docdash-template/tmpl/properties.tmpl index bc382631..7c4f898a 100644 --- a/docdash-template/tmpl/properties.tmpl +++ b/docdash-template/tmpl/properties.tmpl @@ -38,21 +38,21 @@ }); ?> -
NameName TypeType AttributesAttributes DefaultDefault Description
+
- + - + - + - + diff --git a/jsdocs/Asset.html b/jsdocs/Asset.html index d989cf57..9e3c7107 100644 --- a/jsdocs/Asset.html +++ b/jsdocs/Asset.html @@ -1354,7 +1354,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BulkOperation.html b/jsdocs/BulkOperation.html index a49bda01..a9f13d29 100644 --- a/jsdocs/BulkOperation.html +++ b/jsdocs/BulkOperation.html @@ -205,7 +205,7 @@

(static) publ -

Example
+
Examples
import * as contentstack from '@contentstack/management'
 const client = contentstack.client()
@@ -226,12 +226,36 @@ 
Example
'en' ], environments: [ - '{{env_name}}/env_uid}}' + '{{env_uid}}' ] } client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails }) .then((response) => { console.log(response.notice) })
+
// Bulk nested publish
+import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+{
+environments:["{{env_uid}}","{{env_uid}}"],
+locales:["en-us"],
+items:[
+{
+  _content_type_uid: '{{content_type_uid}}',
+  uid: '{{entry_uid}}'
+},
+{
+  _content_type_uid: '{{content_type_uid}}',
+  uid: '{{entry_uid}}'
+},
+{
+  _content_type_uid: '{{content_type_uid}}',
+  uid: '{{entry_uid}}'
+}
+]
+}
+client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details:  publishDetails, is_nested: true })
+.then((response) => {  console.log(response.notice) })
+ @@ -386,7 +410,7 @@

(static) un
Source:
@@ -437,7 +461,7 @@

(static) un -

Example
+
Examples
import * as contentstack from '@contentstack/management'
 const client = contentstack.client()
@@ -458,12 +482,36 @@ 
Example
'en' ], environments: [ - '{{env_name}}/env_uid}}' + '{{env_uid}}' ] } client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails }) .then((response) => { console.log(response.notice) })
+
// Bulk nested publish
+import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+{
+environments:["{{env_uid}}","{{env_uid}}"],
+locales:["en-us"],
+items:[
+{
+  _content_type_uid: '{{content_type_uid}}',
+  uid: '{{entry_uid}}'
+},
+{
+  _content_type_uid: '{{content_type_uid}}',
+  uid: '{{entry_uid}}'
+},
+{
+  _content_type_uid: '{{content_type_uid}}',
+  uid: '{{entry_uid}}'
+}
+]
+}
+client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details:  publishDetails, is_nested: true })
+.then((response) => {  console.log(response.notice) })
+ @@ -618,7 +666,7 @@

(static) delet
Source:
@@ -800,7 +848,7 @@

Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentType.html b/jsdocs/ContentType.html index c412a22a..41d15c9d 100644 --- a/jsdocs/ContentType.html +++ b/jsdocs/ContentType.html @@ -1317,7 +1317,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Contentstack.html b/jsdocs/Contentstack.html index babd857a..04ef8308 100644 --- a/jsdocs/Contentstack.html +++ b/jsdocs/Contentstack.html @@ -829,7 +829,7 @@
Examples

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentstackClient.html b/jsdocs/ContentstackClient.html index 1648a22d..77f7f4bc 100644 --- a/jsdocs/ContentstackClient.html +++ b/jsdocs/ContentstackClient.html @@ -1077,7 +1077,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/DeliveryToken.html b/jsdocs/DeliveryToken.html index b37a520e..d5da843c 100644 --- a/jsdocs/DeliveryToken.html +++ b/jsdocs/DeliveryToken.html @@ -763,7 +763,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Entry.html b/jsdocs/Entry.html index f10bada7..ebc8e027 100644 --- a/jsdocs/Entry.html +++ b/jsdocs/Entry.html @@ -1693,7 +1693,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Environment.html b/jsdocs/Environment.html index e02fc324..786700d1 100644 --- a/jsdocs/Environment.html +++ b/jsdocs/Environment.html @@ -766,7 +766,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Extension.html b/jsdocs/Extension.html index a3b9d444..39e14815 100644 --- a/jsdocs/Extension.html +++ b/jsdocs/Extension.html @@ -944,7 +944,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Folder.html b/jsdocs/Folder.html index 66e8a0bf..1fb6d734 100644 --- a/jsdocs/Folder.html +++ b/jsdocs/Folder.html @@ -633,7 +633,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/GlobalField.html b/jsdocs/GlobalField.html index f474cc64..90133b0a 100644 --- a/jsdocs/GlobalField.html +++ b/jsdocs/GlobalField.html @@ -908,7 +908,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Label.html b/jsdocs/Label.html index 2ab57d88..4d832626 100644 --- a/jsdocs/Label.html +++ b/jsdocs/Label.html @@ -855,7 +855,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Locale.html b/jsdocs/Locale.html index 8c1a2df8..05dedf08 100644 --- a/jsdocs/Locale.html +++ b/jsdocs/Locale.html @@ -850,7 +850,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Organization.html b/jsdocs/Organization.html index 73371e97..3c08475f 100644 --- a/jsdocs/Organization.html +++ b/jsdocs/Organization.html @@ -1691,7 +1691,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/PublishRules.html b/jsdocs/PublishRules.html index a661f331..cb4e8da9 100644 --- a/jsdocs/PublishRules.html +++ b/jsdocs/PublishRules.html @@ -287,7 +287,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Release.html b/jsdocs/Release.html index 63d17eb0..e3fcf311 100644 --- a/jsdocs/Release.html +++ b/jsdocs/Release.html @@ -1503,7 +1503,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Role.html b/jsdocs/Role.html index 9ca03592..cc02507c 100644 --- a/jsdocs/Role.html +++ b/jsdocs/Role.html @@ -1125,7 +1125,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Stack.html b/jsdocs/Stack.html index ae0537db..200fb021 100644 --- a/jsdocs/Stack.html +++ b/jsdocs/Stack.html @@ -3967,7 +3967,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/User.html b/jsdocs/User.html index 1202b134..730e7064 100644 --- a/jsdocs/User.html +++ b/jsdocs/User.html @@ -883,7 +883,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Webhook.html b/jsdocs/Webhook.html index 590f5926..181973cd 100644 --- a/jsdocs/Webhook.html +++ b/jsdocs/Webhook.html @@ -1410,7 +1410,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Workflow.html b/jsdocs/Workflow.html index 33896446..bc34a4d2 100644 --- a/jsdocs/Workflow.html +++ b/jsdocs/Workflow.html @@ -1544,7 +1544,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstack.js.html b/jsdocs/contentstack.js.html index 9a431821..7ad075d5 100644 --- a/jsdocs/contentstack.js.html +++ b/jsdocs/contentstack.js.html @@ -216,7 +216,7 @@

contentstack.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstackClient.js.html b/jsdocs/contentstackClient.js.html index 897e4a72..f04f4714 100644 --- a/jsdocs/contentstackClient.js.html +++ b/jsdocs/contentstackClient.js.html @@ -237,7 +237,7 @@

contentstackClient.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/index.html b/jsdocs/index.html index bc39e224..7a0bdc32 100644 --- a/jsdocs/index.html +++ b/jsdocs/index.html @@ -171,7 +171,7 @@

The MIT License (MIT)


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/organization_index.js.html b/jsdocs/organization_index.js.html index dc76de32..cba4ebdf 100644 --- a/jsdocs/organization_index.js.html +++ b/jsdocs/organization_index.js.html @@ -301,7 +301,7 @@

organization/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/query_index.js.html b/jsdocs/query_index.js.html index 4f0e5c28..4b13901b 100644 --- a/jsdocs/query_index.js.html +++ b/jsdocs/query_index.js.html @@ -195,7 +195,7 @@

query/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_folders_index.js.html b/jsdocs/stack_asset_folders_index.js.html index 511e11ae..8e336756 100644 --- a/jsdocs/stack_asset_folders_index.js.html +++ b/jsdocs/stack_asset_folders_index.js.html @@ -162,7 +162,7 @@

stack/asset/folders/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_index.js.html b/jsdocs/stack_asset_index.js.html index 90c6abf2..575f420c 100644 --- a/jsdocs/stack_asset_index.js.html +++ b/jsdocs/stack_asset_index.js.html @@ -324,7 +324,7 @@

stack/asset/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_bulkOperation_index.js.html b/jsdocs/stack_bulkOperation_index.js.html index 9f60dd03..05466630 100644 --- a/jsdocs/stack_bulkOperation_index.js.html +++ b/jsdocs/stack_bulkOperation_index.js.html @@ -92,28 +92,59 @@

stack/bulkOperation/index.js

* 'en' * ], * environments: [ - * '{{env_name}}/env_uid}}' + * '{{env_uid}}' * ] * } * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails }) * .then((response) => { console.log(response.notice) }) * + * @example + * // Bulk nested publish + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * { + * environments:["{{env_uid}}","{{env_uid}}"], + * locales:["en-us"], + * items:[ + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * } + * ] + * } + * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails, is_nested: true }) + * .then((response) => { console.log(response.notice) }) + * */ - this.publish = async (params = {}) => { + this.publish = async ({ details, skip_workflow_stage = false, approvals = false, is_nested = false }) => { var httpBody = {} - if (params.details) { - httpBody = cloneDeep(params.details) + if (details) { + httpBody = cloneDeep(details) } const headers = { headers: { ...cloneDeep(this.stackHeaders) } } - if (params.skip_workflow_stage_check) { - headers.headers.skip_workflow_stage_check = params.skip_workflow_stage_check + if (is_nested) { + headers.params = { + nested: true, + event_type: 'bulk' + } + } + if (skip_workflow_stage) { + headers.headers.skip_workflow_stage_check = skip_workflow_stage } - if (params.approvals) { - headers.headers.approvals = params.approvals + if (approvals) { + headers.headers.approvals = approvals } return publishUnpublish(http, '/bulk/publish', httpBody, headers) } @@ -146,28 +177,58 @@

stack/bulkOperation/index.js

* 'en' * ], * environments: [ - * '{{env_name}}/env_uid}}' + * '{{env_uid}}' * ] * } * client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails }) * .then((response) => { console.log(response.notice) }) * + * @example + * // Bulk nested publish + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * { + * environments:["{{env_uid}}","{{env_uid}}"], + * locales:["en-us"], + * items:[ + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * }, + * { + * _content_type_uid: '{{content_type_uid}}', + * uid: '{{entry_uid}}' + * } + * ] + * } + * client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails, is_nested: true }) + * .then((response) => { console.log(response.notice) }) */ - this.unpublish = async (params = {}) => { + this.unpublish = async ({ details, skip_workflow_stage = false, approvals = false, is_nested = false}) => { var httpBody = {} - if (params.details) { - httpBody = cloneDeep(params.details) + if (details) { + httpBody = cloneDeep(details) } const headers = { headers: { ...cloneDeep(this.stackHeaders) } } - if (params.skip_workflow_stage_check) { - headers.headers.skip_workflow_stage_check = params.skip_workflow_stage_check + if (is_nested) { + headers.params = { + nested: true, + event_type: 'bulk' + } + } + if (skip_workflow_stage) { + headers.headers.skip_workflow_stage_check = skip_workflow_stage } - if (params.approvals) { - headers.headers.approvals = params.approvals + if (approvals) { + headers.headers.approvals = approvals } return publishUnpublish(http, '/bulk/unpublish', httpBody, headers) } @@ -225,7 +286,7 @@

stack/bulkOperation/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_entry_index.js.html b/jsdocs/stack_contentType_entry_index.js.html index e71bff4f..7ce1f61a 100644 --- a/jsdocs/stack_contentType_entry_index.js.html +++ b/jsdocs/stack_contentType_entry_index.js.html @@ -353,7 +353,7 @@

stack/contentType/entry/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_index.js.html b/jsdocs/stack_contentType_index.js.html index a2d053a1..67fef2e3 100644 --- a/jsdocs/stack_contentType_index.js.html +++ b/jsdocs/stack_contentType_index.js.html @@ -275,7 +275,7 @@

stack/contentType/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_deliveryToken_index.js.html b/jsdocs/stack_deliveryToken_index.js.html index 7b80d597..2bb6066f 100644 --- a/jsdocs/stack_deliveryToken_index.js.html +++ b/jsdocs/stack_deliveryToken_index.js.html @@ -178,7 +178,7 @@

stack/deliveryToken/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_environment_index.js.html b/jsdocs/stack_environment_index.js.html index 5e12b5c9..b39820ed 100644 --- a/jsdocs/stack_environment_index.js.html +++ b/jsdocs/stack_environment_index.js.html @@ -183,7 +183,7 @@

stack/environment/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_extension_index.js.html b/jsdocs/stack_extension_index.js.html index 99192817..8dcc9c47 100644 --- a/jsdocs/stack_extension_index.js.html +++ b/jsdocs/stack_extension_index.js.html @@ -256,7 +256,7 @@

stack/extension/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_globalField_index.js.html b/jsdocs/stack_globalField_index.js.html index 71d5db92..8f33dea2 100644 --- a/jsdocs/stack_globalField_index.js.html +++ b/jsdocs/stack_globalField_index.js.html @@ -225,7 +225,7 @@

stack/globalField/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_index.js.html b/jsdocs/stack_index.js.html index 9f2fb996..c09d197e 100644 --- a/jsdocs/stack_index.js.html +++ b/jsdocs/stack_index.js.html @@ -708,7 +708,7 @@

stack/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_label_index.js.html b/jsdocs/stack_label_index.js.html index 5688e601..202a0b08 100644 --- a/jsdocs/stack_label_index.js.html +++ b/jsdocs/stack_label_index.js.html @@ -178,7 +178,7 @@

stack/label/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_locale_index.js.html b/jsdocs/stack_locale_index.js.html index 337734d1..95ba5b76 100644 --- a/jsdocs/stack_locale_index.js.html +++ b/jsdocs/stack_locale_index.js.html @@ -173,7 +173,7 @@

stack/locale/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_release_index.js.html b/jsdocs/stack_release_index.js.html index e5840880..0dabf4ad 100644 --- a/jsdocs/stack_release_index.js.html +++ b/jsdocs/stack_release_index.js.html @@ -313,7 +313,7 @@

stack/release/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_roles_index.js.html b/jsdocs/stack_roles_index.js.html index 9e687ea0..0dc9a3fb 100644 --- a/jsdocs/stack_roles_index.js.html +++ b/jsdocs/stack_roles_index.js.html @@ -231,7 +231,7 @@

stack/roles/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_webhook_index.js.html b/jsdocs/stack_webhook_index.js.html index 5c596776..5f60718c 100644 --- a/jsdocs/stack_webhook_index.js.html +++ b/jsdocs/stack_webhook_index.js.html @@ -308,7 +308,7 @@

stack/webhook/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_index.js.html b/jsdocs/stack_workflow_index.js.html index 0c17a799..23d5d12d 100644 --- a/jsdocs/stack_workflow_index.js.html +++ b/jsdocs/stack_workflow_index.js.html @@ -371,7 +371,7 @@

stack/workflow/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_publishRules_index.js.html b/jsdocs/stack_workflow_publishRules_index.js.html index dbcd0219..82abb758 100644 --- a/jsdocs/stack_workflow_publishRules_index.js.html +++ b/jsdocs/stack_workflow_publishRules_index.js.html @@ -195,7 +195,7 @@

stack/workflow/publishRules/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/user_index.js.html b/jsdocs/user_index.js.html index f5b670bd..be4a8537 100644 --- a/jsdocs/user_index.js.html +++ b/jsdocs/user_index.js.html @@ -225,7 +225,7 @@

user/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Jul 19 2021 13:17:18 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme.
From 79aca535bdaaacae67b4c03fc527435ec3605421 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Tue, 26 Oct 2021 12:18:55 +0530 Subject: [PATCH 12/16] Docs updated --- dist/es-modules/stack/bulkOperation/index.js | 2 +- dist/es5/stack/bulkOperation/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/es-modules/stack/bulkOperation/index.js b/dist/es-modules/stack/bulkOperation/index.js index 99721458..e4962be0 100644 --- a/dist/es-modules/stack/bulkOperation/index.js +++ b/dist/es-modules/stack/bulkOperation/index.js @@ -184,7 +184,7 @@ export function BulkOperation(http) { * } * ] * } - * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails, is_nested: true }) + * client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails, is_nested: true }) * .then((response) => { console.log(response.notice) }) */ diff --git a/dist/es5/stack/bulkOperation/index.js b/dist/es5/stack/bulkOperation/index.js index 4f39de8a..13dfab29 100644 --- a/dist/es5/stack/bulkOperation/index.js +++ b/dist/es5/stack/bulkOperation/index.js @@ -207,7 +207,7 @@ function BulkOperation(http) { * } * ] * } - * client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails, is_nested: true }) + * client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails, is_nested: true }) * .then((response) => { console.log(response.notice) }) */ From e21dfd7a7cfcbb7f1fa1fbd763c0b16b6b383b4d Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Tue, 26 Oct 2021 12:30:03 +0530 Subject: [PATCH 13/16] Docs and packages update --- dist/nativescript/contentstack-management.js | 2 +- dist/node/contentstack-management.js | 15 +- dist/react-native/contentstack-management.js | 2 +- dist/web/contentstack-management.js | 2 +- jsdocs/Asset.html | 16 +- jsdocs/BulkOperation.html | 22 +- jsdocs/ContentType.html | 34 +- jsdocs/Contentstack.html | 12 +- jsdocs/ContentstackClient.html | 34 +- jsdocs/DeliveryToken.html | 4 +- jsdocs/Entry.html | 34 +- jsdocs/Environment.html | 4 +- jsdocs/Extension.html | 10 +- jsdocs/Folder.html | 4 +- jsdocs/GlobalField.html | 10 +- jsdocs/Label.html | 16 +- jsdocs/Locale.html | 16 +- jsdocs/Organization.html | 34 +- jsdocs/PublishRules.html | 4 +- jsdocs/Release.html | 28 +- jsdocs/Role.html | 22 +- jsdocs/Stack.html | 102 +- jsdocs/User.html | 10 +- jsdocs/Webhook.html | 34 +- jsdocs/Workflow.html | 22 +- jsdocs/contentstack.js.html | 4 +- jsdocs/contentstackClient.js.html | 4 +- jsdocs/index.html | 4 +- jsdocs/organization_index.js.html | 4 +- jsdocs/query_index.js.html | 4 +- jsdocs/stack_asset_folders_index.js.html | 4 +- jsdocs/stack_asset_index.js.html | 4 +- jsdocs/stack_bulkOperation_index.js.html | 4 +- jsdocs/stack_contentType_entry_index.js.html | 4 +- jsdocs/stack_contentType_index.js.html | 4 +- jsdocs/stack_deliveryToken_index.js.html | 4 +- jsdocs/stack_environment_index.js.html | 4 +- jsdocs/stack_extension_index.js.html | 4 +- jsdocs/stack_globalField_index.js.html | 4 +- jsdocs/stack_index.js.html | 4 +- jsdocs/stack_label_index.js.html | 4 +- jsdocs/stack_locale_index.js.html | 4 +- jsdocs/stack_release_index.js.html | 4 +- jsdocs/stack_roles_index.js.html | 4 +- jsdocs/stack_webhook_index.js.html | 4 +- jsdocs/stack_workflow_index.js.html | 4 +- .../stack_workflow_publishRules_index.js.html | 4 +- jsdocs/user_index.js.html | 4 +- package-lock.json | 5450 +++++++---------- package.json | 31 +- webpack/webpack.common.js | 17 +- webpack/webpack.nativescript.js | 16 +- webpack/webpack.node.js | 13 +- webpack/webpack.react-native.js | 16 +- webpack/webpack.web.js | 14 +- 55 files changed, 2497 insertions(+), 3645 deletions(-) diff --git a/dist/nativescript/contentstack-management.js b/dist/nativescript/contentstack-management.js index ef037a80..e36447f6 100644 --- a/dist/nativescript/contentstack-management.js +++ b/dist/nativescript/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=171)}([function(t,e,r){var n=r(67);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(137)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(54),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=P(t),n=r.length>0?r[0]:"",a=S("%"+n+"%",e),s=a.name,u=a.value,p=!1,f=a.alias;f&&(n=f[0],w(r,g([0,1],f)));for(var l=1,h=!0;l=r.length){var x=c(u,d);u=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:u[d]}else h=m(u,d),u=u[d];h&&!p&&(y[s]=u)}}return u}},function(t,e,r){"use strict";var n=r(147);t.exports=Function.prototype.bind||n},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13),o=r(9);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e;t.exports=n}).call(this,r(38))},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(41),o=r(35),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(99);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(101),o=r(102),a=r(23),i=r(43),s=r(105),c=r(106),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},function(t,e,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(7),a=r(104),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,r(17)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(36),o=r(44);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(49),o=r(50),a=r(28),i=r(47),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(52))},function(t,e,r){"use strict";var n=r(4),o=r(160),a=r(162),i=r(55),s=r(163),c=r(166),u=r(167),p=r(59);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(p("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(p("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,r){"use strict";var n=r(161);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(138),o=r(139),a=r(140),i=r(142);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(143),o=r(153),a=r(33);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(68),o=r(98),a=r(40),i=r(100),s=r(110),c=r(113),u=r(114),p=r(115),f=r(117),l=r(118),h=r(119),d=r(29),y=r(124),b=r(125),v=r(131),m=r(23),g=r(43),w=r(133),x=r(9),k=r(135),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,S,_,A,E){var H,D=1&r,R=2&r,C=4&r;if(S&&(H=A?S(e,_,A,E):S(e)),void 0!==H)return H;if(!x(e))return e;var T=m(e);if(T){if(H=y(e),!D)return u(e,H)}else{var N=d(e),L="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||L&&!A){if(H=R||L?{}:v(e),!D)return R?f(e,s(H,e)):p(e,i(H,e))}else{if(!P[N])return A?e:{};H=b(e,N,D)}}E||(E=new n);var U=E.get(e);if(U)return U;E.set(e,H),k(e)?e.forEach((function(n){H.add(t(n,r,S,n,e,E))})):w(e)&&e.forEach((function(n,o){H.set(o,t(n,r,S,o,e,E))}));var F=T?void 0:(C?R?h:l:R?O:j)(e);return o(F||e,(function(n,o){F&&(n=e[o=n]),a(H,o,t(n,r,S,o,e,E))})),H}},function(t,e,r){var n=r(11),o=r(74),a=r(75),i=r(76),s=r(77),c=r(78);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(85);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(36),o=r(82),a=r(9),i=r(39),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(83),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(86),o=r(93),a=r(95),i=r(96),s=r(97);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(141);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?x+w:""}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(31),a=r(149),i=r(151),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},function(t,e,r){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=e.Symbol,a=r(146);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===n(o("foo"))&&("symbol"===n(Symbol("bar"))&&a())))}}).call(this,r(38))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==a.call(e))throw new TypeError(n+e);for(var r,i=o.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,i.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,i.concat(o.call(arguments)))},c=Math.max(0,e.length-i.length),u=[],p=0;p-1?o(r):r}},function(t,e,r){"use strict";var n=r(32),o=r(31),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(152).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==T(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",r)}(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(N(a,e)>=0)return"[Circular]";function j(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var P=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,j);return"[Function"+(P?": "+P:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(D(e)){var B=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?B:U(B)}if(function(t){if(!t||"object"!==n(t))return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var z="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var G=q(e,j);return w&&!function(t){for(var e=0;e=0)return!1;return!0}(G)?"["+M(G,w)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return!("[object Error]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=q(e,j);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var J=[];return s.call(e,(function(t,r){J.push(j(r,e,!0)+" => "+j(t,e))})),I("Map",i.call(e),J,w)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return f.call(e,(function(t){Q.push(j(t,e))})),I("Set",p.call(e),Q,w)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return U(j(g.call(e)));if(function(t){return!("[object Boolean]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(y.call(e));if(function(t){return!("[object String]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(String(e)));if(!function(t){return!("[object Date]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=q(e,j),K=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",Z=!K&&_&&Object(e)===e&&_ in e?T(e).slice(8,-1):Y?"Object":"",tt=(K||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Z||Y?"["+[].concat(Z||[],Y||[]).join(": ")+"] ":"");return 0===X.length?tt+"{}":w?tt+"{"+M(X,w)+"}":tt+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function T(t){return b.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(61);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(62),i=r(0),s=r.n(i),c=r(18),u=r(2),p=r.n(u),f=r(1),l=r.n(f);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(63),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=p()(l.a.mark((function r(){var s;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=p()(l.a.mark((function r(){var n;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),f=function(){var r=p()(l.a.mark((function r(){var s,c;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:f}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=p()(l.a.mark((function t(e){var r,n,o,a,i,c,u,p;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(t){var e=t.http,r=t.params;return function(){var t=p()(l.a.mark((function t(n,o){var a,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},s()(r)),s()(this.stackHeaders)),params:x({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,R(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},_=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},A=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i,c=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},s()(this.stackHeaders)),params:x({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,R(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return p()(l.a.mark((function e(){var r,n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:x({},s()(this.stackHeaders)),params:x({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},H=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,R(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function R(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=A(t,"role"),this.delete=E(t),this.fetch=H(t,"role"))):(this.create=S({http:t}),this.fetchAll=D(t,T),this.query=_({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,zt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,F)}function F(t,e){return s()(e.organizations||[]).map((function(e){return new U(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=A(t,"content_type"),this.delete=E(t),this.fetch=H(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new G(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=S({http:t}),this.query=_({http:t,wrapperCollection:X}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(s()(e.content_types)||[]).map((function(r){return new Q(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=A(t,"global_field"),this.delete=E(t),this.fetch=H(t,"global_field")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Z}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=A(t,"token"),this.delete=E(t),this.fetch=H(t,"token")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=A(t,"environment"),this.delete=E(t),this.fetch=H(t,"environment")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset")):this.create=S({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset"),this.replace=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=k(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=_({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new W.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object(V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=A(t,"locale"),this.delete=E(t),this.fetch=H(t,"locale")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:pt})),this}function pt(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var ft=r(64),lt=r.n(ft);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=A(t,"extension"),this.delete=E(t),this.fetch=H(t,"extension")):(this.upload=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=S({http:t}),this.query=_({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new W.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object(V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=A(t,"webhook"),this.delete=E(t),this.fetch=H(t,"webhook"),this.executions=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=A(t,"publishing_rule"),this.delete=E(t),this.fetch=H(t,"publishing_rule")):(this.create=S({http:t}),this.fetchAll=D(t,kt))}function kt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=A(t,"workflow"),this.disable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=H(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=p()(l.a.mark((function e(n){var o,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,kt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=S({http:t}),this.fetchAll=D(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function St(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=p()(l.a.mark((function n(o){var a,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:At({},s()(e.stackHeaders)),data:At({},s()(o)),params:At({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=p()(l.a.mark((function n(o){var a,i;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:At({},s()(e.stackHeaders)),params:At({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,Ht));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=A(t,"release"),this.fetch=H(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw h(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/publish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/unpublish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=A(t,"label"),this.delete=E(t),this.fetch=H(t,"label")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:It}))}function It(t,e){return(s()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new Q(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Ut(t,e)},this.users=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",B(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=p()(l.a.mark((function e(){var n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:qt({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=p()(l.a.mark((function e(){var n,o,a,i=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:qt({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=S({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=_({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new q(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new q(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Vt({},s()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var $t=r(65),Jt=r.n($t),Qt=r(66),Xt=r.n(Qt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=te(te({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Yt.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Gt({http:i});return u}}]); \ No newline at end of file +(()=>{var t={3785:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>se});const o="1.2.4";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,N(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},E=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,N(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},H=function(t){return f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},i()(this.stackHeaders)),params:k({},i()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,N(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function N(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=E(t,"role"),this.delete=H(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,zt));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,I)}function I(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=E(t,"content_type"),this.delete=H(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=E(t,"global_field"),this.delete=H(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=E(t,"token"),this.delete=H(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=E(t,"environment"),this.delete=H(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=E(t,"locale"),this.delete=H(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=E(t,"extension"),this.delete=H(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=E(t,"webhook"),this.delete=H(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,N(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=E(t,"publishing_rule"),this.delete=H(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,kt))}function kt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=E(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=H(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,kt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Nt(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Nt(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Ht));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=E(t,"release"),this.fetch=D(t,"release"),this.delete=H(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Nt(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Ct})),this}function Ct(t,e){return(i()(e.releases)||[]).map((function(r){return new Nt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=E(t,"label"),this.delete=H(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:It}))}function It(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Nt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Mt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Mt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Gt({},i()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=Zt(Zt({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Xt().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=Zt(Zt({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=ie(ie({},e),i()(t))).headers=ie(ie({},t.headers),a);var s=oe(t),c=Vt({http:s});return c}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),x=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],k(r,x([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),x=r(9294),k=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,E,H,D,R){var N,C=1&r,T=2&r,U=4&r;if(E&&(N=D?E(e,H,D,R):E(e)),void 0!==N)return N;if(!x(e))return e;var L=m(e);if(L){if(N=y(e),!C)return u(e,N)}else{var F=d(e),I=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,C);if(F==_||F==S||I&&!D){if(N=T||I?{}:v(e),!C)return T?l(e,s(N,e)):p(e,i(N,e))}else{if(!A[F])return D?e:{};N=b(e,F,C)}}R||(R=new n);var q=R.get(e);if(q)return q;R.set(e,N),k(e)?e.forEach((function(n){N.add(t(n,r,E,n,e,R))})):w(e)&&e.forEach((function(n,o){N.set(o,t(n,r,E,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(N,o,t(n,r,E,o,e,R))})),N}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,l=function(t,e){p.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,f,h,y,b,v,m,g,w,x){var k,j=e;if(x.has(e))throw new RangeError("Cyclic object value");if("function"==typeof f?j=f(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,S=[];if(void 0===j)return S;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(f))O=f;else{var P=Object.keys(j);O=h?P.sort(h):P}for(var _=0;_0?x+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(H([])));k&&k!==r&&o.call(k,i)&&(w=k);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function H(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:H(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),S=r(7165).custom,P=S&&D(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==C(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(N(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!N(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function S(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return N(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,S);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var J=B(e,S);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,S);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(S(r,e,!0)+" => "+S(t,e))})),q("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(S(t,e))})),q("Set",p.call(e),K,j)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return I("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return I("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return I("WeakRef");if(function(t){return!("[object Number]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(S(g.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(String(e)));if(!function(t){return!("[object Date]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,S),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?C(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function N(t,e){return R.call(t,e)}function C(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function I(t){return t+" { ? }"}function q(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#USER","/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(3785);module.exports=n})(); \ No newline at end of file diff --git a/dist/node/contentstack-management.js b/dist/node/contentstack-management.js index 5f13d037..b215ec2c 100644 --- a/dist/node/contentstack-management.js +++ b/dist/node/contentstack-management.js @@ -1,13 +1,2 @@ -module.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=204)}([function(e,t,n){var a=n(80);e.exports=function(e){return a(e,5)}},function(e,t,n){e.exports=n(150)},function(e,t){function n(e,t,n,a,o,i,r){try{var s=e[i](r),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(a,o)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise((function(o,i){var r=e.apply(t,a);function s(e){n(r,o,i,s,c,"next",e)}function c(e){n(r,o,i,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=n(65),i=Object.prototype.toString;function r(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===a(e)}function p(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!==a(e)&&(e=[e]),r(e))for(var n=0,o=e.length;n1&&"boolean"!=typeof t)throw new r('"allowMissing" argument must be a boolean');var n=_(e),a=n.length>0?n[0]:"",i=S("%"+a+"%",t),s=i.name,p=i.value,u=!1,l=i.alias;l&&(a=l[0],g(n,y([0,1],l)));for(var d=1,m=!0;d=n.length){var w=c(p,f);p=(m=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:p[f]}else m=b(p,f),p=p[f];m&&!u&&(v[s]=p)}}return p}},function(e,t,n){"use strict";var a=n(170);e.exports=Function.prototype.bind||a},function(e,t,n){"use strict";var a=String.prototype.replace,o=/%20/g,i="RFC1738",r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return a.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:r}},function(e,t,n){"use strict";var a=n(4);function o(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(a.isURLSearchParams(t))i=t.toString();else{var r=[];a.forEach(t,(function(e,t){null!=e&&(a.isArray(e)?t+="[]":e=[e],a.forEach(e,(function(e){a.isDate(e)?e=e.toISOString():a.isObject(e)&&(e=JSON.stringify(e)),r.push(o(t)+"="+o(e))})))})),i=r.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,n){"use strict";var a=n(69);e.exports=function(e,t,n,o,i){var r=new Error(e);return a(r,t,n,o,i)}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var a=n(14),o=n(9);e.exports=function(e){if(!o(e))return!1;var t=a(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){function n(e){return(n="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})(e)}var a="object"==("undefined"==typeof global?"undefined":n(global))&&global&&global.Object===Object&&global;e.exports=a},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var a=n(46),o=n(41),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var r=e[t];i.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||a(e,t,n)}},function(e,t,n){var a=n(112);e.exports=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var a=n(114),o=n(115),i=n(24),r=n(48),s=n(118),c=n(119),p=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),l=!n&&!u&&r(e),d=!n&&!u&&!l&&c(e),m=n||u||l||d,f=m?a(e.length,String):[],v=f.length;for(var x in e)!t&&!p.call(e,x)||m&&("length"==x||l&&("offset"==x||"parent"==x)||d&&("buffer"==x||"byteLength"==x||"byteOffset"==x)||s(x,v))||f.push(x);return f}},function(e,t,n){(function(e){function a(e){return(a="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})(e)}var o=n(7),i=n(117),r="object"==a(t)&&t&&!t.nodeType&&t,s=r&&"object"==a(e)&&e&&!e.nodeType&&e,c=s&&s.exports===r?o.Buffer:void 0,p=(c?c.isBuffer:void 0)||i;e.exports=p}).call(this,n(18)(e))},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var a=n(42),o=n(49);e.exports=function(e){return null!=e&&o(e.length)&&!a(e)}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var a=n(54),o=n(55),i=n(29),r=n(52),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)a(t,i(e)),e=o(e);return t}:r;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,a=t.length,o=e.length;++nt?1:0}e.exports=function(e,t,n,r){var s=o(e,n);return a(e,t,s,(function n(o,i){o?r(o,i):(s.index++,s.index<(s.keyedList||e).length?a(e,t,s,n):r(null,s.results))})),i.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,t){return-1*r(e,t)}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=n(38),i=Object.prototype.hasOwnProperty,r=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},a=0;a1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var a=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||r===o.RFC1738&&(40===l||41===l)?p+=c.charAt(u):l<128?p+=s[l]:l<2048?p+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?p+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),p+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return p},isBuffer:function(e){return!(!e||"object"!==a(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(r(e)){for(var n=[],a=0;a=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),a.forEach(["post","put","patch"],(function(e){c.headers[e]=a.merge(i)})),e.exports=c},function(e,t,n){"use strict";var a=n(40);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(a("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,o){return e.config=t,n&&(e.code=n),e.request=a,e.response=o,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}},e}},function(e,t,n){"use strict";var a=n(185),o=n(186);e.exports=function(e,t){return e&&!a(t)?o(e,t):t}},function(e,t,n){function a(e){return(a="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})(e)}var o=n(35),i=o.URL,r=n(33),s=n(34),c=n(32).Writable,p=n(190),u=n(191),l=Object.create(null);["abort","aborted","connect","error","socket","timeout"].forEach((function(e){l[e]=function(t,n,a){this._redirectable.emit(e,t,n,a)}}));var d=j("ERR_FR_REDIRECTION_FAILURE",""),m=j("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),f=j("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),v=j("ERR_STREAM_WRITE_AFTER_END","write after end");function x(e,t){c.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 h(e,t){clearTimeout(e._timeout),e._timeout=setTimeout((function(){e.emit("timeout")}),t)}function b(){clearTimeout(this._timeout)}function y(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(a){var r=a+":",s=n[r]=e[a],c=t[a]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,a,s){if("string"==typeof e){var c=e;try{e=w(new i(c))}catch(t){e=o.parse(c)}}else i&&e instanceof i?e=w(e):(s=a,a=e,e={protocol:r});return"function"==typeof a&&(s=a,a=null),(a=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,a)).nativeProtocols=n,p.equal(a.protocol,r,"protocol mismatch"),u("options",a),new x(a,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var a=c.request(e,t,n);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})})),t}function g(){}function w(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 k(e,t){var n;for(var a in t)e.test(a)&&(n=t[a],delete t[a]);return n}function j(e,t){function n(e){Error.captureStackTrace(this,this.constructor),this.message=e||t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}x.prototype=Object.create(c.prototype),x.prototype.write=function(e,t,n){if(this._ending)throw new v;if(!("string"==typeof e||"object"===a(e)&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof 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 f),this.abort()):n&&n()},x.prototype.end=function(e,t,n){if("function"==typeof e?(n=e,e=t=null):"function"==typeof t&&(n=t,t=null),e){var a=this,o=this._currentRequest;this.write(e,t,(function(){a._ended=!0,o.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},x.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},x.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},x.prototype.setTimeout=function(e,t){if(t&&this.once("timeout",t),this.socket)h(this,e);else{var n=this;this._currentRequest.once("socket",(function(){h(n,e)}))}return this.once("response",b),this.once("error",b),this},["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){x.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(x.prototype,e,{get:function(){return this._currentRequest[e]}})})),x.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))}},x.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(t){if(this._options.agents){var n=e.substr(0,e.length-1);this._options.agent=this._options.agents[n]}var a=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i in this._currentUrl=o.format(this._options),a._redirectable=this,l)i&&a.on(i,l[i]);if(this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(t){if(a===s._currentRequest)if(t)s.emit("error",t);else if(r=300&&t<400){if(this._currentRequest.removeAllListeners(),this._currentRequest.on("error",g),this._currentRequest.abort(),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new m);((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var a=k(/^host$/i,this._options.headers)||o.parse(this._currentUrl).hostname,i=o.resolve(this._currentUrl,n);u("redirecting to",i),this._isRedirect=!0;var r=o.parse(i);if(Object.assign(this._options,r),r.hostname!==a&&k(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new d("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=y({http:r,https:s}),e.exports.wrap=y},function(e,t,n){function a(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var a=n(161),o=n(162),i=n(163),r=n(165);e.exports=function(e,t){return a(e)||o(e,t)||i(e,t)||r()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var a=n(166),o=n(176),i=n(38);e.exports={formats:i,parse:o,stringify:a}},function(e,t,n){var a=n(81),o=n(111),i=n(45),r=n(113),s=n(123),c=n(126),p=n(127),u=n(128),l=n(130),d=n(131),m=n(132),f=n(30),v=n(137),x=n(138),h=n(144),b=n(24),y=n(48),g=n(146),w=n(9),k=n(148),j=n(23),O=n(28),_={};_["[object Arguments]"]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_["[object Object]"]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_["[object Function]"]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,S,P,E,A){var C,z=1&n,q=2&n,R=4&n;if(S&&(C=E?S(t,P,E,A):S(t)),void 0!==C)return C;if(!w(t))return t;var H=b(t);if(H){if(C=v(t),!z)return p(t,C)}else{var F=f(t),T="[object Function]"==F||"[object GeneratorFunction]"==F;if(y(t))return c(t,z);if("[object Object]"==F||"[object Arguments]"==F||T&&!E){if(C=q||T?{}:h(t),!z)return q?l(t,s(C,t)):u(t,r(C,t))}else{if(!_[F])return E?t:{};C=x(t,F,z)}}A||(A=new a);var D=A.get(t);if(D)return D;A.set(t,C),k(t)?t.forEach((function(a){C.add(e(a,n,S,a,t,A))})):g(t)&&t.forEach((function(a,o){C.set(o,e(a,n,S,o,t,A))}));var L=H?void 0:(R?q?m:d:q?O:j)(t);return o(L||t,(function(a,o){L&&(a=t[o=a]),i(C,o,e(a,n,S,o,t,A))})),C}},function(e,t,n){var a=n(12),o=n(87),i=n(88),r=n(89),s=n(90),c=n(91);function p(e){var t=this.__data__=new a(e);this.size=t.size}p.prototype.clear=o,p.prototype.delete=i,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var a=n(13),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=a(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var a=n(13);e.exports=function(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var a=n(13);e.exports=function(e){return a(this.__data__,e)>-1}},function(e,t,n){var a=n(13);e.exports=function(e,t){var n=this.__data__,o=a(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var a=n(12);e.exports=function(){this.__data__=new a,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var a=n(12),o=n(21),i=n(98);e.exports=function(e,t){var n=this.__data__;if(n instanceof a){var r=n.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var a=n(42),o=n(95),i=n(9),r=n(44),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(a(e)?d:s).test(r(e))}},function(e,t,n){var a=n(22),o=Object.prototype,i=o.hasOwnProperty,r=o.toString,s=a?a.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var a=!0}catch(e){}var o=r.call(e);return a&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var a,o=n(96),i=(a=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var a=n(7)["__core-js_shared__"];e.exports=a},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var a=n(99),o=n(106),i=n(108),r=n(109),s=n(110);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e=0;--o){var i=this.tryEntries[o],r=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var o=a.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(18)(e))},function(e,t,n){var a=n(11),o=n(32).Stream,i=n(152);function r(){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=r,a.inherits(r,o),r.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.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},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.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)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},function(e,t,n){var a=n(32).Stream,o=n(11);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,o.inherits(i,a),i.create=function(e,t){var n=new this;for(var a in t=t||{})n[a]=t[a];n.source=e;var o=e.emit;return e.emit=function(){return n._handleEmit(arguments),o.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=a.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))}}},function(e,t,n){"use strict"; -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */var a,o,i,r=n(154),s=n(57).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&r[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},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 a=t.charset(n);a&&(n+="; charset="+a.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),a=n&&t.extensions[n[1].toLowerCase()];if(!a||!a.length)return!1;return a[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);if(!n)return!1;return t.types[n]||!1},t.types=Object.create(null),a=t.extensions,o=t.types,i=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var t=r[e],n=t.extensions;if(n&&n.length){a[e]=n;for(var s=0;su||p===u&&"application/"===o[c].substr(0,12)))continue}o[c]=e}}}))},function(e,t,n){ -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * MIT Licensed - */ -e.exports=n(155)},function(e){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/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/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/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},"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/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/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":{"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},"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/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/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/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"},"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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"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.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.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.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.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.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.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.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.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.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.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.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.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},"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-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"},"image/avcs":{"source":"iana"},"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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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/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.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/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/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}}')},function(e,t,n){e.exports={parallel:n(157),serial:n(159),serialOrdered:n(63)}},function(e,t,n){var a=n(58),o=n(61),i=n(62);e.exports=function(e,t,n){var r=o(e);for(;r.index<(r.keyedList||e).length;)a(e,t,r,(function(e,t){e?n(e,t):0!==Object.keys(r.jobs).length||n(null,r.results)})),r.index++;return i.bind(r,n)}},function(e,t){function n(e){return(n="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})(e)}e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":n(process))&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},function(e,t,n){var a=n(63);e.exports=function(e,t,n){return a(e,t,null,n)}},function(e,t){e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,o,i=[],r=!0,s=!1;try{for(n=n.call(e);!(r=(a=n.next()).done)&&(i.push(a.value),!t||i.length!==t);r=!0);}catch(e){s=!0,o=e}finally{try{r||null==n.return||n.return()}finally{if(s)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var a=n(164);e.exports=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n0?j.join(",")||null:void 0}];else if(p(d))O=d;else{var S=Object.keys(j);O=m?S.sort(m):S}for(var P=0;P0?w+g:""}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=n(36),i=n(172),r=n(174),s=o("%TypeError%"),c=o("%WeakMap%",!0),p=o("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),m=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),v=i("Map.prototype.has",!0),x=function(e,t){for(var n,a=e;null!==(n=a.next);a=n)if(n.key===t)return a.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 s("Side channel does not contain "+r(e))},get:function(o){if(c&&o&&("object"===a(o)||"function"==typeof o)){if(e)return u(e,o)}else if(p){if(t)return m(t,o)}else if(n)return function(e,t){var n=x(e,t);return n&&n.value}(n,o)},has:function(o){if(c&&o&&("object"===a(o)||"function"==typeof o)){if(e)return d(e,o)}else if(p){if(t)return v(t,o)}else if(n)return function(e,t){return!!x(e,t)}(n,o);return!1},set:function(o,i){c&&o&&("object"===a(o)||"function"==typeof o)?(e||(e=new c),l(e,o,i)):p?(t||(t=new p),f(t,o,i)):(n||(n={key:{},next:null}),function(e,t,n){var a=x(e,t);a?a.value=n:e.next={key:t,next:e.next,value:n}}(n,o,i))}};return o}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}var o=global.Symbol,i=n(169);e.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===a(o("foo"))&&("symbol"===a(Symbol("bar"))&&i())))}},function(e,t,n){"use strict";function a(e){return(a="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})(e)}e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===a(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 i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(e,t,n){"use strict";var a="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError(a+t);for(var n,r=o.call(arguments,1),s=function(){if(this instanceof n){var a=t.apply(this,r.concat(o.call(arguments)));return Object(a)===a?a:this}return t.apply(e,r.concat(o.call(arguments)))},c=Math.max(0,t.length-r.length),p=[],u=0;u-1?o(n):n}},function(e,t,n){"use strict";var a=n(37),o=n(36),i=o("%Function.prototype.apply%"),r=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||a.call(r,i),c=o("%Object.getOwnPropertyDescriptor%",!0),p=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){var t=s(a,r,arguments);if(c&&p){var n=c(t,"length");n.configurable&&p(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var l=function(){return s(a,i,arguments)};p?p(e.exports,"apply",{value:l}):e.exports.apply=l},function(e,t,n){function a(e){return(a="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})(e)}var o="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=o&&i&&"function"==typeof i.get?i.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&p&&"function"==typeof p.get?p.get:null,l=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,v=Boolean.prototype.valueOf,x=Object.prototype.toString,h=Function.prototype.toString,b=String.prototype.match,y="function"==typeof BigInt?BigInt.prototype.valueOf:null,g=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===a(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),_=n(175).custom,S=_&&z(_)?_:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function E(e,t,n){var a="double"===(n.quoteStyle||t)?'"':"'";return a+e+a}function A(e){return String(e).replace(/"/g,""")}function C(e){return!("[object Array]"!==H(e)||P&&"object"===a(e)&&P in e)}function z(e){if(k)return e&&"object"===a(e)&&e instanceof Symbol;if("symbol"===a(e))return!0;if(!e||"object"!==a(e)||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,i){var c=n||{};if(R(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(R(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=!R(c,"customInspect")||c.customInspect;if("boolean"!=typeof p&&"symbol"!==p)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(R(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var a=t.length-n.maxStringLength,o="... "+a+" more character"+(a>1?"s":"");return e(t.slice(0,n.maxStringLength),n)+o}return E(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,T),"single",n)}(t,c);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var x=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=x&&x>0&&"object"===a(t))return C(t)?"[Array]":"[Object]";var g=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}(c,o);if(void 0===i)i=[];else if(F(i,t)>=0)return"[Circular]";function j(t,n,a){if(n&&(i=i.slice()).push(n),a){var r={depth:c.depth};return R(c,"quoteStyle")&&(r.quoteStyle=c.quoteStyle),e(t,r,o+1,i)}return e(t,c,o+1,i)}if("function"==typeof t){var _=function(e){if(e.name)return e.name;var t=b.call(h.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),q=U(t,j);return"[Function"+(_?": "+_:" (anonymous)")+"]"+(q.length>0?" { "+q.join(", ")+" }":"")}if(z(t)){var I=k?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(t);return"object"!==a(t)||k?I:D(I)}if(function(e){if(!e||"object"!==a(e))return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var M="<"+String(t.nodeName).toLowerCase(),W=t.attributes||[],G=0;G"}if(C(t)){if(0===t.length)return"[]";var V=U(t,j);return g&&!function(e){for(var t=0;t=0)return!1;return!0}(V)?"["+B(V,g)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||P&&"object"===a(e)&&P in e)}(t)){var $=U(t,j);return 0===$.length?"["+String(t)+"]":"{ ["+String(t)+"] "+$.join(", ")+" }"}if("object"===a(t)&&p){if(S&&"function"==typeof t[S])return t[S]();if("symbol"!==p&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!==a(e))return!1;try{r.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var J=[];return s.call(t,(function(e,n){J.push(j(n,t,!0)+" => "+j(e,t))})),N("Map",r.call(t),J,g)}if(function(e){if(!u||!e||"object"!==a(e))return!1;try{u.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var K=[];return l.call(t,(function(e){K.push(j(e,t))})),N("Set",u.call(t),K,g)}if(function(e){if(!d||!e||"object"!==a(e))return!1;try{d.call(e,d);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return L("WeakMap");if(function(e){if(!m||!e||"object"!==a(e))return!1;try{m.call(e,m);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return L("WeakSet");if(function(e){if(!f||!e||"object"!==a(e))return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return L("WeakRef");if(function(e){return!("[object Number]"!==H(e)||P&&"object"===a(e)&&P in e)}(t))return D(j(Number(t)));if(function(e){if(!e||"object"!==a(e)||!y)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return D(j(y.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||P&&"object"===a(e)&&P in e)}(t))return D(v.call(t));if(function(e){return!("[object String]"!==H(e)||P&&"object"===a(e)&&P in e)}(t))return D(j(String(t)));if(!function(e){return!("[object Date]"!==H(e)||P&&"object"===a(e)&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==H(e)||P&&"object"===a(e)&&P in e)}(t)){var Y=U(t,j),Q=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,X=t instanceof Object?"":"null prototype",Z=!Q&&P&&Object(t)===t&&P in t?H(t).slice(8,-1):X?"Object":"",ee=(Q||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(Z||X?"["+[].concat(Z||[],X||[]).join(": ")+"] ":"");return 0===Y.length?ee+"{}":g?ee+"{"+B(Y,g)+"}":ee+"{ "+Y.join(", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function R(e,t){return q.call(e,t)}function H(e){return x.call(e)}function F(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,a=e.length;n-1?e.split(","):e},p=function(e,t,n,a){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),p=s?i.slice(0,s.index):i,u=[];if(p){if(!n.plainObjects&&o.call(Object.prototype,p)&&!n.allowPrototypes)return;u.push(p)}for(var l=0;n.depth>0&&null!==(s=r.exec(i))&&l=0;--i){var r,s=e[i];if("[]"===s&&n.parseArrays)r=[].concat(o);else{r=n.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);n.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(r=[])[u]=o:r[p]=o:r={0:o}}o=r}return o}(u,t,n,a)}};e.exports=function(e,t){var n=function(e){if(!e)return r;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?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:r.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||a.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,p={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,l),m=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(x=i(x)?[x]:x),o.call(p,v)?p[v]=a.combine(p[v],x):p[v]=x}return p}(e,n):e,l=n.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},function(e,t,n){"use strict";var a=n(4);e.exports=a.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var a=e;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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=o(window.location.href),function(t){var n=a.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var a=n(4),o=n(68),i=n(70),r=n(39),s=n(33),c=n(34),p=n(71).http,u=n(71).https,l=n(35),d=n(199),m=n(200),f=n(40),v=n(69),x=/https:?/;e.exports=function(e){return new Promise((function(t,n){var h=function(e){t(e)},b=function(e){n(e)},y=e.data,g=e.headers;if(g["User-Agent"]||g["user-agent"]||(g["User-Agent"]="axios/"+m.version),y&&!a.isStream(y)){if(Buffer.isBuffer(y));else if(a.isArrayBuffer(y))y=Buffer.from(new Uint8Array(y));else{if(!a.isString(y))return b(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));y=Buffer.from(y,"utf-8")}g["Content-Length"]=y.length}var w=void 0;e.auth&&(w=(e.auth.username||"")+":"+(e.auth.password||""));var k=i(e.baseURL,e.url),j=l.parse(k),O=j.protocol||"http:";if(!w&&j.auth){var _=j.auth.split(":");w=(_[0]||"")+":"+(_[1]||"")}w&&delete g.Authorization;var S=x.test(O),P=S?e.httpsAgent:e.httpAgent,E={path:r(j.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:g,agent:P,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};e.socketPath?E.socketPath=e.socketPath:(E.hostname=j.hostname,E.port=j.port);var A,C=e.proxy;if(!C&&!1!==C){var z=O.slice(0,-1)+"_proxy",q=process.env[z]||process.env[z.toUpperCase()];if(q){var R=l.parse(q),H=process.env.no_proxy||process.env.NO_PROXY,F=!0;if(H)F=!H.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&j.hostname.substr(j.hostname.length-e.length)===e||j.hostname===e))}));if(F&&(C={host:R.hostname,port:R.port,protocol:R.protocol},R.auth)){var T=R.auth.split(":");C.auth={username:T[0],password:T[1]}}}}C&&(E.headers.host=j.hostname+(j.port?":"+j.port:""),function e(t,n,a){if(t.hostname=n.host,t.host=n.host,t.port=n.port,t.path=a,n.auth){var o=Buffer.from(n.auth.username+":"+n.auth.password,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+o}t.beforeRedirect=function(t){t.headers.host=t.host,e(t,n,t.href)}}(E,C,O+"//"+j.hostname+(j.port?":"+j.port:"")+E.path));var D=S&&(!C||x.test(C.protocol));e.transport?A=e.transport:0===e.maxRedirects?A=D?c:s:(e.maxRedirects&&(E.maxRedirects=e.maxRedirects),A=D?u:p),e.maxBodyLength>-1&&(E.maxBodyLength=e.maxBodyLength);var L=A.request(E,(function(t){if(!L.aborted){var n=t,i=t.req||L;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 r={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:i};if("stream"===e.responseType)r.data=n,o(h,b,r);else{var s=[];n.on("data",(function(t){s.push(t),e.maxContentLength>-1&&Buffer.concat(s).length>e.maxContentLength&&(n.destroy(),b(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,i)))})),n.on("error",(function(t){L.aborted||b(v(t,e,null,i))})),n.on("end",(function(){var t=Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=a.stripBOM(t))),r.data=t,o(h,b,r)}))}}}));L.on("error",(function(t){L.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||b(v(t,e,null,L))})),e.timeout&&L.setTimeout(e.timeout,(function(){L.abort(),b(f("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",L))})),e.cancelToken&&e.cancelToken.promise.then((function(e){L.aborted||(L.abort(),b(e))})),a.isStream(y)?y.on("error",(function(t){b(v(t,e,null,L))})).pipe(L):L.end(y)}))}},function(e,t){e.exports=require("assert")},function(e,t,n){var a;try{a=n(192)("follow-redirects")}catch(e){a=function(){}}e.exports=a},function(e,t,n){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(193):e.exports=n(195)},function(e,t,n){var a;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;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var a=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(o=a))})),t.splice(o,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){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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=(a=!1,function(){a||(a=!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||function(){},e.exports=n(72)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){function n(e){return(n="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})(e)}var a=1e3,o=6e4,i=60*o,r=24*i;function s(e,t,n,a){var o=t>=1.5*n;return Math.round(e/n)+" "+a+(o?"s":"")}e.exports=function(e,t){t=t||{};var c=n(e);if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\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(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*r;case"hours":case"hour":case"hrs":case"hr":case"h":return n*i;case"minutes":case"minute":case"mins":case"min":case"m":return n*o;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=r)return s(e,t,r,"day");if(t>=i)return s(e,t,i,"hour");if(t>=o)return s(e,t,o,"minute");if(t>=a)return s(e,t,a,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=r)return Math.round(e/r)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=o)return Math.round(e/o)+"m";if(t>=a)return Math.round(e/a)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){var a=n(196),o=n(11);t.init=function(e){e.inspectOpts={};for(var n=Object.keys(t.inspectOpts),a=0;a=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()})),a=process.env[t];return a=!!/^(yes|on|true|enabled)$/i.test(a)||!/^(no|off|false|disabled)$/i.test(a)&&("null"===a?null:Number(a)),e[n]=a,e}),{}),e.exports=n(72)(t);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},function(e,t){e.exports=require("tty")},function(e,t,n){"use strict";var a,o=n(19),i=n(198),r=process.env;function s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==a)return 0;var t=a?1:0;if("win32"===process.platform){var n=o.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:t;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,t)}(e))}i("no-color")||i("no-colors")||i("color=false")?a=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=!0),"FORCE_COLOR"in r&&(a=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},function(e,t,n){"use strict";e.exports=function(e,t){t=t||process.argv;var n=e.startsWith("-")?"":1===e.length?"-":"--",a=t.indexOf(n+e),o=t.indexOf("--");return-1!==a&&(-1===o||a2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,e);var i=t.data||{};a&&(i.stackHeaders=a),this.items=o(n,i),void 0!==i.schema&&(this.schema=i.schema),void 0!==i.content_type&&(this.content_type=i.content_type),void 0!==i.count&&(this.count=i.count),void 0!==i.notice&&(this.notice=i.notice)};function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function w(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,i={};a&&(i.headers=a);var r=null;n&&(n.content_type_uid&&(r=n.content_type_uid,delete n.content_type_uid),i.params=w({},s()(n)));var c=function(){var n=m()(v.a.mark((function n(){var s;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.get(t,i);case 3:if(!(s=n.sent).data){n.next=9;break}return r&&(s.data.content_type_uid=r),n.abrupt("return",new y(s,e,a,o));case 9:throw x(s);case 10:n.next=15;break;case 12:throw n.prev=12,n.t0=n.catch(0),x(n.t0);case 15:case"end":return n.stop()}}),n,null,[[0,12]])})));return function(){return n.apply(this,arguments)}}(),p=function(){var n=m()(v.a.mark((function n(){var a;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i.params=w(w({},i.params),{},{count:!0}),n.prev=1,n.next=4,e.get(t,i);case 4:if(!(a=n.sent).data){n.next=9;break}return n.abrupt("return",a.data);case 9:throw x(a);case 10:n.next=15;break;case 12:throw n.prev=12,n.t0=n.catch(1),x(n.t0);case 15:case"end":return n.stop()}}),n,null,[[1,12]])})));return function(){return n.apply(this,arguments)}}(),u=function(){var n=m()(v.a.mark((function n(){var s,c;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(s=i).params.limit=1,n.prev=2,n.next=5,e.get(t,s);case 5:if(!(c=n.sent).data){n.next=11;break}return r&&(c.data.content_type_uid=r),n.abrupt("return",new y(c,e,a,o));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(){return n.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function O(e){for(var t=1;t4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==i&&(a.locale=i),null!==r&&(a.version=r),null!==s&&(a.scheduled_at=s),e.prev=6,e.next=9,t.post(n,a,o);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(t,n,a,o){return e.apply(this,arguments)}}(),E=function(){var e=m()(v.a.mark((function e(t){var n,a,o,i,r,c,p,u;return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.http,a=t.urlPath,o=t.stackHeaders,i=t.formData,r=t.params,c=t.method,p=void 0===c?"POST":c,u={headers:O(O({},r),s()(o))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",n.post(a,i,u));case 6:return e.abrupt("return",n.put(a,i,u));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.http,n=e.params;return function(){var e=m()(v.a.mark((function e(a,o){var i,r;return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={headers:O(O({},s()(n)),s()(this.stackHeaders)),params:O({},s()(o))}||{},e.prev=1,e.next=4,t.post(this.urlPath,a,i);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(t,F(r,this.stackHeaders,this.content_type_uid)));case 9:throw x(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(t,n){return e.apply(this,arguments)}}()},C=function(e){var t=e.http,n=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(t,this.urlPath,e,this.stackHeaders,n)}},z=function(e,t){return m()(v.a.mark((function n(){var a,o,i,r,c=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(i=s()(this)).stackHeaders,delete i.urlPath,delete i.uid,delete i.org_uid,delete i.api_key,delete i.created_at,delete i.created_by,delete i.deleted_at,delete i.updated_at,delete i.updated_by,delete i.updated_at,o[t]=i,n.prev=15,n.next=18,e.put(this.urlPath,o,{headers:O({},s()(this.stackHeaders)),params:O({},s()(a))});case 18:if(!(r=n.sent).data){n.next=23;break}return n.abrupt("return",new this.constructor(e,F(r,this.stackHeaders,this.content_type_uid)));case 23:throw x(r);case 24:n.next=29;break;case 26:throw n.prev=26,n.t0=n.catch(15),x(n.t0);case 29:case"end":return n.stop()}}),n,this,[[15,26]])})))},q=function(e){return m()(v.a.mark((function t(){var n,a,o,i=arguments;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,a={headers:O({},s()(this.stackHeaders)),params:O({},s()(n))}||{},t.next=5,e.delete(this.urlPath,a);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,this,[[1,13]])})))},R=function(e,t){return m()(v.a.mark((function n(){var a,o,i,r=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},n.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(a))}||{},n.next=5,e.get(this.urlPath,o);case 5:if(!(i=n.sent).data){n.next=11;break}return"entry"===t&&(i.data[t].content_type=i.data.content_type,i.data[t].schema=i.data.schema),n.abrupt("return",new this.constructor(e,F(i,this.stackHeaders,this.content_type_uid)));case 11:throw x(i);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(1),x(n.t0);case 17:case"end":return n.stop()}}),n,this,[[1,14]])})))},H=function(e,t){return m()(v.a.mark((function n(){var a,o,i,r=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),a&&(o.params=O({},s()(a))),n.prev=4,n.next=7,e.get(this.urlPath,o);case 7:if(!(i=n.sent).data){n.next=12;break}return n.abrupt("return",new y(i,e,this.stackHeaders,t));case 12:throw x(i);case 13:n.next=18;break;case 15:throw n.prev=15,n.t0=n.catch(4),x(n.t0);case 18:case"end":return n.stop()}}),n,this,[[4,15]])})))};function F(e,t,n){var a=e.data||{};return t&&(a.stackHeaders=t),n&&(a.content_type_uid=n),a}function T(e,t){return this.urlPath="/roles",this.stackHeaders=t.stackHeaders,t.role?(Object.assign(this,s()(t.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=z(e,"role"),this.delete=q(e),this.fetch=R(e,"role"))):(this.create=A({http:e}),this.fetchAll=H(e,D),this.query=C({http:e,wrapperCollection:D})),this}function D(e,t){return s()(t.roles||[]).map((function(n){return new T(e,{role:n,stackHeaders:t.stackHeaders})}))}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function N(e){for(var t=1;t0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/stacks"),{params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,Ve));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.transferOwnership=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/transfer_ownership"),{transfer_to:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.addUser=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/share"),{share:N({},a)});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.getInvitations=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/share"),{params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.resendInvitation=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/").concat(a,"/resend_invitation"));case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.roles=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/roles"),{params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,D));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}())):this.fetchAll=H(e,U)}function U(e,t){return s()(t.organizations||[]).map((function(t){return new B(e,{organization:t})}))}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/content_types",n.content_type?(Object.assign(this,s()(n.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=z(e,"content_type"),this.delete=q(e),this.fetch=R(e,"content_type"),this.entry=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:t.stackHeaders};return a.content_type_uid=t.uid,n&&(a.entry={uid:n}),new K(e,a)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Z}),this.import=function(){var t=m()(v.a.mark((function t(n){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(n)});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(a,this.stackHeaders)));case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function Z(e,t){return(s()(t.content_types)||[]).map((function(n){return new X(e,{content_type:n,stackHeaders:t.stackHeaders})}))}function ee(e){return function(){var t=new $.a,n=Object(J.createReadStream)(e.content_type);return t.append("content_type",n),t}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/global_fields",t.global_field?(Object.assign(this,s()(t.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=z(e,"global_field"),this.delete=q(e),this.fetch=R(e,"global_field")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ne}),this.import=function(){var t=m()(v.a.mark((function t(n){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ae(n)});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(a,this.stackHeaders)));case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function ne(e,t){return(s()(t.global_fields)||[]).map((function(n){return new te(e,{global_field:n,stackHeaders:t.stackHeaders})}))}function ae(e){return function(){var t=new $.a,n=Object(J.createReadStream)(e.global_field);return t.append("global_field",n),t}}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/delivery_tokens",t.token?(Object.assign(this,s()(t.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=z(e,"token"),this.delete=q(e),this.fetch=R(e,"token")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ie}))}function ie(e,t){return(s()(t.tokens)||[]).map((function(n){return new oe(e,{token:n,stackHeaders:t.stackHeaders})}))}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/environments",t.environment?(Object.assign(this,s()(t.environment)),this.urlPath="/environments/".concat(this.name),this.update=z(e,"environment"),this.delete=q(e),this.fetch=R(e,"environment")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:se}))}function se(e,t){return(s()(t.environments)||[]).map((function(n){return new re(e,{environment:n,stackHeaders:t.stackHeaders})}))}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stackHeaders&&(this.stackHeaders=t.stackHeaders),this.urlPath="/assets/folders",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=z(e,"asset"),this.delete=q(e),this.fetch=R(e,"asset")):this.create=A({http:e})}function pe(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/assets",n.asset?(Object.assign(this,s()(n.asset)),this.urlPath="/assets/".concat(this.uid),this.update=z(e,"asset"),this.delete=q(e),this.fetch=R(e,"asset"),this.replace=function(){var t=m()(v.a.mark((function t(n,a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(n),params:a,method:"PUT"});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,n){return t.apply(this,arguments)}}(),this.publish=_(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:t.stackHeaders};return n&&(a.asset={uid:n}),new ce(e,a)},this.create=function(){var t=m()(v.a.mark((function t(n,a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(n),params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,n){return t.apply(this,arguments)}}(),this.query=C({http:e,wrapperCollection:ue})),this}function ue(e,t){return(s()(t.assets)||[]).map((function(n){return new pe(e,{asset:n,stackHeaders:t.stackHeaders})}))}function le(e){return function(){var t=new $.a;"string"==typeof e.parent_uid&&t.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&t.append("asset[description]",e.description),e.tags instanceof Array?t.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("asset[tags]",e.tags),"string"==typeof e.title&&t.append("asset[title]",e.title);var n=Object(J.createReadStream)(e.upload);return t.append("asset[upload]",n),t}}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/locales",t.locale?(Object.assign(this,s()(t.locale)),this.urlPath="/locales/".concat(this.code),this.update=z(e,"locale"),this.delete=q(e),this.fetch=R(e,"locale")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:me})),this}function me(e,t){return(s()(t.locales)||[]).map((function(n){return new de(e,{locale:n,stackHeaders:t.stackHeaders})}))}var fe=n(77),ve=n.n(fe);function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/extensions",t.extension?(Object.assign(this,s()(t.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=z(e,"extension"),this.delete=q(e),this.fetch=R(e,"extension")):(this.upload=function(){var t=m()(v.a.mark((function t(n,a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(n),params:a});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,F(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,n){return t.apply(this,arguments)}}(),this.create=A({http:e}),this.query=C({http:e,wrapperCollection:he}))}function he(e,t){return(s()(t.extensions)||[]).map((function(n){return new xe(e,{extension:n,stackHeaders:t.stackHeaders})}))}function be(e){return function(){var t=new $.a;"string"==typeof e.title&&t.append("extension[title]",e.title),"object"===ve()(e.scope)&&t.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&t.append("extension[data_type]",e.data_type),"string"==typeof e.type&&t.append("extension[type]",e.type),e.tags instanceof Array?t.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&t.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&t.append("extension[enable]","".concat(e.enable));var n=Object(J.createReadStream)(e.upload);return t.append("extension[upload]",n),t}}function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ge(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/webhooks",n.webhook?(Object.assign(this,s()(n.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=z(e,"webhook"),this.delete=q(e),this.fetch=R(e,"webhook"),this.executions=function(){var n=m()(v.a.mark((function n(a){var o,i;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),a&&(o.params=ge({},s()(a))),n.prev=3,n.next=6,e.get("".concat(t.urlPath,"/executions"),o);case 6:if(!(i=n.sent).data){n.next=11;break}return n.abrupt("return",i.data);case 11:throw x(i);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(3),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[3,14]])})));return function(e){return n.apply(this,arguments)}}(),this.retry=function(){var n=m()(v.a.mark((function n(a){var o,i;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),n.prev=2,n.next=5,e.post("".concat(t.urlPath,"/retry"),{execution_uid:a},o);case 5:if(!(i=n.sent).data){n.next=10;break}return n.abrupt("return",i.data);case 10:throw x(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(2),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[2,13]])})));return function(e){return n.apply(this,arguments)}}()):(this.create=A({http:e}),this.fetchAll=H(e,ke)),this.import=function(){var n=m()(v.a.mark((function n(a){var o;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,E({http:e,urlPath:"".concat(t.urlPath,"/import"),stackHeaders:t.stackHeaders,formData:je(a)});case 3:if(!(o=n.sent).data){n.next=8;break}return n.abrupt("return",new t.constructor(e,F(o,t.stackHeaders)));case 8:throw x(o);case 9:n.next=14;break;case 11:throw n.prev=11,n.t0=n.catch(0),x(n.t0);case 14:case"end":return n.stop()}}),n,null,[[0,11]])})));return function(e){return n.apply(this,arguments)}}(),this}function ke(e,t){return(s()(t.webhooks)||[]).map((function(n){return new we(e,{webhook:n,stackHeaders:t.stackHeaders})}))}function je(e){return function(){var t=new $.a,n=Object(J.createReadStream)(e.webhook);return t.append("webhook",n),t}}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows/publishing_rules",t.publishing_rule?(Object.assign(this,s()(t.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=z(e,"publishing_rule"),this.delete=q(e),this.fetch=R(e,"publishing_rule")):(this.create=A({http:e}),this.fetchAll=H(e,_e))}function _e(e,t){return(s()(t.publishing_rules)||[]).map((function(n){return new Oe(e,{publishing_rule:n,stackHeaders:t.stackHeaders})}))}function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=n.stackHeaders,this.urlPath="/workflows",n.workflow?(Object.assign(this,s()(n.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=z(e,"workflow"),this.disable=m()(v.a.mark((function t(){var n;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data);case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.enable=m()(v.a.mark((function t(){var n;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data);case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.delete=q(e),this.fetch=R(e,"workflow")):(this.contentType=function(n){if(n)return{getPublishRules:function(){var t=m()(v.a.mark((function t(a){var o,i;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),a&&(o.params=Pe({},s()(a))),t.prev=3,t.next=6,e.get("/workflows/content_type/".concat(n),o);case 6:if(!(i=t.sent).data){t.next=11;break}return t.abrupt("return",new y(i,e,this.stackHeaders,_e));case 11:throw x(i);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[3,14]])})));return function(e){return t.apply(this,arguments)}}(),stackHeaders:Pe({},t.stackHeaders)}},this.create=A({http:e}),this.fetchAll=H(e,Ae),this.publishRule=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:t.stackHeaders};return n&&(a.publishing_rule={uid:n}),new Oe(e,a)})}function Ae(e,t){return(s()(t.workflows)||[]).map((function(n){return new Ee(e,{workflow:n,stackHeaders:t.stackHeaders})}))}function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,n.item&&Object.assign(this,s()(n.item)),n.releaseUid&&(this.urlPath="releases/".concat(n.releaseUid,"/items"),this.delete=function(){var a=m()(v.a.mark((function a(o){var i,r,c;return v.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={},void 0===o&&(i={all:!0}),a.prev=2,r={headers:ze({},s()(t.stackHeaders)),data:ze({},s()(o)),params:ze({},s()(i))}||{},a.next=6,e.delete(t.urlPath,r);case 6:if(!(c=a.sent).data){a.next=11;break}return a.abrupt("return",new Te(e,ze(ze({},c.data),{},{stackHeaders:n.stackHeaders})));case 11:throw x(c);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(2),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[2,14]])})));return function(e){return a.apply(this,arguments)}}(),this.create=function(){var a=m()(v.a.mark((function a(o){var i,r;return v.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i={headers:ze({},s()(t.stackHeaders))}||{},a.prev=1,a.next=4,e.post(o.item?"releases/".concat(n.releaseUid,"/item"):t.urlPath,o,i);case 4:if(!(r=a.sent).data){a.next=10;break}if(!r.data){a.next=8;break}return a.abrupt("return",new Te(e,ze(ze({},r.data),{},{stackHeaders:n.stackHeaders})));case 8:a.next=11;break;case 10:throw x(r);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[1,13]])})));return function(e){return a.apply(this,arguments)}}(),this.findAll=m()(v.a.mark((function n(){var a,o,i,r=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},n.prev=1,o={headers:ze({},s()(t.stackHeaders)),params:ze({},s()(a))}||{},n.next=5,e.get(t.urlPath,o);case 5:if(!(i=n.sent).data){n.next=10;break}return n.abrupt("return",new y(i,e,t.stackHeaders,Re));case 10:throw x(i);case 11:n.next=16;break;case 13:n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})))),this}function Re(e,t,n){return(s()(t.items)||[]).map((function(a){return new qe(e,{releaseUid:n,item:a,stackHeaders:t.stackHeaders})}))}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Fe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=n.stackHeaders,this.urlPath="/releases",n.release?(Object.assign(this,s()(n.release)),n.release.items&&(this.items=new Re(e,{items:n.release.items,stackHeaders:n.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=z(e,"release"),this.fetch=R(e,"release"),this.delete=q(e),this.item=function(){return new qe(e,{releaseUid:t.uid,stackHeaders:t.stackHeaders})},this.deploy=function(){var n=m()(v.a.mark((function n(a){var o,i,r,c,p,u,l;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.environments,i=a.locales,r=a.scheduledAt,c=a.action,p={environments:o,locales:i,scheduledAt:r,action:c},u={headers:Fe({},s()(t.stackHeaders))}||{},n.prev=3,n.next=6,e.post("".concat(t.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=n.sent).data){n.next=11;break}return n.abrupt("return",l.data);case 11:throw x(l);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(3),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[3,14]])})));return function(e){return n.apply(this,arguments)}}(),this.clone=function(){var n=m()(v.a.mark((function n(a){var o,i,r,c,p;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.name,i=a.description,r={name:o,description:i},c={headers:Fe({},s()(t.stackHeaders))}||{},n.prev=3,n.next=6,e.post("".concat(t.urlPath,"/clone"),{release:r},c);case 6:if(!(p=n.sent).data){n.next=11;break}return n.abrupt("return",new Te(e,p.data));case 11:throw x(p);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(3),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[3,14]])})));return function(e){return n.apply(this,arguments)}}()):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:De})),this}function De(e,t){return(s()(t.releases)||[]).map((function(n){return new Te(e,{release:n,stackHeaders:t.stackHeaders})}))}function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ne(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=n.stackHeaders,this.urlPath="/bulk",this.publish=function(){var n=m()(v.a.mark((function n(a){var o,i,r,c,p,u,l,d,m;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.details,i=a.skip_workflow_stage,r=void 0!==i&&i,c=a.approvals,p=void 0!==c&&c,u=a.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),n.abrupt("return",P(e,"/bulk/publish",d,m));case 8:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),this.unpublish=function(){var n=m()(v.a.mark((function n(a){var o,i,r,c,p,u,l,d,m;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=a.details,i=a.skip_workflow_stage,r=void 0!==i&&i,c=a.approvals,p=void 0!==c&&c,u=a.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),n.abrupt("return",P(e,"/bulk/unpublish",d,m));case 8:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),this.delete=m()(v.a.mark((function n(){var a,o,i,r=arguments;return v.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},o={},a.details&&(o=s()(a.details)),i={headers:Ne({},s()(t.stackHeaders))},n.abrupt("return",P(e,"/bulk/delete",o,i));case 5:case"end":return n.stop()}}),n)})))}function Ue(e,t){this.stackHeaders=t.stackHeaders,this.urlPath="/labels",t.label?(Object.assign(this,s()(t.label)),this.urlPath="/labels/".concat(this.uid),this.update=z(e,"label"),this.delete=q(e),this.fetch=R(e,"label")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Ie}))}function Ie(e,t){return(s()(t.labels)||[]).map((function(n){return new Ue(e,{label:n,stackHeaders:t.stackHeaders})}))}function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function We(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.content_type={uid:t}),new X(e,a)},this.locale=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.locale={code:t}),new de(e,a)},this.asset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.asset={uid:t}),new pe(e,a)},this.globalField=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.global_field={uid:t}),new te(e,a)},this.environment=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.environment={name:t}),new re(e,a)},this.deliveryToken=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.token={uid:t}),new oe(e,a)},this.extension=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.extension={uid:t}),new xe(e,a)},this.workflow=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.workflow={uid:t}),new Ee(e,a)},this.webhook=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.webhook={uid:t}),new we(e,a)},this.label=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.label={uid:t}),new Ue(e,a)},this.release=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.release={uid:t}),new Te(e,a)},this.bulkOperation=function(){var t={stackHeaders:n.stackHeaders};return new Be(e,t)},this.users=m()(v.a.mark((function t(){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(n.urlPath,{params:{include_collaborators:!0},headers:We({},s()(n.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",G(e,a.data.stack));case 8:return t.abrupt("return",x(a));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.transferOwnership=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/transfer_ownership"),{transfer_to:a},{headers:We({},s()(n.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.settings=m()(v.a.mark((function t(){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(n.urlPath,"/settings"),{headers:We({},s()(n.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data.stack_settings);case 8:return t.abrupt("return",x(a));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.resetSettings=m()(v.a.mark((function t(){var a;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:We({},s()(n.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data.stack_settings);case 8:return t.abrupt("return",x(a));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.addSettings=m()(v.a.mark((function t(){var a,o,i=arguments;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,t.next=4,e.post("".concat(n.urlPath,"/settings"),{stack_settings:{stack_variables:a}},{headers:We({},s()(n.stackHeaders))});case 4:if(!(o=t.sent).data){t.next=9;break}return t.abrupt("return",o.data.stack_settings);case 9:return t.abrupt("return",x(o));case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(1),t.abrupt("return",x(t.t0));case 15:case"end":return t.stop()}}),t,null,[[1,12]])}))),this.share=m()(v.a.mark((function t(){var a,o,i,r=arguments;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:[],o=r.length>1&&void 0!==r[1]?r[1]:{},t.prev=2,t.next=5,e.post("".concat(n.urlPath,"/share"),{emails:a,roles:o},{headers:We({},s()(n.stackHeaders))});case 5:if(!(i=t.sent).data){t.next=10;break}return t.abrupt("return",i.data);case 10:return t.abrupt("return",x(i));case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",x(t.t0));case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),this.unShare=function(){var t=m()(v.a.mark((function t(a){var o;return v.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(n.urlPath,"/unshare"),{email:a},{headers:We({},s()(n.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.role=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a={stackHeaders:n.stackHeaders};return t&&(a.role={uid:t}),new T(e,a)}):(this.create=A({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=C({http:e,wrapperCollection:Ve})),this}function Ve(e,t){var n=t.stacks||[];return s()(n).map((function(t){return new Ge(e,{stack:t})}))}function $e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Je(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return t.post("/user-session",{user:e},{params:n}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(t.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new W(t,e.data)),e.data}),x)},logout:function(e){return void 0!==e?t.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):t.delete("/user-session").then((function(e){return t.defaults.headers.common&&delete t.defaults.headers.common.authtoken,delete t.defaults.headers.authtoken,delete t.httpClientParams.authtoken,delete t.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.get("/user",{params:e}).then((function(e){return new W(t,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Je({},s()(e));return new Ge(t,{stack:n})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new B(t,null!==e?{organization:{uid:e}}:null)},axiosInstance:t}}var Ye=n(78),Qe=n.n(Ye),Xe=n(79),Ze=n.n(Xe),et=n(20),tt=n.n(et);function nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function at(e){for(var t=1;tt.config.retryLimit)return Promise.reject(i(e));if(t.config.retryDelayOptions)if(t.config.retryDelayOptions.customBackoff){if((c=t.config.retryDelayOptions.customBackoff(o,e))&&c<=0)return Promise.reject(i(e))}else t.config.retryDelayOptions.base&&(c=t.config.retryDelayOptions.base*o);else c=t.config.retryDelay;return e.config.retryCount=o,new Promise((function(t){return setTimeout((function(){return t(n(r(e,a,c)))}),c)}))},this.interceptors={request:null,response:null};var r=function(e,a,o){var i=e.config;return t.config.logHandler("warning","".concat(a," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==n&&void 0!==n.defaults&&(n.defaults.agent===i.agent&&delete i.agent,n.defaults.httpAgent===i.httpAgent&&delete i.httpAgent,n.defaults.httpsAgent===i.httpsAgent&&delete i.httpsAgent),i.data=s(i),i.transformRequest=[function(e){return e}],i},s=function(e){if(e.formdata){var t=e.formdata();return e.headers=at(at({},e.headers),t.getHeaders()),t}return e.data};this.interceptors.request=n.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=s(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var n=tt.a.CancelToken.source();e.cancelToken=n.token,e.source=n}return t.paused&&e.retryCount>0?new Promise((function(n){t.unshift({request:e,resolve:n})})):e.retryCount>0?e:new Promise((function(n){e.onComplete=function(){t.running.pop({request:e,resolve:n})},t.push({request:e,resolve:n})}))})),this.interceptors.response=n.interceptors.response.use(i,(function(e){var a=e.config.retryCount,o=null;if(!t.config.retryOnError||a>t.config.retryLimit)return Promise.reject(i(e));var s=t.config.retryDelay,c=e.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++a>t.config.retryLimit?Promise.reject(i(e)):(t.running.shift(),function e(n){if(!t.paused)return t.paused=!0,t.running.length>0&&setTimeout((function(){e(n)}),n),new Promise((function(e){return setTimeout((function(){t.paused=!1;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},t={defaultHostName:"api.contentstack.io"},n="contentstack-management-javascript/".concat(i.version),a=l(n,e.application,e.integration,e.feature),o={"X-User-Agent":n,"User-Agent":a};e.authtoken&&(o.authtoken=e.authtoken),(e=ut(ut({},t),s()(e))).headers=ut(ut({},e.headers),o);var r=ct(e),c=Ke({http:r});return c}}]); \ No newline at end of file +/*! For license information please see contentstack-management.js.LICENSE.txt */ +(()=>{var e={6005:(e,t,a)=>{"use strict";a.r(t),a.d(t,{client:()=>lt});var n=a(5213),o=a.n(n);const i="1.2.4";var r=a(7780),s=a.n(r),c=a(9563),p=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var e=window.navigator.userAgent,t=window.navigator.platform,a=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?a="macOS":-1!==["iPhone","iPad","iPod"].indexOf(t)?a="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?a="Windows":/Android/.test(e)?a="Android":/Linux/.test(t)&&(a="Linux"),a}function l(e,t,a,n){var o=[];t&&o.push("app ".concat(t)),a&&o.push("integration ".concat(a)),n&&o.push("feature "+n),o.push("sdk ".concat(e));var i=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(i=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(i=u(),o.push("platform browser")):(i=function(){var e=(0,c.platform)()||"linux",t=(0,c.release)()||"0.0.0",a={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in a?"".concat(a[e]||"Linux","/").concat(t):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(e){i=null}return i&&o.push("os ".concat(i)),"".concat(o.filter((function(e){return""!==e})).join("; "),";")}var d=a(9087),m=a.n(d),f=a(5843),h=a.n(f);function x(e){var t=e.config,a=e.response;if(!t||!a)throw e;var n=a.data,o={status:a.status,statusText:a.statusText};if(t.headers&&t.headers.authtoken){var i="...".concat(t.headers.authtoken.substr(-5));t.headers.authtoken=i}if(t.headers&&t.headers.authorization){var r="...".concat(t.headers.authorization.substr(-5));t.headers.authorization=r}o.request={url:t.url,method:t.method,data:t.data,headers:t.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var v=a(1637),b=a.n(v),y=function e(t,a){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,e);var i=t.data||{};n&&(i.stackHeaders=n),this.items=o(a,i),void 0!==i.schema&&(this.schema=i.schema),void 0!==i.content_type&&(this.content_type=i.content_type),void 0!==i.count&&(this.count=i.count),void 0!==i.notice&&(this.notice=i.notice)};function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function w(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,i={};n&&(i.headers=n);var r=null;a&&(a.content_type_uid&&(r=a.content_type_uid,delete a.content_type_uid),i.params=w({},s()(a)));var c=function(){var a=m()(h().mark((function a(){var s;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t,i);case 3:if(!(s=a.sent).data){a.next=9;break}return r&&(s.data.content_type_uid=r),a.abrupt("return",new y(s,e,n,o));case 9:throw x(s);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(0),x(a.t0);case 15:case"end":return a.stop()}}),a,null,[[0,12]])})));return function(){return a.apply(this,arguments)}}(),p=function(){var a=m()(h().mark((function a(){var n;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i.params=w(w({},i.params),{},{count:!0}),a.prev=1,a.next=4,e.get(t,i);case 4:if(!(n=a.sent).data){a.next=9;break}return a.abrupt("return",n.data);case 9:throw x(n);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(1),x(a.t0);case 15:case"end":return a.stop()}}),a,null,[[1,12]])})));return function(){return a.apply(this,arguments)}}(),u=function(){var a=m()(h().mark((function a(){var s,c;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return(s=i).params.limit=1,a.prev=2,a.next=5,e.get(t,s);case 5:if(!(c=a.sent).data){a.next=11;break}return r&&(c.data.content_type_uid=r),a.abrupt("return",new y(c,e,n,o));case 11:throw x(c);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(2),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[2,14]])})));return function(){return a.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function O(e){for(var t=1;t4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==i&&(n.locale=i),null!==r&&(n.version=r),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,t.post(a,n,o);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(t,a,n,o){return e.apply(this,arguments)}}(),E=function(){var e=m()(h().mark((function e(t){var a,n,o,i,r,c,p,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.http,n=t.urlPath,o=t.stackHeaders,i=t.formData,r=t.params,c=t.method,p=void 0===c?"POST":c,u={headers:O(O({},r),s()(o))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",a.post(n,i,u));case 6:return e.abrupt("return",a.put(n,i,u));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.http,a=e.params;return function(){var e=m()(h().mark((function e(n,o){var i,r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={headers:O(O({},s()(a)),s()(this.stackHeaders)),params:O({},s()(o))}||{},e.prev=1,e.next=4,t.post(this.urlPath,n,i);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(t,T(r,this.stackHeaders,this.content_type_uid)));case 9:throw x(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(t,a){return e.apply(this,arguments)}}()},C=function(e){var t=e.http,a=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(t,this.urlPath,e,this.stackHeaders,a)}},z=function(e,t){return m()(h().mark((function a(){var n,o,i,r,c=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(i=s()(this)).stackHeaders,delete i.urlPath,delete i.uid,delete i.org_uid,delete i.api_key,delete i.created_at,delete i.created_by,delete i.deleted_at,delete i.updated_at,delete i.updated_by,delete i.updated_at,o[t]=i,a.prev=15,a.next=18,e.put(this.urlPath,o,{headers:O({},s()(this.stackHeaders)),params:O({},s()(n))});case 18:if(!(r=a.sent).data){a.next=23;break}return a.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 23:throw x(r);case 24:a.next=29;break;case 26:throw a.prev=26,a.t0=a.catch(15),x(a.t0);case 29:case"end":return a.stop()}}),a,this,[[15,26]])})))},R=function(e){return m()(h().mark((function t(){var a,n,o,i=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,n={headers:O({},s()(this.stackHeaders)),params:O({},s()(a))}||{},t.next=5,e.delete(this.urlPath,n);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,this,[[1,13]])})))},q=function(e,t){return m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},a.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(n))}||{},a.next=5,e.get(this.urlPath,o);case 5:if(!(i=a.sent).data){a.next=11;break}return"entry"===t&&(i.data[t].content_type=i.data.content_type,i.data[t].schema=i.data.schema),a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders,this.content_type_uid)));case 11:throw x(i);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(1),x(a.t0);case 17:case"end":return a.stop()}}),a,this,[[1,14]])})))},H=function(e,t){return m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=O({},s()(n))),a.prev=4,a.next=7,e.get(this.urlPath,o);case 7:if(!(i=a.sent).data){a.next=12;break}return a.abrupt("return",new y(i,e,this.stackHeaders,t));case 12:throw x(i);case 13:a.next=18;break;case 15:throw a.prev=15,a.t0=a.catch(4),x(a.t0);case 18:case"end":return a.stop()}}),a,this,[[4,15]])})))};function T(e,t,a){var n=e.data||{};return t&&(n.stackHeaders=t),a&&(n.content_type_uid=a),n}function F(e,t){return this.urlPath="/roles",this.stackHeaders=t.stackHeaders,t.role?(Object.assign(this,s()(t.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=z(e,"role"),this.delete=R(e),this.fetch=q(e,"role"))):(this.create=A({http:e}),this.fetchAll=H(e,D),this.query=C({http:e,wrapperCollection:D})),this}function D(e,t){return s()(t.roles||[]).map((function(a){return new F(e,{role:a,stackHeaders:t.stackHeaders})}))}function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function N(e){for(var t=1;t0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/stacks"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,$e));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.addUser=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/share"),{share:N({},n)});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.getInvitations=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/share"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.resendInvitation=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.roles=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/roles"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,D));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}())):this.fetchAll=H(e,B)}function B(e,t){return s()(t.organizations||[]).map((function(t){return new U(e,{organization:t})}))}function I(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/content_types",a.content_type?(Object.assign(this,s()(a.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=z(e,"content_type"),this.delete=R(e),this.fetch=q(e,"content_type"),this.entry=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return n.content_type_uid=t.uid,a&&(n.entry={uid:a}),new K(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Z}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function Z(e,t){return(s()(t.content_types)||[]).map((function(a){return new X(e,{content_type:a,stackHeaders:t.stackHeaders})}))}function ee(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.content_type);return t.append("content_type",a),t}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/global_fields",t.global_field?(Object.assign(this,s()(t.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=z(e,"global_field"),this.delete=R(e),this.fetch=q(e,"global_field")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ae}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function ae(e,t){return(s()(t.global_fields)||[]).map((function(a){return new te(e,{global_field:a,stackHeaders:t.stackHeaders})}))}function ne(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.global_field);return t.append("global_field",a),t}}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/delivery_tokens",t.token?(Object.assign(this,s()(t.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=z(e,"token"),this.delete=R(e),this.fetch=q(e,"token")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ie}))}function ie(e,t){return(s()(t.tokens)||[]).map((function(a){return new oe(e,{token:a,stackHeaders:t.stackHeaders})}))}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/environments",t.environment?(Object.assign(this,s()(t.environment)),this.urlPath="/environments/".concat(this.name),this.update=z(e,"environment"),this.delete=R(e),this.fetch=q(e,"environment")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:se}))}function se(e,t){return(s()(t.environments)||[]).map((function(a){return new re(e,{environment:a,stackHeaders:t.stackHeaders})}))}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stackHeaders&&(this.stackHeaders=t.stackHeaders),this.urlPath="/assets/folders",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=z(e,"asset"),this.delete=R(e),this.fetch=q(e,"asset")):this.create=A({http:e})}function pe(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/assets",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/".concat(this.uid),this.update=z(e,"asset"),this.delete=R(e),this.fetch=q(e,"asset"),this.replace=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n,method:"PUT"});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.publish=_(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new ce(e,n)},this.create=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.query=C({http:e,wrapperCollection:ue})),this}function ue(e,t){return(s()(t.assets)||[]).map((function(a){return new pe(e,{asset:a,stackHeaders:t.stackHeaders})}))}function le(e){return function(){var t=new(V());"string"==typeof e.parent_uid&&t.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&t.append("asset[description]",e.description),e.tags instanceof Array?t.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("asset[tags]",e.tags),"string"==typeof e.title&&t.append("asset[title]",e.title);var a=(0,J.createReadStream)(e.upload);return t.append("asset[upload]",a),t}}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/locales",t.locale?(Object.assign(this,s()(t.locale)),this.urlPath="/locales/".concat(this.code),this.update=z(e,"locale"),this.delete=R(e),this.fetch=q(e,"locale")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:me})),this}function me(e,t){return(s()(t.locales)||[]).map((function(a){return new de(e,{locale:a,stackHeaders:t.stackHeaders})}))}var fe=a(5514),he=a.n(fe);function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/extensions",t.extension?(Object.assign(this,s()(t.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=z(e,"extension"),this.delete=R(e),this.fetch=q(e,"extension")):(this.upload=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ve}))}function ve(e,t){return(s()(t.extensions)||[]).map((function(a){return new xe(e,{extension:a,stackHeaders:t.stackHeaders})}))}function be(e){return function(){var t=new(V());"string"==typeof e.title&&t.append("extension[title]",e.title),"object"===he()(e.scope)&&t.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&t.append("extension[data_type]",e.data_type),"string"==typeof e.type&&t.append("extension[type]",e.type),e.tags instanceof Array?t.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&t.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&t.append("extension[enable]","".concat(e.enable));var a=(0,J.createReadStream)(e.upload);return t.append("extension[upload]",a),t}}function ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ge(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/webhooks",a.webhook?(Object.assign(this,s()(a.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=z(e,"webhook"),this.delete=R(e),this.fetch=q(e,"webhook"),this.executions=function(){var a=m()(h().mark((function a(n){var o,i;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),n&&(o.params=ge({},s()(n))),a.prev=3,a.next=6,e.get("".concat(t.urlPath,"/executions"),o);case 6:if(!(i=a.sent).data){a.next=11;break}return a.abrupt("return",i.data);case 11:throw x(i);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.retry=function(){var a=m()(h().mark((function a(n){var o,i;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(i=a.sent).data){a.next=10;break}return a.abrupt("return",i.data);case 10:throw x(i);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(2),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[2,13]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.fetchAll=H(e,ke)),this.import=function(){var a=m()(h().mark((function a(n){var o;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,E({http:e,urlPath:"".concat(t.urlPath,"/import"),stackHeaders:t.stackHeaders,formData:je(n)});case 3:if(!(o=a.sent).data){a.next=8;break}return a.abrupt("return",new t.constructor(e,T(o,t.stackHeaders)));case 8:throw x(o);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this}function ke(e,t){return(s()(t.webhooks)||[]).map((function(a){return new we(e,{webhook:a,stackHeaders:t.stackHeaders})}))}function je(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.webhook);return t.append("webhook",a),t}}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows/publishing_rules",t.publishing_rule?(Object.assign(this,s()(t.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=z(e,"publishing_rule"),this.delete=R(e),this.fetch=q(e,"publishing_rule")):(this.create=A({http:e}),this.fetchAll=H(e,_e))}function _e(e,t){return(s()(t.publishing_rules)||[]).map((function(a){return new Oe(e,{publishing_rule:a,stackHeaders:t.stackHeaders})}))}function Se(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Pe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows",a.workflow?(Object.assign(this,s()(a.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=z(e,"workflow"),this.disable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.enable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.delete=R(e),this.fetch=q(e,"workflow")):(this.contentType=function(a){if(a){var n=function(){var t=m()(h().mark((function t(n){var o,i;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Pe({},s()(n))),t.prev=3,t.next=6,e.get("/workflows/content_type/".concat(a),o);case 6:if(!(i=t.sent).data){t.next=11;break}return t.abrupt("return",new y(i,e,this.stackHeaders,_e));case 11:throw x(i);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[3,14]])})));return function(e){return t.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Pe({},t.stackHeaders)}}},this.create=A({http:e}),this.fetchAll=H(e,Ae),this.publishRule=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.publishing_rule={uid:a}),new Oe(e,n)})}function Ae(e,t){return(s()(t.workflows)||[]).map((function(a){return new Ee(e,{workflow:a,stackHeaders:t.stackHeaders})}))}function Ce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,a.item&&Object.assign(this,s()(a.item)),a.releaseUid&&(this.urlPath="releases/".concat(a.releaseUid,"/items"),this.delete=function(){var n=m()(h().mark((function n(o){var i,r,c;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i={},void 0===o&&(i={all:!0}),n.prev=2,r={headers:ze({},s()(t.stackHeaders)),data:ze({},s()(o)),params:ze({},s()(i))}||{},n.next=6,e.delete(t.urlPath,r);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Fe(e,ze(ze({},c.data),{},{stackHeaders:a.stackHeaders})));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=m()(h().mark((function n(o){var i,r;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i={headers:ze({},s()(t.stackHeaders))}||{},n.prev=1,n.next=4,e.post(o.item?"releases/".concat(a.releaseUid,"/item"):t.urlPath,o,i);case 4:if(!(r=n.sent).data){n.next=10;break}if(!r.data){n.next=8;break}return n.abrupt("return",new Fe(e,ze(ze({},r.data),{},{stackHeaders:a.stackHeaders})));case 8:n.next=11;break;case 10:throw x(r);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},a.prev=1,o={headers:ze({},s()(t.stackHeaders)),params:ze({},s()(n))}||{},a.next=5,e.get(t.urlPath,o);case 5:if(!(i=a.sent).data){a.next=10;break}return a.abrupt("return",new y(i,e,t.stackHeaders,qe));case 10:throw x(i);case 11:a.next=16;break;case 13:a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[1,13]])})))),this}function qe(e,t,a){return(s()(t.items)||[]).map((function(n){return new Re(e,{releaseUid:a,item:n,stackHeaders:t.stackHeaders})}))}function He(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Te(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/releases",a.release?(Object.assign(this,s()(a.release)),a.release.items&&(this.items=new qe(e,{items:a.release.items,stackHeaders:a.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=z(e,"release"),this.fetch=q(e,"release"),this.delete=R(e),this.item=function(){return new Re(e,{releaseUid:t.uid,stackHeaders:t.stackHeaders})},this.deploy=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p,u,l;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.environments,i=n.locales,r=n.scheduledAt,c=n.action,p={environments:o,locales:i,scheduledAt:r,action:c},u={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=a.sent).data){a.next=11;break}return a.abrupt("return",l.data);case 11:throw x(l);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.clone=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.name,i=n.description,r={name:o,description:i},c={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/clone"),{release:r},c);case 6:if(!(p=a.sent).data){a.next=11;break}return a.abrupt("return",new Fe(e,p.data));case 11:throw x(p);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:De})),this}function De(e,t){return(s()(t.releases)||[]).map((function(a){return new Fe(e,{release:a,stackHeaders:t.stackHeaders})}))}function Le(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ne(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/bulk",this.publish=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,i=n.skip_workflow_stage,r=void 0!==i&&i,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/publish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.unpublish=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,i=n.skip_workflow_stage,r=void 0!==i&&i,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/unpublish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.delete=m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},o={},n.details&&(o=s()(n.details)),i={headers:Ne({},s()(t.stackHeaders))},a.abrupt("return",P(e,"/bulk/delete",o,i));case 5:case"end":return a.stop()}}),a)})))}function Be(e,t){this.stackHeaders=t.stackHeaders,this.urlPath="/labels",t.label?(Object.assign(this,s()(t.label)),this.urlPath="/labels/".concat(this.uid),this.update=z(e,"label"),this.delete=R(e),this.fetch=q(e,"label")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Ie}))}function Ie(e,t){return(s()(t.labels)||[]).map((function(a){return new Be(e,{label:a,stackHeaders:t.stackHeaders})}))}function Me(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function We(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.content_type={uid:t}),new X(e,n)},this.locale=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.locale={code:t}),new de(e,n)},this.asset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new pe(e,n)},this.globalField=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.global_field={uid:t}),new te(e,n)},this.environment=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.environment={name:t}),new re(e,n)},this.deliveryToken=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.token={uid:t}),new oe(e,n)},this.extension=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.extension={uid:t}),new xe(e,n)},this.workflow=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.workflow={uid:t}),new Ee(e,n)},this.webhook=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.webhook={uid:t}),new we(e,n)},this.label=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.label={uid:t}),new Be(e,n)},this.release=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.release={uid:t}),new Fe(e,n)},this.bulkOperation=function(){var t={stackHeaders:a.stackHeaders};return new Ue(e,t)},this.users=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a.urlPath,{params:{include_collaborators:!0},headers:We({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",G(e,n.data.stack));case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:We({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.settings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/settings"),{headers:We({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.resetSettings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:We({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.addSettings=m()(h().mark((function t(){var n,o,i=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,t.next=4,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:We({},s()(a.stackHeaders))});case 4:if(!(o=t.sent).data){t.next=9;break}return t.abrupt("return",o.data.stack_settings);case 9:return t.abrupt("return",x(o));case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(1),t.abrupt("return",x(t.t0));case 15:case"end":return t.stop()}}),t,null,[[1,12]])}))),this.share=m()(h().mark((function t(){var n,o,i,r=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:[],o=r.length>1&&void 0!==r[1]?r[1]:{},t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/share"),{emails:n,roles:o},{headers:We({},s()(a.stackHeaders))});case 5:if(!(i=t.sent).data){t.next=10;break}return t.abrupt("return",i.data);case 10:return t.abrupt("return",x(i));case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",x(t.t0));case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),this.unShare=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/unshare"),{email:n},{headers:We({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.role=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.role={uid:t}),new F(e,n)}):(this.create=A({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=C({http:e,wrapperCollection:$e})),this}function $e(e,t){var a=t.stacks||[];return s()(a).map((function(t){return new Ge(e,{stack:t})}))}function Ve(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Je(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return t.post("/user-session",{user:e},{params:a}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(t.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new W(t,e.data)),e.data}),x)},logout:function(e){return void 0!==e?t.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):t.delete("/user-session").then((function(e){return t.defaults.headers.common&&delete t.defaults.headers.common.authtoken,delete t.defaults.headers.authtoken,delete t.httpClientParams.authtoken,delete t.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.get("/user",{params:e}).then((function(e){return new W(t,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=Je({},s()(e));return new Ge(t,{stack:a})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(t,null!==e?{organization:{uid:e}}:null)},axiosInstance:t}}var Qe=a(1362),Ye=a.n(Qe),Xe=a(903),Ze=a.n(Xe),et=a(5607),tt=a.n(et);function at(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function nt(e){for(var t=1;t0&&setTimeout((function(){e(a)}),a),new Promise((function(e){return setTimeout((function(){t.paused=!1;for(var e=0;et.config.retryLimit)return Promise.reject(r(e));if(t.config.retryDelayOptions)if(t.config.retryDelayOptions.customBackoff){if((c=t.config.retryDelayOptions.customBackoff(o,e))&&c<=0)return Promise.reject(r(e))}else t.config.retryDelayOptions.base&&(c=t.config.retryDelayOptions.base*o);else c=t.config.retryDelay;return e.config.retryCount=o,new Promise((function(t){return setTimeout((function(){return t(a(s(e,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(e,n,o){var i=e.config;return t.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==a&&void 0!==a.defaults&&(a.defaults.agent===i.agent&&delete i.agent,a.defaults.httpAgent===i.httpAgent&&delete i.httpAgent,a.defaults.httpsAgent===i.httpsAgent&&delete i.httpsAgent),i.data=c(i),i.transformRequest=[function(e){return e}],i},c=function(e){if(e.formdata){var t=e.formdata();return e.headers=nt(nt({},e.headers),t.getHeaders()),t}return e.data};this.interceptors.request=a.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=c(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var a=tt().CancelToken.source();e.cancelToken=a.token,e.source=a}return t.paused&&e.retryCount>0?new Promise((function(a){t.unshift({request:e,resolve:a})})):e.retryCount>0?e:new Promise((function(a){e.onComplete=function(){t.running.pop({request:e,resolve:a})},t.push({request:e,resolve:a})}))})),this.interceptors.response=a.interceptors.response.use(r,(function(e){var n=e.config.retryCount,o=null;if(!t.config.retryOnError||n>t.config.retryLimit)return Promise.reject(r(e));var c=t.config.retryDelay,p=e.response;if(p){if(429===p.status)return o="Error with status: ".concat(p.status),++n>t.config.retryLimit?Promise.reject(r(e)):(t.running.shift(),i(c),e.config.retryCount=n,a(s(e,o,c)))}else{if("ECONNABORTED"!==e.code)return Promise.reject(r(e));e.response=nt(nt({},e.response),{},{status:408,statusText:"timeout of ".concat(t.config.timeout,"ms exceeded")}),p=e.response}return t.config.retryCondition&&t.config.retryCondition(e)?(o=e.response?"Error with status: ".concat(p.status):"Error Code:".concat(e.code),n++,t.retry(e,o,n,c)):Promise.reject(r(e))}))}function rt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function st(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t={defaultHostName:"api.contentstack.io"},a="contentstack-management-javascript/".concat(i),n=l(a,e.application,e.integration,e.feature),o={"X-User-Agent":a,"User-Agent":n};e.authtoken&&(o.authtoken=e.authtoken),(e=ut(ut({},t),s()(e))).headers=ut(ut({},e.headers),o);var r=ct(e),c=Ke({http:r});return c}},2520:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},9087:e=>{function t(e,t,a,n,o,i,r){try{var s=e[i](r),c=s.value}catch(e){return void a(e)}s.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var a=this,n=arguments;return new Promise((function(o,i){var r=e.apply(a,n);function s(e){t(r,o,i,s,c,"next",e)}function c(e){t(r,o,i,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},1637:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},5213:e=>{e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},e.exports.default=e.exports,e.exports.__esModule=!0},8481:e=>{e.exports=function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,i=[],r=!0,s=!1;try{for(a=a.call(e);!(r=(n=a.next()).done)&&(i.push(n.value),!t||i.length!==t);r=!0);}catch(e){s=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(s)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},6743:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},1362:(e,t,a)=>{var n=a(5897),o=a(8481),i=a(4871),r=a(6743);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||r()},e.exports.default=e.exports,e.exports.__esModule=!0},5514:e=>{function t(a){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(a)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},4871:(e,t,a)=>{var n=a(2520);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},5843:(e,t,a)=>{e.exports=a(8041)},5863:(e,t,a)=>{e.exports={parallel:a(9977),serial:a(7709),serialOrdered:a(910)}},3296: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={}}},5021:(e,t,a)=>{var n=a(5393);e.exports=function(e){var t=!1;return n((function(){t=!0})),function(a,o){t?e(a,o):n((function(){e(a,o)}))}}},5393:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},5099:(e,t,a)=>{var n=a(5021),o=a(3296);e.exports=function(e,t,a,i){var r=a.keyedList?a.keyedList[a.index]:a.index;a.jobs[r]=function(e,t,a,o){return 2==e.length?e(a,n(o)):e(a,t,n(o))}(t,r,e[r],(function(e,t){r in a.jobs&&(delete a.jobs[r],e?o(a):a.results[r]=t,i(e,a.results))}))}},3929:e=>{e.exports=function(e,t){var a=!Array.isArray(e),n={index:0,keyedList:a||t?Object.keys(e):null,jobs:{},results:a?{}:[],size:a?Object.keys(e).length:e.length};return t&&n.keyedList.sort(a?t:function(a,n){return t(e[a],e[n])}),n}},4567:(e,t,a)=>{var n=a(3296),o=a(5021);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),o(e)(null,this.results))}},9977:(e,t,a)=>{var n=a(5099),o=a(3929),i=a(4567);e.exports=function(e,t,a){for(var r=o(e);r.index<(r.keyedList||e).length;)n(e,t,r,(function(e,t){e?a(e,t):0!==Object.keys(r.jobs).length||a(null,r.results)})),r.index++;return i.bind(r,a)}},7709:(e,t,a)=>{var n=a(910);e.exports=function(e,t,a){return n(e,t,null,a)}},910:(e,t,a)=>{var n=a(5099),o=a(3929),i=a(4567);function r(e,t){return et?1:0}e.exports=function(e,t,a,r){var s=o(e,a);return n(e,t,s,(function a(o,i){o?r(o,i):(s.index++,s.index<(s.keyedList||e).length?n(e,t,s,a):r(null,s.results))})),i.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,t){return-1*r(e,t)}},5607:(e,t,a)=>{e.exports=a(5353)},9e3:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),i=a(2314),r=a(8774),s=a(3685),c=a(5687),p=a(5572).http,u=a(5572).https,l=a(7310),d=a(9796),m=a(8593),f=a(8991),h=a(4418),x=/https:?/;function v(e,t,a){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=a,t.auth){var n=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+n}e.beforeRedirect=function(e){e.headers.host=e.host,v(e,t,e.href)}}e.exports=function(e){return new Promise((function(t,a){var b=function(e){t(e)},y=function(e){a(e)},g=e.data,w=e.headers;if("User-Agent"in w||"user-agent"in w?w["User-Agent"]||w["user-agent"]||(delete w["User-Agent"],delete w["user-agent"]):w["User-Agent"]="axios/"+m.version,g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return y(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}w["Content-Length"]=g.length}var k=void 0;e.auth&&(k=(e.auth.username||"")+":"+(e.auth.password||""));var j=i(e.baseURL,e.url),O=l.parse(j),_=O.protocol||"http:";if(!k&&O.auth){var S=O.auth.split(":");k=(S[0]||"")+":"+(S[1]||"")}k&&delete w.Authorization;var P=x.test(_),E=P?e.httpsAgent:e.httpAgent,A={path:r(O.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:w,agent:E,agents:{http:e.httpAgent,https:e.httpsAgent},auth:k};e.socketPath?A.socketPath=e.socketPath:(A.hostname=O.hostname,A.port=O.port);var C,z=e.proxy;if(!z&&!1!==z){var R=_.slice(0,-1)+"_proxy",q=process.env[R]||process.env[R.toUpperCase()];if(q){var H=l.parse(q),T=process.env.no_proxy||process.env.NO_PROXY,F=!0;if(T&&(F=!T.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||"."===e[0]&&O.hostname.substr(O.hostname.length-e.length)===e||O.hostname===e)}))),F&&(z={host:H.hostname,port:H.port,protocol:H.protocol},H.auth)){var D=H.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(A.headers.host=O.hostname+(O.port?":"+O.port:""),v(A,z,_+"//"+O.hostname+(O.port?":"+O.port:"")+A.path));var L=P&&(!z||x.test(z.protocol));e.transport?C=e.transport:0===e.maxRedirects?C=L?c:s:(e.maxRedirects&&(A.maxRedirects=e.maxRedirects),C=L?u:p),e.maxBodyLength>-1&&(A.maxBodyLength=e.maxBodyLength);var N=C.request(A,(function(t){if(!N.aborted){var a=t,i=t.req||N;if(204!==t.statusCode&&"HEAD"!==i.method&&!1!==e.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":a=a.pipe(d.createUnzip()),delete t.headers["content-encoding"]}var r={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:i};if("stream"===e.responseType)r.data=a,o(b,y,r);else{var s=[],c=0;a.on("data",(function(t){s.push(t),c+=t.length,e.maxContentLength>-1&&c>e.maxContentLength&&(a.destroy(),y(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,i)))})),a.on("error",(function(t){N.aborted||y(h(t,e,null,i))})),a.on("end",(function(){var t=Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=n.stripBOM(t))),r.data=t,o(b,y,r)}))}}}));if(N.on("error",(function(t){N.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||y(h(t,e,null,N))})),e.timeout){var U=parseInt(e.timeout,10);if(isNaN(U))return void y(f("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",N));N.setTimeout(U,(function(){N.abort(),y(f("timeout of "+U+"ms exceeded",e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",N))}))}e.cancelToken&&e.cancelToken.promise.then((function(e){N.aborted||(N.abort(),y(e))})),n.isStream(g)?g.on("error",(function(t){y(h(t,e,null,N))})).pipe(N):N.end(g)}))}},6156:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),i=a(9439),r=a(8774),s=a(2314),c=a(9229),p=a(7417),u=a(8991);e.exports=function(e){return new Promise((function(t,a){var l=e.data,d=e.headers,m=e.responseType;n.isFormData(l)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+x)}var v=s(e.baseURL,e.url);function b(){if(f){var n="getAllResponseHeaders"in f?c(f.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};o(t,a,i),f=null}}if(f.open(e.method.toUpperCase(),r(v,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,"onloadend"in f?f.onloadend=b:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(b)},f.onabort=function(){f&&(a(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){a(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),a(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var y=(e.withCredentials||p(v))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}"setRequestHeader"in f&&n.forEach(d,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),m&&"json"!==m&&(f.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),a(e),f=null)})),l||(l=null),f.send(l)}))}},5353:(e,t,a)=>{"use strict";var n=a(8114),o=a(5507),i=a(9080),r=a(532);function s(e){var t=new i(e),a=o(i.prototype.request,t);return n.extend(a,i.prototype,t),n.extend(a,t),a}var c=s(a(5786));c.Axios=i,c.create=function(e){return s(r(c.defaults,e))},c.Cancel=a(4183),c.CancelToken=a(637),c.isCancel=a(9234),c.all=function(e){return Promise.all(e)},c.spread=a(8620),c.isAxiosError=a(7816),e.exports=c,e.exports.default=c},4183: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},637:(e,t,a)=>{"use strict";var n=a(4183);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var a=this;e((function(e){a.reason||(a.reason=new n(e),t(a.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},9234:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},9080:(e,t,a)=>{"use strict";var n=a(8114),o=a(8774),i=a(7666),r=a(9659),s=a(532),c=a(639),p=c.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:p.transitional(p.boolean,"1.0.0"),forcedJSONParsing:p.transitional(p.boolean,"1.0.0"),clarifyTimeoutError:p.transitional(p.boolean,"1.0.0")},!1);var a=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var u=[r,void 0];for(Array.prototype.unshift.apply(u,a),u=u.concat(i),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var l=e;a.length;){var d=a.shift(),m=a.shift();try{l=d(l)}catch(e){m(e);break}}try{o=r(l)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,a){return this.request(s(a||{},{method:e,url:t,data:(a||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,a,n){return this.request(s(n||{},{method:e,url:t,data:a}))}})),e.exports=u},7666:(e,t,a)=>{"use strict";var n=a(8114);function o(){this.handlers=[]}o.prototype.use=function(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},2314:(e,t,a)=>{"use strict";var n=a(2483),o=a(8944);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},8991:(e,t,a)=>{"use strict";var n=a(4418);e.exports=function(e,t,a,o,i){var r=new Error(e);return n(r,t,a,o,i)}},9659:(e,t,a)=>{"use strict";var n=a(8114),o=a(2602),i=a(9234),r=a(5786);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||r.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4418:e=>{"use strict";e.exports=function(e,t,a,n,o){return e.config=t,a&&(e.code=a),e.request=n,e.response=o,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}},e}},532:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){t=t||{};var a={},o=["url","method","data"],i=["headers","auth","proxy","params"],r=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function p(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(a[e]=c(void 0,t[e]))})),n.forEach(i,p),n.forEach(r,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(void 0,t[o])})),n.forEach(s,(function(n){n in t?a[n]=c(e[n],t[n]):n in e&&(a[n]=c(void 0,e[n]))}));var u=o.concat(i).concat(r).concat(s),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return n.forEach(l,p),a}},5476:(e,t,a)=>{"use strict";var n=a(8991);e.exports=function(e,t,a){var o=a.config.validateStatus;a.status&&o&&!o(a.status)?t(n("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},2602:(e,t,a)=>{"use strict";var n=a(8114),o=a(5786);e.exports=function(e,t,a){var i=this||o;return n.forEach(a,(function(a){e=a.call(i,e,t)})),e}},5786:(e,t,a)=>{"use strict";var n=a(8114),o=a(678),i=a(4418),r={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,p={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?c=a(6156):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(c=a(9e3)),c),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,a){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,a=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,r=!a&&"json"===this.responseType;if(r||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(r){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, */*"}}};n.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){p.headers[e]=n.merge(r)})),e.exports=p},5507:e=>{"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),n=0;n{"use strict";var n=a(8114);function o(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,a){if(!t)return e;var i;if(a)i=a(t);else if(n.isURLSearchParams(t))i=t.toString();else{var r=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),r.push(o(t)+"="+o(e))})))})),i=r.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},8944:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9439:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,a,o,i,r){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(a)&&s.push("expires="+new Date(a).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===r&&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(){}}},2483:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7816:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(e){return"object"===t(e)&&!0===e.isAxiosError}},7417:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function o(e){var n=e;return t&&(a.setAttribute("href",n),n=a.href),a.setAttribute("href",n),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=o(window.location.href),function(t){var a=n.isString(t)?o(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return!0}},678:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){n.forEach(e,(function(a,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[n])}))}},9229:(e,t,a)=>{"use strict";var n=a(8114),o=["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,a,i,r={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),a=n.trim(e.substr(i+1)),t){if(r[t]&&o.indexOf(t)>=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([a]):r[t]?r[t]+", "+a:a}})),r):r}},8620:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},639:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(8593),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(a){return n(a)===e||"a"+(t<1?"n ":" ")+e}}));var r={},s=o.version.split(".");function c(e,t){for(var a=t?t.split("."):s,n=e.split("."),o=0;o<3;o++){if(a[o]>n[o])return!0;if(a[o]0;){var r=o[i],s=t[r];if(s){var c=e[r],p=void 0===c||s(c,r,e);if(!0!==p)throw new TypeError("option "+r+" must be "+p)}else if(!0!==a)throw Error("Unknown option "+r)}},validators:i}},8114:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(5507),i=Object.prototype.toString;function r(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===n(e)}function p(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!==n(e)&&(e=[e]),r(e))for(var a=0,o=e.length;a{"use strict";var n=a(459),o=a(5223),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var a=n(e,!!t);return"function"==typeof a&&i(e,".prototype.")>-1?o(a):a}},5223:(e,t,a)=>{"use strict";var n=a(3459),o=a(459),i=o("%Function.prototype.apply%"),r=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(r,i),c=o("%Object.getOwnPropertyDescriptor%",!0),p=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){var t=s(n,r,arguments);if(c&&p){var a=c(t,"length");a.configurable&&p(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var l=function(){return s(n,i,arguments)};p?p(e.exports,"apply",{value:l}):e.exports.apply=l},8670:(e,t,a)=>{var n=a(3837),o=a(2781).Stream,i=a(256);function r(){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=r,n.inherits(r,o),r.create=function(e){var t=new this;for(var a in e=e||{})t[a]=e[a];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.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},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.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)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},1820:e=>{function t(e){return t="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},t(e)}var a=1e3,n=60*a,o=60*n,i=24*o;function r(e,t,a,n){var o=t>=1.5*a;return Math.round(e/a)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var c,p,u=t(e);if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\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(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return r*i;case"hours":case"hour":case"hrs":case"hr":case"h":return r*o;case"minutes":case"minute":case"mins":case"min":case"m":return r*n;case"seconds":case"second":case"secs":case"sec":case"s":return r*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=i?r(c,p,i,"day"):p>=o?r(c,p,o,"hour"):p>=n?r(c,p,n,"minute"):p>=a?r(c,p,a,"second"):c+" ms"):function(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=n?Math.round(e/n)+"m":t>=a?Math.round(e/a)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},8682:(e,t,a)=>{var 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){var a="color: "+this.color;t.splice(1,0,a,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,a)}},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.destroy=(n=!1,function(){n||(n=!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||function(){},e.exports=a(3894)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3894:(e,t,a)=>{function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=a(8682):e.exports=a(6193)},6193:(e,t,a)=>{var n=a(6224),o=a(3837);t.init=function(e){e.inspectOpts={};for(var a=Object.keys(t.inspectOpts),n=0;n=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 a=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[a]=n,e}),{}),e.exports=a(3894)(t);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},256:(e,t,a)=>{var n=a(2781).Stream,o=a(3837);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,o.inherits(i,n),i.create=function(e,t){var a=new this;for(var n in t=t||{})a[n]=t[n];a.source=e;var o=e.emit;return e.emit=function(){return a._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),a.pauseStream&&e.pause(),a},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=n.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))}}},5600:(e,t,a)=>{var n;e.exports=function(){if(!n){try{n=a(987)("follow-redirects")}catch(e){}"function"!=typeof n&&(n=function(){})}n.apply(null,arguments)}},5572:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(7310),i=o.URL,r=a(3685),s=a(5687),c=a(2781).Writable,p=a(9491),u=a(5600),l=["abort","aborted","connect","error","socket","timeout"],d=Object.create(null);l.forEach((function(e){d[e]=function(t,a,n){this._redirectable.emit(e,t,a,n)}}));var m=k("ERR_FR_REDIRECTION_FAILURE",""),f=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),h=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),x=k("ERR_STREAM_WRITE_AFTER_END","write after end");function v(e,t){c.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 a=this;this._onNativeResponse=function(e){a._processResponse(e)},this._performRequest()}function b(e){var t={maxRedirects:21,maxBodyLength:10485760},a={};return Object.keys(e).forEach((function(n){var r=n+":",s=a[r]=e[n],c=t[n]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,n,s){if("string"==typeof e){var c=e;try{e=g(new i(c))}catch(t){e=o.parse(c)}}else i&&e instanceof i?e=g(e):(s=n,n=e,e={protocol:r});return"function"==typeof n&&(s=n,n=null),(n=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,n)).nativeProtocols=a,p.equal(n.protocol,r,"protocol mismatch"),u("options",n),new v(n,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,a){var n=c.request(e,t,a);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),t}function y(){}function g(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 a;for(var n in t)e.test(n)&&(a=t[n],delete t[n]);return a}function k(e,t){function a(e){Error.captureStackTrace(this,this.constructor),this.message=e||t}return a.prototype=new Error,a.prototype.constructor=a,a.prototype.name="Error ["+e+"]",a.prototype.code=e,a}function j(e){for(var t=0;t=300&&t<400){if(j(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new f);((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 n=w(/^host$/i,this._options.headers)||o.parse(this._currentUrl).hostname,i=o.resolve(this._currentUrl,a);u("redirecting to",i),this._isRedirect=!0;var r=o.parse(i);if(Object.assign(this._options,r),r.hostname!==n&&w(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new m("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=b({http:r,https:s}),e.exports.wrap=b},2876:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(8670),i=a(3837),r=a(1017),s=a(3685),c=a(5687),p=a(7310).parse,u=a(6231),l=a(5038),d=a(5863),m=a(3829);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,i.inherits(f,o),f.LINE_BREAK="\r\n",f.DEFAULT_CONTENT_TYPE="application/octet-stream",f.prototype.append=function(e,t,a){"string"==typeof(a=a||{})&&(a={filename:a});var n=o.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),i.isArray(t))this._error(new Error("Arrays are not supported."));else{var r=this._multiPartHeader(e,t,a),s=this._multiPartFooter();n(r),n(t),n(s),this._trackLength(r,t,a)}},f.prototype._trackLength=function(e,t,a){var n=0;null!=a.knownLength?n+=+a.knownLength:Buffer.isBuffer(t)?n=t.length:"string"==typeof t&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+f.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(a.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)):u.stat(e.path,(function(a,n){var o;a?t(a):(o=n.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(a){e.pause(),t(null,+a.headers["content-length"])})),e.resume()):t("Unknown stream")},f.prototype._multiPartHeader=function(e,t,a){if("string"==typeof a.header)return a.header;var o,i=this._getContentDisposition(t,a),r=this._getContentType(t,a),s="",c={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};for(var p in"object"==n(a.header)&&m(c,a.header),c)c.hasOwnProperty(p)&&null!=(o=c[p])&&(Array.isArray(o)||(o=[o]),o.length&&(s+=p+": "+o.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+s+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var a,n;return"string"==typeof t.filepath?a=r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?a=r.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=r.basename(e.client._httpMessage.path||"")),a&&(n='filename="'+a+'"'),n},f.prototype._getContentType=function(e,t){var a=t.contentType;return!a&&e.name&&(a=l.lookup(e.name)),!a&&e.path&&(a=l.lookup(e.path)),!a&&e.readable&&e.hasOwnProperty("httpVersion")&&(a=e.headers["content-type"]),a||!t.filepath&&!t.filename||(a=l.lookup(t.filepath||t.filename)),a||"object"!=n(e)||(a=f.DEFAULT_CONTENT_TYPE),a},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,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(a[t.toLowerCase()]=e[t]);return a},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(),a=0,n=this._streams.length;a{e.exports=function(e,t){return Object.keys(t).forEach((function(a){e[a]=e[a]||t[a]})),e}},5770:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",a=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var r,s=a.call(arguments,1),c=function(){if(this instanceof r){var t=i.apply(this,s.concat(a.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(a.call(arguments)))},p=Math.max(0,i.length-s.length),u=[],l=0;l{"use strict";var n=a(5770);e.exports=Function.prototype.bind||n},459:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o,i=SyntaxError,r=Function,s=TypeError,c=function(e){try{return r('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var u=function(){throw new s},l=p?function(){try{return u}catch(e){try{return p(arguments,"callee").get}catch(e){return u}}}():u,d=a(8681)(),m=Object.getPrototypeOf||function(e){return e.__proto__},f={},h="undefined"==typeof Uint8Array?o:m(Uint8Array),x={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":d?m([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%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%":r,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?m(m([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?m((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&&d?m((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?m(""[Symbol.iterator]()):o,"%Symbol%":d?Symbol:o,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":s,"%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},v=function e(t){var a;if("%AsyncFunction%"===t)a=c("async function () {}");else if("%GeneratorFunction%"===t)a=c("function* () {}");else if("%AsyncGeneratorFunction%"===t)a=c("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(a=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(a=m(o.prototype))}return x[t]=a,a},b={"%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"]},y=a(3459),g=a(8482),w=y.call(Function.call,Array.prototype.concat),k=y.call(Function.apply,Array.prototype.splice),j=y.call(Function.call,String.prototype.replace),O=y.call(Function.call,String.prototype.slice),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,P=function(e){var t=O(e,0,1),a=O(e,-1);if("%"===t&&"%"!==a)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===a&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,_,(function(e,t,a,o){n[n.length]=a?j(o,S,"$1"):t||e})),n},E=function(e,t){var a,n=e;if(g(b,n)&&(n="%"+(a=b[n])[0]+"%"),g(x,n)){var o=x[n];if(o===f&&(o=v(n)),void 0===o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');var a=P(e),n=a.length>0?a[0]:"",o=E("%"+n+"%",t),r=o.name,c=o.value,u=!1,l=o.alias;l&&(n=l[0],k(a,w([0,1],l)));for(var d=1,m=!0;d=a.length){var b=p(c,f);c=(m=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[f]}else m=g(c,f),c=c[f];m&&!u&&(x[r]=c)}}return c}},7222:e=>{"use strict";e.exports=function(e,t){t=t||process.argv;var a=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(a+e),o=t.indexOf("--");return-1!==n&&(-1===o||n{"use strict";function n(e){return n="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},n(e)}var o=global.Symbol,i=a(2636);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&i()}},2636:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===t(Symbol.iterator))return!0;var e={},a=Symbol("test"),n=Object(a);if("string"==typeof a)return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(a in e[a]=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]!==a)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,a))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,a);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},8482:(e,t,a)=>{"use strict";var n=a(3459);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(e,t,a)=>{var n=a(8842)(a(6378),"DataView");e.exports=n},9985:(e,t,a)=>{var n=a(4494),o=a(8002),i=a(6984),r=a(9930),s=a(1556);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(4160),o=a(4389),i=a(1710),r=a(4102),s=a(8594);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Map");e.exports=n},3648:(e,t,a)=>{var n=a(6518),o=a(7734),i=a(9781),r=a(7318),s=a(3882);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Promise");e.exports=n},658:(e,t,a)=>{var n=a(8842)(a(6378),"Set");e.exports=n},9306:(e,t,a)=>{var n=a(4619),o=a(1511),i=a(9931),r=a(875),s=a(2603),c=a(3926);function p(e){var t=this.__data__=new n(e);this.size=t.size}p.prototype.clear=o,p.prototype.delete=i,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},698:(e,t,a)=>{var n=a(6378).Symbol;e.exports=n},7474:(e,t,a)=>{var n=a(6378).Uint8Array;e.exports=n},4592:(e,t,a)=>{var n=a(8842)(a(6378),"WeakMap");e.exports=n},6878:e=>{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length;++a{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length,o=0,i=[];++a{var n=a(2916),o=a(9028),i=a(1380),r=a(6288),s=a(9345),c=a(3634),p=Object.prototype.hasOwnProperty;e.exports=function(e,t){var a=i(e),u=!a&&o(e),l=!a&&!u&&r(e),d=!a&&!u&&!l&&c(e),m=a||u||l||d,f=m?n(e.length,String):[],h=f.length;for(var x in e)!t&&!p.call(e,x)||m&&("length"==x||l&&("offset"==x||"parent"==x)||d&&("buffer"==x||"byteLength"==x||"byteOffset"==x)||s(x,h))||f.push(x);return f}},1659:e=>{e.exports=function(e,t){for(var a=-1,n=t.length,o=e.length;++a{var n=a(9372),o=a(5032),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,a){var r=e[t];i.call(e,t)&&o(r,a)&&(void 0!==a||t in e)||n(e,t,a)}},1694:(e,t,a)=>{var n=a(5032);e.exports=function(e,t){for(var a=e.length;a--;)if(n(e[a][0],t))return a;return-1}},7784:(e,t,a)=>{var n=a(1893),o=a(19);e.exports=function(e,t){return e&&n(t,o(t),e)}},4741:(e,t,a)=>{var n=a(1893),o=a(5168);e.exports=function(e,t){return e&&n(t,o(t),e)}},9372:(e,t,a)=>{var n=a(2626);e.exports=function(e,t,a){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}},3546:(e,t,a)=>{var n=a(9306),o=a(6878),i=a(8936),r=a(7784),s=a(4741),c=a(2037),p=a(6947),u=a(696),l=a(9193),d=a(2645),m=a(1391),f=a(1863),h=a(1208),x=a(2428),v=a(9662),b=a(1380),y=a(6288),g=a(3718),w=a(9294),k=a(4496),j=a(19),O=a(5168),_="[object Arguments]",S="[object Function]",P="[object Object]",E={};E[_]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E[P]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E[S]=E["[object WeakMap]"]=!1,e.exports=function e(t,a,A,C,z,R){var q,H=1&a,T=2&a,F=4&a;if(A&&(q=z?A(t,C,z,R):A(t)),void 0!==q)return q;if(!w(t))return t;var D=b(t);if(D){if(q=h(t),!H)return p(t,q)}else{var L=f(t),N=L==S||"[object GeneratorFunction]"==L;if(y(t))return c(t,H);if(L==P||L==_||N&&!z){if(q=T||N?{}:v(t),!H)return T?l(t,s(q,t)):u(t,r(q,t))}else{if(!E[L])return z?t:{};q=x(t,L,H)}}R||(R=new n);var U=R.get(t);if(U)return U;R.set(t,q),k(t)?t.forEach((function(n){q.add(e(n,a,A,n,t,R))})):g(t)&&t.forEach((function(n,o){q.set(o,e(n,a,A,o,t,R))}));var B=D?void 0:(F?T?m:d:T?O:j)(t);return o(B||t,(function(n,o){B&&(n=t[o=n]),i(q,o,e(n,a,A,o,t,R))})),q}},1843:(e,t,a)=>{var n=a(9294),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}();e.exports=i},523:(e,t,a)=>{var n=a(1659),o=a(1380);e.exports=function(e,t,a){var i=t(e);return o(e)?i:n(i,a(e))}},5822:(e,t,a)=>{var n=a(698),o=a(7389),i=a(5891),r=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?o(e):i(e)}},1325:(e,t,a)=>{var n=a(5822),o=a(9730);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},5959:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},517:(e,t,a)=>{var n=a(3081),o=a(2674),i=a(9294),r=a(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(r(e))}},5534:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},6750:(e,t,a)=>{var n=a(5822),o=a(4509),i=a(9730),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!r[n(e)]}},3148:(e,t,a)=>{var n=a(2053),o=a(2901),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var a in Object(e))i.call(e,a)&&"constructor"!=a&&t.push(a);return t}},3864:(e,t,a)=>{var n=a(9294),o=a(2053),i=a(476),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),a=[];for(var s in e)("constructor"!=s||!t&&r.call(e,s))&&a.push(s);return a}},2916:e=>{e.exports=function(e,t){for(var a=-1,n=Array(e);++a{e.exports=function(e){return function(t){return e(t)}}},4033:(e,t,a)=>{var n=a(7474);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},2037:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),i="object"==n(t)&&t&&!t.nodeType&&t,r=i&&"object"==n(e)&&e&&!e.nodeType&&e,s=r&&r.exports===i?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var a=e.length,n=c?c(a):new e.constructor(a);return e.copy(n),n}},3412:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}},7245:e=>{var t=/\w*$/;e.exports=function(e){var a=new e.constructor(e.source,t.exec(e));return a.lastIndex=e.lastIndex,a}},4683:(e,t,a)=>{var n=a(698),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},6985:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}},6947:e=>{e.exports=function(e,t){var a=-1,n=e.length;for(t||(t=Array(n));++a{var n=a(8936),o=a(9372);e.exports=function(e,t,a,i){var r=!a;a||(a={});for(var s=-1,c=t.length;++s{var n=a(1893),o=a(1399);e.exports=function(e,t){return n(e,o(e),t)}},9193:(e,t,a)=>{var n=a(1893),o=a(5716);e.exports=function(e,t){return n(e,o(e),t)}},1006:(e,t,a)=>{var n=a(6378)["__core-js_shared__"];e.exports=n},2626:(e,t,a)=>{var n=a(8842),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},4482:e=>{function t(e){return t="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},t(e)}var a="object"==("undefined"==typeof global?"undefined":t(global))&&global&&global.Object===Object&&global;e.exports=a},2645:(e,t,a)=>{var n=a(523),o=a(1399),i=a(19);e.exports=function(e){return n(e,i,o)}},1391:(e,t,a)=>{var n=a(523),o=a(5716),i=a(5168);e.exports=function(e){return n(e,i,o)}},320:(e,t,a)=>{var n=a(8474);e.exports=function(e,t){var a=e.__data__;return n(t)?a["string"==typeof t?"string":"hash"]:a.map}},8842:(e,t,a)=>{var n=a(517),o=a(6930);e.exports=function(e,t){var a=o(e,t);return n(a)?a:void 0}},7109:(e,t,a)=>{var n=a(839)(Object.getPrototypeOf,Object);e.exports=n},7389:(e,t,a)=>{var n=a(698),o=Object.prototype,i=o.hasOwnProperty,r=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),a=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=r.call(e);return n&&(t?e[s]=a:delete e[s]),o}},1399:(e,t,a)=>{var n=a(9501),o=a(4959),i=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,s=r?function(e){return null==e?[]:(e=Object(e),n(r(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},5716:(e,t,a)=>{var n=a(1659),o=a(7109),i=a(1399),r=a(4959),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:r;e.exports=s},1863:(e,t,a)=>{var n=a(1833),o=a(5914),i=a(9180),r=a(658),s=a(4592),c=a(5822),p=a(110),u="[object Map]",l="[object Promise]",d="[object Set]",m="[object WeakMap]",f="[object DataView]",h=p(n),x=p(o),v=p(i),b=p(r),y=p(s),g=c;(n&&g(new n(new ArrayBuffer(1)))!=f||o&&g(new o)!=u||i&&g(i.resolve())!=l||r&&g(new r)!=d||s&&g(new s)!=m)&&(g=function(e){var t=c(e),a="[object Object]"==t?e.constructor:void 0,n=a?p(a):"";if(n)switch(n){case h:return f;case x:return u;case v:return l;case b:return d;case y:return m}return t}),e.exports=g},6930:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},4494:(e,t,a)=>{var n=a(1303);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6984:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return o.call(t,e)?t[e]:void 0}},9930:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},1556:(e,t,a)=>{var n=a(1303);e.exports=function(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},1208:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var a=e.length,n=new e.constructor(a);return a&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},2428:(e,t,a)=>{var n=a(4033),o=a(3412),i=a(7245),r=a(4683),s=a(6985);e.exports=function(e,t,a){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,a);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,a);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return i(e);case"[object Symbol]":return r(e)}}},9662:(e,t,a)=>{var n=a(1843),o=a(7109),i=a(2053);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},9345:e=>{function t(e){return t="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},t(e)}var a=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=t(e);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&a.test(e))&&e>-1&&e%1==0&&e{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==e:null===e}},2674:(e,t,a)=>{var n,o=a(1006),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},2053:e=>{var t=Object.prototype;e.exports=function(e){var a=e&&e.constructor;return e===("function"==typeof a&&a.prototype||t)}},4160:e=>{e.exports=function(){this.__data__=[],this.size=0}},4389:(e,t,a)=>{var n=a(1694),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,a=n(t,e);return!(a<0||(a==t.length-1?t.pop():o.call(t,a,1),--this.size,0))}},1710:(e,t,a)=>{var n=a(1694);e.exports=function(e){var t=this.__data__,a=n(t,e);return a<0?void 0:t[a][1]}},4102:(e,t,a)=>{var n=a(1694);e.exports=function(e){return n(this.__data__,e)>-1}},8594:(e,t,a)=>{var n=a(1694);e.exports=function(e,t){var a=this.__data__,o=n(a,e);return o<0?(++this.size,a.push([e,t])):a[o][1]=t,this}},6518:(e,t,a)=>{var n=a(9985),o=a(4619),i=a(5914);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},7734:(e,t,a)=>{var n=a(320);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},9781:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).get(e)}},7318:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).has(e)}},3882:(e,t,a)=>{var n=a(320);e.exports=function(e,t){var a=n(this,e),o=a.size;return a.set(e,t),this.size+=a.size==o?0:1,this}},1303:(e,t,a)=>{var n=a(8842)(Object,"create");e.exports=n},2901:(e,t,a)=>{var n=a(839)(Object.keys,Object);e.exports=n},476:e=>{e.exports=function(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}},7873:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(4482),i="object"==n(t)&&t&&!t.nodeType&&t,r=i&&"object"==n(e)&&e&&!e.nodeType&&e,s=r&&r.exports===i&&o.process,c=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=c},5891:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},839:e=>{e.exports=function(e,t){return function(a){return e(t(a))}}},6378:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(4482),i="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},1511:(e,t,a)=>{var n=a(4619);e.exports=function(){this.__data__=new n,this.size=0}},9931:e=>{e.exports=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}},875:e=>{e.exports=function(e){return this.__data__.get(e)}},2603:e=>{e.exports=function(e){return this.__data__.has(e)}},3926:(e,t,a)=>{var n=a(4619),o=a(5914),i=a(3648);e.exports=function(e,t){var a=this.__data__;if(a instanceof n){var r=a.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++a.size,this;a=this.__data__=new i(r)}return a.set(e,t),this.size=a.size,this}},110:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7780:(e,t,a)=>{var n=a(3546);e.exports=function(e){return n(e,5)}},5032:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9028:(e,t,a)=>{var n=a(1325),o=a(9730),i=Object.prototype,r=i.hasOwnProperty,s=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&r.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1380:e=>{var t=Array.isArray;e.exports=t},6214:(e,t,a)=>{var n=a(3081),o=a(4509);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},6288:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),i=a(6408),r="object"==n(t)&&t&&!t.nodeType&&t,s=r&&"object"==n(e)&&e&&!e.nodeType&&e,c=s&&s.exports===r?o.Buffer:void 0,p=(c?c.isBuffer:void 0)||i;e.exports=p},3081:(e,t,a)=>{var n=a(5822),o=a(9294);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4509:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3718:(e,t,a)=>{var n=a(5959),o=a(3184),i=a(7873),r=i&&i.isMap,s=r?o(r):n;e.exports=s},9294:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return null!=e&&("object"==a||"function"==a)}},9730:e=>{function t(e){return t="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},t(e)}e.exports=function(e){return null!=e&&"object"==t(e)}},4496:(e,t,a)=>{var n=a(5534),o=a(3184),i=a(7873),r=i&&i.isSet,s=r?o(r):n;e.exports=s},3634:(e,t,a)=>{var n=a(6750),o=a(3184),i=a(7873),r=i&&i.isTypedArray,s=r?o(r):n;e.exports=s},19:(e,t,a)=>{var n=a(1832),o=a(3148),i=a(6214);e.exports=function(e){return i(e)?n(e):o(e)}},5168:(e,t,a)=>{var n=a(1832),o=a(3864),i=a(6214);e.exports=function(e){return i(e)?n(e,!0):o(e)}},4959:e=>{e.exports=function(){return[]}},6408:e=>{e.exports=function(){return!1}},5718:(e,t,a)=>{e.exports=a(3765)},5038:(e,t,a)=>{"use strict";var n,o,i,r=a(5718),s=a(1017).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),a=t&&r[t[1].toLowerCase()];return a&&a.charset?a.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var a=-1===e.indexOf("/")?t.lookup(e):e;if(!a)return!1;if(-1===a.indexOf("charset")){var n=t.charset(a);n&&(a+="; charset="+n.toLowerCase())}return a},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var a=c.exec(e),n=a&&t.extensions[a[1].toLowerCase()];return!(!n||!n.length)&&n[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var a=s("x."+e).toLowerCase().substr(1);return a&&t.types[a]||!1},t.types=Object.create(null),n=t.extensions,o=t.types,i=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var t=r[e],a=t.extensions;if(a&&a.length){n[e]=a;for(var s=0;su||p===u&&"application/"===o[c].substr(0,12)))continue}o[c]=e}}}))},266:e=>{"use strict";var t=String.prototype.replace,a=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},903:(e,t,a)=>{"use strict";var n=a(4479),o=a(7877),i=a(266);e.exports={formats:i,parse:o,stringify:n}},7877:(e,t,a)=>{"use strict";var n=a(1640),o=Object.prototype.hasOwnProperty,i=Array.isArray,r={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,t,a,n){if(e){var i=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=a.depth>0&&/(\[[^[\]]*])/.exec(i),p=s?i.slice(0,s.index):i,u=[];if(p){if(!a.plainObjects&&o.call(Object.prototype,p)&&!a.allowPrototypes)return;u.push(p)}for(var l=0;a.depth>0&&null!==(s=r.exec(i))&&l=0;--i){var r,s=e[i];if("[]"===s&&a.parseArrays)r=[].concat(o);else{r=a.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);a.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&a.parseArrays&&u<=a.arrayLimit?(r=[])[u]=o:r[p]=o:r={0:o}}o=r}return o}(u,t,a,n)}};e.exports=function(e,t){var a=function(e){if(!e)return r;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?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:r.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(t);if(""===e||null==e)return a.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var a,p={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,l),m=-1,f=t.charset;if(t.charsetSentinel)for(a=0;a-1&&(x=i(x)?[x]:x),o.call(p,h)?p[h]=n.combine(p[h],x):p[h]=x}return p}(e,a):e,l=a.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m{"use strict";function n(e){return n="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},n(e)}var o=a(3796),i=a(1640),r=a(266),s=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},p=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,p(t)?t:[t])},d=Date.prototype.toISOString,m=r.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:m,formatter:r.formatters[m],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h=function e(t,a,r,s,c,u,d,m,h,x,v,b,y,g,w){var k,j=t;if(w.has(t))throw new RangeError("Cyclic object value");if("function"==typeof d?j=d(a,j):j instanceof Date?j=x(j):"comma"===r&&p(j)&&(j=i.maybeMap(j,(function(e){return e instanceof Date?x(e):e}))),null===j){if(s)return u&&!y?u(a,f.encoder,g,"key",v):a;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||i.isBuffer(j))return u?[b(y?a:u(a,f.encoder,g,"key",v))+"="+b(u(j,f.encoder,g,"value",v))]:[b(a)+"="+b(String(j))];var O,_=[];if(void 0===j)return _;if("comma"===r&&p(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(p(d))O=d;else{var S=Object.keys(j);O=m?S.sort(m):S}for(var P=0;P0?w+g:""}},1640:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(266),i=Object.prototype.hasOwnProperty,r=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var a=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),a=t.obj[t.prop];if(r(a)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||r===o.RFC1738&&(40===l||41===l)?p+=c.charAt(u):l<128?p+=s[l]:l<2048?p+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?p+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),p+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return p},isBuffer:function(e){return!(!e||"object"!==n(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(r(e)){for(var a=[],n=0;n{function n(e){return n="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},n(e)}var o=function(e){"use strict";var t,a=Object.prototype,o=a.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function p(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,a){return e[t]=a}}function u(e,t,a,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),r=new A(n||[]);return i._invoke=function(e,t,a){var n=d;return function(o,i){if(n===f)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return z()}for(a.method=o,a.arg=i;;){var r=a.delegate;if(r){var s=S(r,a);if(s){if(s===x)continue;return s}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===d)throw n=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=f;var c=l(e,t,a);if("normal"===c.type){if(n=a.done?h:m,c.arg===x)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(n=h,a.method="throw",a.arg=c.arg)}}}(e,a,r),i}function l(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",m="suspendedYield",f="executing",h="completed",x={};function v(){}function b(){}function y(){}var g={};p(g,r,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(C([])));k&&k!==a&&o.call(k,r)&&(g=k);var j=y.prototype=v.prototype=Object.create(g);function O(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function a(i,r,s,c){var p=l(e[i],e,r);if("throw"!==p.type){var u=p.arg,d=u.value;return d&&"object"===n(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){a("next",e,s,c)}),(function(e){a("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return a("throw",e,s,c)}))}c(p.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,o){a(e,n,t,o)}))}return i=i?i.then(o,o):o()}}function S(e,a){var n=e.iterator[a.method];if(n===t){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=t,S(e,a),"throw"===a.method))return x;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return x}var o=l(n,e.iterator,a.arg);if("throw"===o.type)return a.method="throw",a.arg=o.arg,a.delegate=null,x;var i=o.arg;return i?i.done?(a[e.resultName]=i.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,x):i:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,x)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function C(e){if(e){var a=e[r];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function a(){for(;++n=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=o.call(r,"catchLoc"),p=o.call(r,"finallyLoc");if(c&&p){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),E(a),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var o=n.arg;E(a)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,n){return this.delegate={iterator:C(e),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=t),x}},e}("object"===n(e=a.nmd(e))?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(459),i=a(2639),r=a(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),p=o("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),m=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),x=function(e,t){for(var a,n=e;null!==(a=n.next);n=a)if(a.key===t)return n.next=a.next,a.next=e.next,e.next=a,a};e.exports=function(){var e,t,a,o={assert:function(e){if(!o.has(e))throw new s("Side channel does not contain "+r(e))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return u(e,o)}else if(p){if(t)return m(t,o)}else if(a)return function(e,t){var a=x(e,t);return a&&a.value}(a,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return d(e,o)}else if(p){if(t)return h(t,o)}else if(a)return function(e,t){return!!x(e,t)}(a,o);return!1},set:function(o,i){c&&o&&("object"===n(o)||"function"==typeof o)?(e||(e=new c),l(e,o,i)):p?(t||(t=new p),f(t,o,i)):(a||(a={key:{},next:null}),function(e,t,a){var n=x(e,t);n?n.value=a:e.next={key:t,next:e.next,value:a}}(a,o,i))}};return o}},4562:(e,t,a)=>{function n(e){return n="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},n(e)}var o="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=o&&i&&"function"==typeof i.get?i.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&p&&"function"==typeof p.get?p.get:null,l=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,x=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,y="function"==typeof BigInt?BigInt.prototype.valueOf:null,g=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),_=a(7075).custom,S=_&&z(_)?_:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function E(e,t,a){var n="double"===(a.quoteStyle||t)?'"':"'";return n+e+n}function A(e){return String(e).replace(/"/g,""")}function C(e){return!("[object Array]"!==H(e)||P&&"object"===n(e)&&P in e)}function z(e){if(k)return e&&"object"===n(e)&&e instanceof Symbol;if("symbol"===n(e))return!0;if(!e||"object"!==n(e)||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}e.exports=function e(t,a,o,i){var c=a||{};if(q(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=!q(c,"customInspect")||c.customInspect;if("boolean"!=typeof p&&"symbol"!==p)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return F(t,c);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var x=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=x&&x>0&&"object"===n(t))return C(t)?"[Array]":"[Object]";var g,j=function(e,t){var a;if("\t"===e.indent)a="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;a=Array(e.indent+1).join(" ")}return{base:a,prev:Array(t+1).join(a)}}(c,o);if(void 0===i)i=[];else if(T(i,t)>=0)return"[Circular]";function _(t,a,n){if(a&&(i=i.slice()).push(a),n){var r={depth:c.depth};return q(c,"quoteStyle")&&(r.quoteStyle=c.quoteStyle),e(t,r,o+1,i)}return e(t,c,o+1,i)}if("function"==typeof t){var R=function(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),D=I(t,_);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(D.length>0?" { "+D.join(", ")+" }":"")}if(z(t)){var M=k?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(t);return"object"!==n(t)||k?M:L(M)}if((g=t)&&"object"===n(g)&&("undefined"!=typeof HTMLElement&&g instanceof HTMLElement||"string"==typeof g.nodeName&&"function"==typeof g.getAttribute)){for(var W="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],$=0;$"}if(C(t)){if(0===t.length)return"[]";var V=I(t,_);return j&&!function(e){for(var t=0;t=0)return!1;return!0}(V)?"["+B(V,j)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||P&&"object"===n(e)&&P in e)}(t)){var J=I(t,_);return 0===J.length?"["+String(t)+"]":"{ ["+String(t)+"] "+J.join(", ")+" }"}if("object"===n(t)&&p){if(S&&"function"==typeof t[S])return t[S]();if("symbol"!==p&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!==n(e))return!1;try{r.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var K=[];return s.call(t,(function(e,a){K.push(_(a,t,!0)+" => "+_(e,t))})),U("Map",r.call(t),K,j)}if(function(e){if(!u||!e||"object"!==n(e))return!1;try{u.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var Q=[];return l.call(t,(function(e){Q.push(_(e,t))})),U("Set",u.call(t),Q,j)}if(function(e){if(!d||!e||"object"!==n(e))return!1;try{d.call(e,d);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return N("WeakMap");if(function(e){if(!m||!e||"object"!==n(e))return!1;try{m.call(e,m);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return N("WeakSet");if(function(e){if(!f||!e||"object"!==n(e))return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return N("WeakRef");if(function(e){return!("[object Number]"!==H(e)||P&&"object"===n(e)&&P in e)}(t))return L(_(Number(t)));if(function(e){if(!e||"object"!==n(e)||!y)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return L(_(y.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||P&&"object"===n(e)&&P in e)}(t))return L(h.call(t));if(function(e){return!("[object String]"!==H(e)||P&&"object"===n(e)&&P in e)}(t))return L(_(String(t)));if(!function(e){return!("[object Date]"!==H(e)||P&&"object"===n(e)&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==H(e)||P&&"object"===n(e)&&P in e)}(t)){var Y=I(t,_),X=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,Z=t instanceof Object?"":"null prototype",ee=!X&&P&&Object(t)===t&&P in t?H(t).slice(8,-1):Z?"Object":"",te=(X||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ee||Z?"["+[].concat(ee||[],Z||[]).join(": ")+"] ":"");return 0===Y.length?te+"{}":j?te+"{"+B(Y,j)+"}":te+"{ "+Y.join(", ")+" }"}return String(t)};var R=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return R.call(e,t)}function H(e){return x.call(e)}function T(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,n=e.length;at.maxStringLength){var a=e.length-t.maxStringLength,n="... "+a+" more character"+(a>1?"s":"");return F(e.slice(0,t.maxStringLength),t)+n}return E(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,D),"single",t)}function D(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function L(e){return"Object("+e+")"}function N(e){return e+" { ? }"}function U(e,t,a,n){return e+" ("+t+") {"+(n?B(a,n):a.join(", "))+"}"}function B(e,t){if(0===e.length)return"";var a="\n"+t.prev+t.base;return a+e.join(","+a)+"\n"+t.prev}function I(e,t){var a=C(e),n=[];if(a){n.length=e.length;for(var o=0;o{e.exports=a(3837).inspect},346:(e,t,a)=>{"use strict";var n,o=a(9563),i=a(7222),r=process.env;function s(e){var t=function(e){if(!1===n)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==n)return 0;var t=n?1:0;if("win32"===process.platform){var a=o.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:t;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}i("no-color")||i("no-colors")||i("color=false")?n=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(n=!0),"FORCE_COLOR"in r&&(n=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},6231:e=>{"use strict";e.exports=require("fs")},9491:e=>{"use strict";e.exports=require("assert")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},9563:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},8593:e=>{"use strict";e.exports=JSON.parse('{"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#USER","/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')},3765: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/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/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/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},"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/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/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":{"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},"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/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/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/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"},"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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"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.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.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.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.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.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.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.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.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.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.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.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.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},"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-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"},"image/avcs":{"source":"iana"},"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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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/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.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/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/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}}')}},t={};function a(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n](i,i.exports,a),i.loaded=!0,i.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n=a(6005);module.exports=n})(); \ No newline at end of file diff --git a/dist/react-native/contentstack-management.js b/dist/react-native/contentstack-management.js index ef037a80..e36447f6 100644 --- a/dist/react-native/contentstack-management.js +++ b/dist/react-native/contentstack-management.js @@ -1 +1 @@ -module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=171)}([function(t,e,r){var n=r(67);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(137)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(54),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=P(t),n=r.length>0?r[0]:"",a=S("%"+n+"%",e),s=a.name,u=a.value,p=!1,f=a.alias;f&&(n=f[0],w(r,g([0,1],f)));for(var l=1,h=!0;l=r.length){var x=c(u,d);u=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:u[d]}else h=m(u,d),u=u[d];h&&!p&&(y[s]=u)}}return u}},function(t,e,r){"use strict";var n=r(147);t.exports=Function.prototype.bind||n},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13),o=r(9);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e;t.exports=n}).call(this,r(38))},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(41),o=r(35),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(99);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(101),o=r(102),a=r(23),i=r(43),s=r(105),c=r(106),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},function(t,e,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(7),a=r(104),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,r(17)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(36),o=r(44);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(49),o=r(50),a=r(28),i=r(47),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(52))},function(t,e,r){"use strict";var n=r(4),o=r(160),a=r(162),i=r(55),s=r(163),c=r(166),u=r(167),p=r(59);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(p("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(p("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,r){"use strict";var n=r(161);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(138),o=r(139),a=r(140),i=r(142);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(143),o=r(153),a=r(33);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(68),o=r(98),a=r(40),i=r(100),s=r(110),c=r(113),u=r(114),p=r(115),f=r(117),l=r(118),h=r(119),d=r(29),y=r(124),b=r(125),v=r(131),m=r(23),g=r(43),w=r(133),x=r(9),k=r(135),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,S,_,A,E){var H,D=1&r,R=2&r,C=4&r;if(S&&(H=A?S(e,_,A,E):S(e)),void 0!==H)return H;if(!x(e))return e;var T=m(e);if(T){if(H=y(e),!D)return u(e,H)}else{var N=d(e),L="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||L&&!A){if(H=R||L?{}:v(e),!D)return R?f(e,s(H,e)):p(e,i(H,e))}else{if(!P[N])return A?e:{};H=b(e,N,D)}}E||(E=new n);var U=E.get(e);if(U)return U;E.set(e,H),k(e)?e.forEach((function(n){H.add(t(n,r,S,n,e,E))})):w(e)&&e.forEach((function(n,o){H.set(o,t(n,r,S,o,e,E))}));var F=T?void 0:(C?R?h:l:R?O:j)(e);return o(F||e,(function(n,o){F&&(n=e[o=n]),a(H,o,t(n,r,S,o,e,E))})),H}},function(t,e,r){var n=r(11),o=r(74),a=r(75),i=r(76),s=r(77),c=r(78);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(85);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(36),o=r(82),a=r(9),i=r(39),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(83),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(86),o=r(93),a=r(95),i=r(96),s=r(97);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(141);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?x+w:""}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(31),a=r(149),i=r(151),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},function(t,e,r){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=e.Symbol,a=r(146);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===n(o("foo"))&&("symbol"===n(Symbol("bar"))&&a())))}}).call(this,r(38))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==a.call(e))throw new TypeError(n+e);for(var r,i=o.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,i.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,i.concat(o.call(arguments)))},c=Math.max(0,e.length-i.length),u=[],p=0;p-1?o(r):r}},function(t,e,r){"use strict";var n=r(32),o=r(31),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(152).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==T(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",r)}(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(N(a,e)>=0)return"[Circular]";function j(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var P=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,j);return"[Function"+(P?": "+P:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(D(e)){var B=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?B:U(B)}if(function(t){if(!t||"object"!==n(t))return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var z="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var G=q(e,j);return w&&!function(t){for(var e=0;e=0)return!1;return!0}(G)?"["+M(G,w)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return!("[object Error]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=q(e,j);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var J=[];return s.call(e,(function(t,r){J.push(j(r,e,!0)+" => "+j(t,e))})),I("Map",i.call(e),J,w)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return f.call(e,(function(t){Q.push(j(t,e))})),I("Set",p.call(e),Q,w)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return U(j(g.call(e)));if(function(t){return!("[object Boolean]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(y.call(e));if(function(t){return!("[object String]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(String(e)));if(!function(t){return!("[object Date]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=q(e,j),K=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",Z=!K&&_&&Object(e)===e&&_ in e?T(e).slice(8,-1):Y?"Object":"",tt=(K||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Z||Y?"["+[].concat(Z||[],Y||[]).join(": ")+"] ":"");return 0===X.length?tt+"{}":w?tt+"{"+M(X,w)+"}":tt+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function T(t){return b.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(61);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(62),i=r(0),s=r.n(i),c=r(18),u=r(2),p=r.n(u),f=r(1),l=r.n(f);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(63),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=p()(l.a.mark((function r(){var s;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=p()(l.a.mark((function r(){var n;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),f=function(){var r=p()(l.a.mark((function r(){var s,c;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:f}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=p()(l.a.mark((function t(e){var r,n,o,a,i,c,u,p;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(t){var e=t.http,r=t.params;return function(){var t=p()(l.a.mark((function t(n,o){var a,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},s()(r)),s()(this.stackHeaders)),params:x({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,R(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},_=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},A=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i,c=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},s()(this.stackHeaders)),params:x({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,R(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return p()(l.a.mark((function e(){var r,n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:x({},s()(this.stackHeaders)),params:x({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},H=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,R(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function R(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=A(t,"role"),this.delete=E(t),this.fetch=H(t,"role"))):(this.create=S({http:t}),this.fetchAll=D(t,T),this.query=_({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,zt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,F)}function F(t,e){return s()(e.organizations||[]).map((function(e){return new U(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=A(t,"content_type"),this.delete=E(t),this.fetch=H(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new G(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=S({http:t}),this.query=_({http:t,wrapperCollection:X}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(s()(e.content_types)||[]).map((function(r){return new Q(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=A(t,"global_field"),this.delete=E(t),this.fetch=H(t,"global_field")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Z}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=A(t,"token"),this.delete=E(t),this.fetch=H(t,"token")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=A(t,"environment"),this.delete=E(t),this.fetch=H(t,"environment")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset")):this.create=S({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset"),this.replace=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=k(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=_({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new W.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object(V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=A(t,"locale"),this.delete=E(t),this.fetch=H(t,"locale")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:pt})),this}function pt(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var ft=r(64),lt=r.n(ft);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=A(t,"extension"),this.delete=E(t),this.fetch=H(t,"extension")):(this.upload=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=S({http:t}),this.query=_({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new W.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object(V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=A(t,"webhook"),this.delete=E(t),this.fetch=H(t,"webhook"),this.executions=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=A(t,"publishing_rule"),this.delete=E(t),this.fetch=H(t,"publishing_rule")):(this.create=S({http:t}),this.fetchAll=D(t,kt))}function kt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=A(t,"workflow"),this.disable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=H(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=p()(l.a.mark((function e(n){var o,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,kt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=S({http:t}),this.fetchAll=D(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function St(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=p()(l.a.mark((function n(o){var a,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:At({},s()(e.stackHeaders)),data:At({},s()(o)),params:At({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=p()(l.a.mark((function n(o){var a,i;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:At({},s()(e.stackHeaders)),params:At({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,Ht));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=A(t,"release"),this.fetch=H(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw h(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/publish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/unpublish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=A(t,"label"),this.delete=E(t),this.fetch=H(t,"label")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:It}))}function It(t,e){return(s()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new Q(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Ut(t,e)},this.users=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",B(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=p()(l.a.mark((function e(){var n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:qt({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=p()(l.a.mark((function e(){var n,o,a,i=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:qt({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=S({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=_({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new q(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new q(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Vt({},s()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var $t=r(65),Jt=r.n($t),Qt=r(66),Xt=r.n(Qt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=te(te({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Yt.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Gt({http:i});return u}}]); \ No newline at end of file +(()=>{var t={3785:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>se});const o="1.2.4";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,N(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},E=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,N(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},H=function(t){return f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},i()(this.stackHeaders)),params:k({},i()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,N(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function N(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=E(t,"role"),this.delete=H(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,zt));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,I)}function I(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=E(t,"content_type"),this.delete=H(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=E(t,"global_field"),this.delete=H(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=E(t,"token"),this.delete=H(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=E(t,"environment"),this.delete=H(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=E(t,"locale"),this.delete=H(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=E(t,"extension"),this.delete=H(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=E(t,"webhook"),this.delete=H(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,N(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=E(t,"publishing_rule"),this.delete=H(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,kt))}function kt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=E(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=H(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,kt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Nt(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Nt(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Ht));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=E(t,"release"),this.fetch=D(t,"release"),this.delete=H(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Nt(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Ct})),this}function Ct(t,e){return(i()(e.releases)||[]).map((function(r){return new Nt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=E(t,"label"),this.delete=H(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:It}))}function It(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Nt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Mt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Mt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Gt({},i()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=Zt(Zt({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Xt().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=Zt(Zt({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=ie(ie({},e),i()(t))).headers=ie(ie({},t.headers),a);var s=oe(t),c=Vt({http:s});return c}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),x=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],k(r,x([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),x=r(9294),k=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,E,H,D,R){var N,C=1&r,T=2&r,U=4&r;if(E&&(N=D?E(e,H,D,R):E(e)),void 0!==N)return N;if(!x(e))return e;var L=m(e);if(L){if(N=y(e),!C)return u(e,N)}else{var F=d(e),I=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,C);if(F==_||F==S||I&&!D){if(N=T||I?{}:v(e),!C)return T?l(e,s(N,e)):p(e,i(N,e))}else{if(!A[F])return D?e:{};N=b(e,F,C)}}R||(R=new n);var q=R.get(e);if(q)return q;R.set(e,N),k(e)?e.forEach((function(n){N.add(t(n,r,E,n,e,R))})):w(e)&&e.forEach((function(n,o){N.set(o,t(n,r,E,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(N,o,t(n,r,E,o,e,R))})),N}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,l=function(t,e){p.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,f,h,y,b,v,m,g,w,x){var k,j=e;if(x.has(e))throw new RangeError("Cyclic object value");if("function"==typeof f?j=f(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,S=[];if(void 0===j)return S;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(f))O=f;else{var P=Object.keys(j);O=h?P.sort(h):P}for(var _=0;_0?x+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(H([])));k&&k!==r&&o.call(k,i)&&(w=k);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function H(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:H(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),S=r(7165).custom,P=S&&D(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==C(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(N(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!N(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function S(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return N(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,S);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var J=B(e,S);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,S);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(S(r,e,!0)+" => "+S(t,e))})),q("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(S(t,e))})),q("Set",p.call(e),K,j)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return I("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return I("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return I("WeakRef");if(function(t){return!("[object Number]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(S(g.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(String(e)));if(!function(t){return!("[object Date]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,S),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?C(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function N(t,e){return R.call(t,e)}function C(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function I(t){return t+" { ? }"}function q(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#USER","/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(3785);module.exports=n})(); \ No newline at end of file diff --git a/dist/web/contentstack-management.js b/dist/web/contentstack-management.js index b39aa421..fddaa4e9 100644 --- a/dist/web/contentstack-management.js +++ b/dist/web/contentstack-management.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentstack-management"]=e():t["contentstack-management"]=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=171)}([function(t,e,r){var n=r(67);t.exports=function(t){return n(t,5)}},function(t,e,r){t.exports=r(137)},function(t,e){function r(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function s(t){r(i,o,a,s,c,"next",t)}function c(t){r(i,o,a,s,c,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(54),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=P(t),n=r.length>0?r[0]:"",a=S("%"+n+"%",e),s=a.name,u=a.value,p=!1,f=a.alias;f&&(n=f[0],w(r,g([0,1],f)));for(var l=1,h=!0;l=r.length){var x=c(u,d);u=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:u[d]}else h=m(u,d),u=u[d];h&&!p&&(y[s]=u)}}return u}},function(t,e,r){"use strict";var n=r(147);t.exports=Function.prototype.bind||n},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13),o=r(9);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e;t.exports=n}).call(this,r(38))},function(t,e){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(41),o=r(35),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(99);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(101),o=r(102),a=r(23),i=r(43),s=r(105),c=r(106),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},function(t,e,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(7),a=r(104),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,r(17)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(36),o=r(44);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(49),o=r(50),a=r(28),i=r(47),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r1)for(var r=1;r1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r(52))},function(t,e,r){"use strict";var n=r(4),o=r(160),a=r(162),i=r(55),s=r(163),c=r(166),u=r(167),p=r(59);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(d+":"+y)}var b=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,a),h=null}},h.onabort=function(){h&&(r(p("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(p("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var v=(t.withCredentials||u(b))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(l[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,r){"use strict";var n=r(161);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t){t.exports=JSON.parse('{"name":"@contentstack/management","version":"1.2.4","description":"The Content Management API is used to manage the content of your Contentstack account","main":"dist/node/contentstack-management.js","browser":"dist/web/contentstack-management.js","directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/contentstack/contentstack-management-javascript.git"},"nyc":{"exclude":["**/bulkOperation","**/items","**/test"]},"scripts":{"clean":"rimraf coverage && rimraf dist","build":"npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall","build:es5":"BABEL_ENV=es5 babel lib -d dist/es5","build:es-modules":"BABEL_ENV=es-modules babel lib -d dist/es-modules","buildall":"npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript","buildnode":"webpack --config webpack/webpack.node.js --mode production","buildreactnative":"webpack --config webpack/webpack.react-native.js --mode production","buildnativescript":"webpack --config webpack/webpack.nativescript.js --mode production","buildweb":"webpack --config webpack/webpack.web.js --mode production","test":"npm run test:api && npm run test:unit","test:api":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill","test:unit":"BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill","test:debug":"BABEL_ENV=test mocha debug --require @babel/register ./test","lint":"eslint lib test","format":"eslint --fix lib test","prepare":"npm run build && npm run generate:docs","pretest":"rimraf coverage && npm run lint","precommit":"npm run lint","prepush":"npm run test:unit","generate:docs":"node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"},"engines":{"node":">=8.0.0"},"author":"Contentstack","license":"MIT","dependencies":{"axios":"^0.21.1","form-data":"^3.0.1","lodash":"^4.17.21","qs":"^6.10.1"},"keywords":["contentstack management api","contentstack","management api"],"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@babel/register":"^7.14.5","@babel/runtime":"^7.14.6","@types/mocha":"^7.0.2","axios-mock-adapter":"^1.19.0","babel-loader":"^8.2.2","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-rewire":"^1.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-polyfill":"^6.26.0","chai":"^4.3.4","docdash":"^1.2.0","dotenv":"^8.6.0","eslint":"^6.6.0","eslint-config-standard":"^13.0.1","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^4.1.0","jsdoc":"^3.6.7","mocha":"^7.2.0","mochawesome":"^4.1.0","multiparty":"^4.2.2","nock":"^10.0.6","nyc":"^14.1.1","rimraf":"^2.7.1","sinon":"^7.3.2","string-replace-loader":"^2.3.0","webpack":"^5.45.1","webpack-cli":"^3.3.12","webpack-merge":"4.1.0"},"homepage":"https://www.contentstack.com"}')},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(138),o=r(139),a=r(140),i=r(142);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(143),o=r(153),a=r(33);t.exports={formats:a,parse:o,stringify:n}},function(t,e,r){var n=r(68),o=r(98),a=r(40),i=r(100),s=r(110),c=r(113),u=r(114),p=r(115),f=r(117),l=r(118),h=r(119),d=r(29),y=r(124),b=r(125),v=r(131),m=r(23),g=r(43),w=r(133),x=r(9),k=r(135),j=r(22),O=r(27),P={};P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P["[object Function]"]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,S,_,A,E){var H,D=1&r,R=2&r,C=4&r;if(S&&(H=A?S(e,_,A,E):S(e)),void 0!==H)return H;if(!x(e))return e;var T=m(e);if(T){if(H=y(e),!D)return u(e,H)}else{var N=d(e),L="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(e))return c(e,D);if("[object Object]"==N||"[object Arguments]"==N||L&&!A){if(H=R||L?{}:v(e),!D)return R?f(e,s(H,e)):p(e,i(H,e))}else{if(!P[N])return A?e:{};H=b(e,N,D)}}E||(E=new n);var U=E.get(e);if(U)return U;E.set(e,H),k(e)?e.forEach((function(n){H.add(t(n,r,S,n,e,E))})):w(e)&&e.forEach((function(n,o){H.set(o,t(n,r,S,o,e,E))}));var F=T?void 0:(C?R?h:l:R?O:j)(e);return o(F||e,(function(n,o){F&&(n=e[o=n]),a(H,o,t(n,r,S,o,e,E))})),H}},function(t,e,r){var n=r(11),o=r(74),a=r(75),i=r(76),s=r(77),c=r(78);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(20),a=r(85);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(36),o=r(82),a=r(9),i=r(39),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},function(t,e,r){var n=r(21),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(83),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},function(t,e,r){var n=r(7)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(86),o=r(93),a=r(95),i=r(96),s=r(97);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(17)(t))},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(141);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?x+w:""}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(31),a=r(149),i=r(151),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},function(t,e,r){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=e.Symbol,a=r(146);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===n(o("foo"))&&("symbol"===n(Symbol("bar"))&&a())))}}).call(this,r(38))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==a.call(e))throw new TypeError(n+e);for(var r,i=o.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,i.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,i.concat(o.call(arguments)))},c=Math.max(0,e.length-i.length),u=[],p=0;p-1?o(r):r}},function(t,e,r){"use strict";var n=r(32),o=r(31),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(152).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==T(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",r)}(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(N(a,e)>=0)return"[Circular]";function j(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var P=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,j);return"[Function"+(P?": "+P:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(D(e)){var B=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?B:U(B)}if(function(t){if(!t||"object"!==n(t))return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var z="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var G=q(e,j);return w&&!function(t){for(var e=0;e=0)return!1;return!0}(G)?"["+M(G,w)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return!("[object Error]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=q(e,j);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var J=[];return s.call(e,(function(t,r){J.push(j(r,e,!0)+" => "+j(t,e))})),I("Map",i.call(e),J,w)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return f.call(e,(function(t){Q.push(j(t,e))})),I("Set",p.call(e),Q,w)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return U(j(g.call(e)));if(function(t){return!("[object Boolean]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(y.call(e));if(function(t){return!("[object String]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e))return U(j(String(e)));if(!function(t){return!("[object Date]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==T(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=q(e,j),K=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",Z=!K&&_&&Object(e)===e&&_ in e?T(e).slice(8,-1):Y?"Object":"",tt=(K||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Z||Y?"["+[].concat(Z||[],Y||[]).join(": ")+"] ":"");return 0===X.length?tt+"{}":w?tt+"{"+M(X,w)+"}":tt+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function T(t){return b.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},function(t,e,r){"use strict";var n=r(4);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(61);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"client",(function(){return ce}));var n=r(3),o=r.n(n),a=r(62),i=r(0),s=r.n(i),c=r(18),u=r(2),p=r.n(u),f=r(1),l=r.n(f);function h(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var d=r(63),y=r.n(d),b=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;y()(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var i=null;r&&(r.content_type_uid&&(i=r.content_type_uid,delete r.content_type_uid),a.params=m({},s()(r)));var c=function(){var r=p()(l.a.mark((function r(){var s;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(s=r.sent).data){r.next=9;break}return i&&(s.data.content_type_uid=i),r.abrupt("return",new b(s,t,n,o));case 9:throw h(s);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=p()(l.a.mark((function r(){var n;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=m(m({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw h(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),h(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),f=function(){var r=p()(l.a.mark((function r(){var s,c;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(s=a).params.limit=1,r.prev=2,r.next=5,t.get(e,s);case 5:if(!(c=r.sent).data){r.next=11;break}return i&&(c.data.content_type_uid=i),r.abrupt("return",new b(c,t,n,o));case 11:throw h(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:f}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw h(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),h(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=p()(l.a.mark((function t(e){var r,n,o,a,i,c,u,p;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,i=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},i),s()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(t){var e=t.http,r=t.params;return function(){var t=p()(l.a.mark((function t(n,o){var a,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},s()(r)),s()(this.stackHeaders)),params:x({},s()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(i=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,R(i,this.stackHeaders,this.content_type_uid)));case 9:throw h(i);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),h(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},_=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),g(e,this.urlPath,t,this.stackHeaders,r)}},A=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i,c=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=s()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},s()(this.stackHeaders)),params:x({},s()(n))});case 18:if(!(i=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,R(i,this.stackHeaders,this.content_type_uid)));case 23:throw h(i);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),h(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){return p()(l.a.mark((function e(){var r,n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:x({},s()(this.stackHeaders)),params:x({},s()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw h(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),h(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},H=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:x({},s()(this.stackHeaders)),params:x({},s()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,R(a,this.stackHeaders,this.content_type_uid)));case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),h(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},D=function(t,e){return p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},s()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new b(a,t,this.stackHeaders,e));case 12:throw h(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),h(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function R(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,s()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=A(t,"role"),this.delete=E(t),this.fetch=H(t,"role"))):(this.create=S({http:t}),this.fetchAll=D(t,T),this.query=_({http:t,wrapperCollection:T})),this}function T(t,e){return s()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,zt));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,B));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new b(o,t,null,T));case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=D(t,F)}function F(t,e){return s()(e.organizations||[]).map((function(e){return new U(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,s()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=A(t,"content_type"),this.delete=E(t),this.fetch=H(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new G(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=S({http:t}),this.query=_({http:t,wrapperCollection:X}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:K(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(s()(e.content_types)||[]).map((function(r){return new Q(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function K(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,s()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=A(t,"global_field"),this.delete=E(t),this.fetch=H(t,"global_field")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Z}),this.import=function(){var e=p()(l.a.mark((function e(r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:tt(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(n,this.stackHeaders)));case 8:throw h(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function Z(t,e){return(s()(e.global_fields)||[]).map((function(r){return new Y(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function tt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,s()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=A(t,"token"),this.delete=E(t),this.fetch=H(t,"token")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:rt}))}function rt(t,e){return(s()(e.tokens)||[]).map((function(r){return new et(t,{token:r,stackHeaders:e.stackHeaders})}))}function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,s()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=A(t,"environment"),this.delete=E(t),this.fetch=H(t,"environment")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:ot}))}function ot(t,e){return(s()(e.environments)||[]).map((function(r){return new nt(t,{environment:r,stackHeaders:e.stackHeaders})}))}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,s()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset")):this.create=S({http:t})}function it(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,s()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=A(t,"asset"),this.delete=E(t),this.fetch=H(t,"asset"),this.replace=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=k(t,"asset"),this.unpublish=j(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new at(t,n)},this.create=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ct(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=_({http:t,wrapperCollection:st})),this}function st(t,e){return(s()(e.assets)||[]).map((function(r){return new it(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ct(t){return function(){var e=new W.a;"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=Object(V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,s()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=A(t,"locale"),this.delete=E(t),this.fetch=H(t,"locale")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:pt})),this}function pt(t,e){return(s()(e.locales)||[]).map((function(r){return new ut(t,{locale:r,stackHeaders:e.stackHeaders})}))}var ft=r(64),lt=r.n(ft);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,s()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=A(t,"extension"),this.delete=E(t),this.fetch=H(t,"extension")):(this.upload=function(){var e=p()(l.a.mark((function e(r,n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,R(o,this.stackHeaders)));case 8:throw h(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=S({http:t}),this.query=_({http:t,wrapperCollection:dt}))}function dt(t,e){return(s()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new W.a;"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt()(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=Object(V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,s()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=A(t,"webhook"),this.delete=E(t),this.fetch=H(t,"webhook"),this.executions=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},s()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw h(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=p()(l.a.mark((function r(n){var o,a;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw h(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.fetchAll=D(t,gt)),this.import=function(){var r=p()(l.a.mark((function r(n){var o;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,R(o,e.stackHeaders)));case 8:throw h(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),h(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(s()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new W.a,r=Object(V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,s()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=A(t,"publishing_rule"),this.delete=E(t),this.fetch=H(t,"publishing_rule")):(this.create=S({http:t}),this.fetchAll=D(t,kt))}function kt(t,e){return(s()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,s()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=A(t,"workflow"),this.disable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=p()(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},s()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw h(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),h(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=H(t,"workflow")):(this.contentType=function(r){if(r)return{getPublishRules:function(){var e=p()(l.a.mark((function e(n){var o,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},s()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new b(a,t,this.stackHeaders,kt));case 11:throw h(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),h(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),stackHeaders:Ot({},e.stackHeaders)}},this.create=S({http:t}),this.fetchAll=D(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function St(t,e){return(s()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,s()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=p()(l.a.mark((function n(o){var a,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,i={headers:At({},s()(e.stackHeaders)),data:At({},s()(o)),params:At({},s()(a))}||{},n.next=6,t.delete(e.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw h(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),h(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=p()(l.a.mark((function n(o){var a,i;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},s()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},i.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw h(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),h(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},r.prev=1,o={headers:At({},s()(e.stackHeaders)),params:At({},s()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new b(a,t,e.stackHeaders,Ht));case 10:throw h(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),h(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(s()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,s()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=A(t,"release"),this.fetch=H(t,"release"),this.delete=E(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,i=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:i,action:c},p={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw h(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,i={name:o,description:a},c={headers:Rt({},s()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:i},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw h(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),h(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:Tt})),this}function Tt(t,e){return(s()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/publish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=p()(l.a.mark((function r(n){var o,a,i,c,u,p,f,h,d;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,i=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,h={},o&&(h=s()(o)),d={headers:Lt({},s()(e.stackHeaders))},f&&(d.params={nested:!0,event_type:"bulk"}),i&&(d.headers.skip_workflow_stage_check=i),u&&(d.headers.approvals=u),r.abrupt("return",O(t,"/bulk/unpublish",h,d));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=p()(l.a.mark((function r(){var n,o,a,i=arguments;return l.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),a={headers:Lt({},s()(e.stackHeaders))},r.abrupt("return",O(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,s()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=A(t,"label"),this.delete=E(t),this.fetch=H(t,"label")):(this.create=S({http:t}),this.query=_({http:t,wrapperCollection:It}))}function It(t,e){return(s()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new Q(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new ut(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new it(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Y(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new nt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new et(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Ut(t,e)},this.users=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",B(t,n.data.stack));case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=p()(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",h(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=p()(l.a.mark((function e(){var n,o,a=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:qt({},s()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",h(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",h(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=p()(l.a.mark((function e(){var n,o,a,i=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:qt({},s()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",h(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",h(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=p()(l.a.mark((function e(n){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:qt({},s()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",h(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",h(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=S({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=_({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return s()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new q(e,t.data)),t.data}),h)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),h):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),h)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new q(e,t.data)}),h)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Vt({},s()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}var $t=r(65),Jt=r.n($t),Qt=r(66),Xt=r.n(Qt),Kt=r(19),Yt=r.n(Kt);function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function te(t){for(var e=1;ee.config.retryLimit)return Promise.reject(a(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(a(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(i(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var i=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=s(a),a.transformRequest=[function(t){return t}],a},s=function(t){if(t.formdata){var e=t.formdata();return t.headers=te(te({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=s(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Yt.a.CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(a,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(a(t));var s=e.config.retryDelay,c=t.response;if(c){if(429===c.status)return o="Error with status: ".concat(c.status),++n>e.config.retryLimit?Promise.reject(a(t)):(e.running.shift(),function t(r){if(!e.paused)return e.paused=!0,e.running.length>0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Gt({http:i});return u}}])})); \ No newline at end of file +!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,(function(){return(()=>{var t={3785:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>se});const o="1.2.4";var a=r(7780),i=r.n(a),s=r(5182),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.Jv)()||"linux",e=(0,s.Ar)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function f(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){f(a,n,o,i,s,"next",t)}function s(t){f(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=l(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,N(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},E=function(t,e){return l(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,N(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},H=function(t){return l(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},i()(this.stackHeaders)),params:k({},i()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},D=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,N(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function N(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=E(t,"role"),this.delete=H(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,zt));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,I)}function I(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=E(t,"content_type"),this.delete=H(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=E(t,"global_field"),this.delete=H(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=E(t,"token"),this.delete=H(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=E(t,"environment"),this.delete=H(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset"),this.replace=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=E(t,"locale"),this.delete=H(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function lt(t){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=E(t,"extension"),this.delete=H(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=E(t,"webhook"),this.delete=H(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=l(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,N(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=E(t,"publishing_rule"),this.delete=H(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,kt))}function kt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=E(t,"workflow"),this.disable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=H(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=l(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,kt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Nt(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Nt(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Ht));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=E(t,"release"),this.fetch=D(t,"release"),this.delete=H(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw y(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Nt(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Ct})),this}function Ct(t,e){return(i()(e.releases)||[]).map((function(r){return new Nt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=E(t,"label"),this.delete=H(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:It}))}function It(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Nt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Mt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Mt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Gt({},i()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=Zt(Zt({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Xt().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=Zt(Zt({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=ie(ie({},e),i()(t))).headers=ie(ie({},t.headers),a);var s=oe(t),c=Vt({http:s});return c}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers,h=t.responseType;n.isFormData(f)&&delete l["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(l[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),f||(f=null),d.send(f)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var f=t;r.length;){var l=r.shift(),h=r.shift();try{f=l(f)}catch(t){h(t);break}}try{o=i(f)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],f=0;f{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},f=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,l=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":l?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?h((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&&l?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?h(""[Symbol.iterator]()):o,"%Symbol%":l?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":f,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),x=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,f=o.alias;f&&(n=f[0],k(r,x([0,1],f)));for(var l=1,h=!0;l=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),f=r(9193),l=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),x=r(9294),k=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,E,H,D,R){var N,C=1&r,T=2&r,U=4&r;if(E&&(N=D?E(e,H,D,R):E(e)),void 0!==N)return N;if(!x(e))return e;var L=m(e);if(L){if(N=y(e),!C)return u(e,N)}else{var F=d(e),I=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,C);if(F==_||F==S||I&&!D){if(N=T||I?{}:v(e),!C)return T?f(e,s(N,e)):p(e,i(N,e))}else{if(!A[F])return D?e:{};N=b(e,F,C)}}R||(R=new n);var q=R.get(e);if(q)return q;R.set(e,N),k(e)?e.forEach((function(n){N.add(t(n,r,E,n,e,R))})):w(e)&&e.forEach((function(n,o){N.set(o,t(n,r,E,o,e,R))}));var M=L?void 0:(U?T?h:l:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(N,o,t(n,r,E,o,e,R))})),N}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",f="[object Promise]",l="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=f||i&&w(new i)!=l||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return f;case m:return l;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,f=function(t,e){p.apply(t,u(e)?e:[e])},l=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,l,h,y,b,v,m,g,w,x){var k,j=e;if(x.has(e))throw new RangeError("Cyclic object value");if("function"==typeof l?j=l(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,S=[];if(void 0===j)return S;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var P=Object.keys(j);O=h?P.sort(h):P}for(var _=0;_0?x+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n=l;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var l="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(H([])));k&&k!==r&&o.call(k,i)&&(w=k);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=f(t[a],t,i);if("throw"!==u.type){var p=u.arg,l=p.value;return l&&"object"===n(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(l).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function H(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:H(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),S=r(7165).custom,P=S&&D(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==C(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(N(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!N(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function S(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return N(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,S);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var J=B(e,S);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,S);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(S(r,e,!0)+" => "+S(t,e))})),q("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return f.call(e,(function(t){K.push(S(t,e))})),q("Set",p.call(e),K,j)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return I("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return I("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return I("WeakRef");if(function(t){return!("[object Number]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(S(g.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(String(e)));if(!function(t){return!("[object Date]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,S),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?C(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function N(t,e){return R.call(t,e)}function C(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function I(t){return t+" { ? }"}function q(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o{e.Ar=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.Jv=function(){return"browser"}},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#USER","/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}return r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r(3785)})()})); \ No newline at end of file diff --git a/jsdocs/Asset.html b/jsdocs/Asset.html index 9e3c7107..7e435fe5 100644 --- a/jsdocs/Asset.html +++ b/jsdocs/Asset.html @@ -26,7 +26,7 @@ - + @@ -1173,14 +1173,14 @@
Properties:
-
NameName TypeType AttributesAttributes DefaultDefault Description
+
- + - + @@ -1249,14 +1249,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1354,7 +1354,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BulkOperation.html b/jsdocs/BulkOperation.html index a9f13d29..c5c623c8 100644 --- a/jsdocs/BulkOperation.html +++ b/jsdocs/BulkOperation.html @@ -26,7 +26,7 @@ - + @@ -262,14 +262,14 @@
Examples
Parameters:
-
NameNameTypeType
+
- + - + @@ -518,14 +518,14 @@
Examples
Parameters:
-
NameNameTypeType
+
- + - + @@ -743,14 +743,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -848,7 +848,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentType.html b/jsdocs/ContentType.html index 41d15c9d..74af85d8 100644 --- a/jsdocs/ContentType.html +++ b/jsdocs/ContentType.html @@ -26,7 +26,7 @@ - + @@ -461,14 +461,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -628,14 +628,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -801,14 +801,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1064,14 +1064,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1234,14 +1234,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1317,7 +1317,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Contentstack.html b/jsdocs/Contentstack.html index 04ef8308..abb58231 100644 --- a/jsdocs/Contentstack.html +++ b/jsdocs/Contentstack.html @@ -26,7 +26,7 @@ - + @@ -189,17 +189,17 @@
Properties:
-
NameNameTypeType
+
- + - + - + @@ -829,7 +829,7 @@
Examples

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentstackClient.html b/jsdocs/ContentstackClient.html index 77f7f4bc..03b1c54f 100644 --- a/jsdocs/ContentstackClient.html +++ b/jsdocs/ContentstackClient.html @@ -26,7 +26,7 @@ - + @@ -193,14 +193,14 @@
Properties:
-
NameNameTypeTypeAttributesAttributes
+
- + - + @@ -315,14 +315,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -605,14 +605,14 @@
Examples
Parameters:
-
NameNameTypeType
+
- + - + @@ -801,14 +801,14 @@
Examples
Parameters:
-
NameNameTypeType
+
- + - + @@ -972,14 +972,14 @@
Examples
Parameters:
-
NameNameTypeType
+
- + - + @@ -1077,7 +1077,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/DeliveryToken.html b/jsdocs/DeliveryToken.html index d5da843c..5fdaaf94 100644 --- a/jsdocs/DeliveryToken.html +++ b/jsdocs/DeliveryToken.html @@ -26,7 +26,7 @@ - + @@ -763,7 +763,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Entry.html b/jsdocs/Entry.html index ebc8e027..d356a628 100644 --- a/jsdocs/Entry.html +++ b/jsdocs/Entry.html @@ -26,7 +26,7 @@ - + @@ -236,14 +236,14 @@
Examples
Parameters:
-
NameNameTypeType
+
- + - + @@ -516,14 +516,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1013,14 +1013,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1324,14 +1324,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1564,14 +1564,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1693,7 +1693,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Environment.html b/jsdocs/Environment.html index 786700d1..84cd2ca8 100644 --- a/jsdocs/Environment.html +++ b/jsdocs/Environment.html @@ -26,7 +26,7 @@ - + @@ -766,7 +766,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Extension.html b/jsdocs/Extension.html index 39e14815..6fa7135b 100644 --- a/jsdocs/Extension.html +++ b/jsdocs/Extension.html @@ -26,7 +26,7 @@ - + @@ -839,14 +839,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -944,7 +944,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Folder.html b/jsdocs/Folder.html index 1fb6d734..9e051a85 100644 --- a/jsdocs/Folder.html +++ b/jsdocs/Folder.html @@ -26,7 +26,7 @@ - + @@ -633,7 +633,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/GlobalField.html b/jsdocs/GlobalField.html index 90133b0a..b3485a0c 100644 --- a/jsdocs/GlobalField.html +++ b/jsdocs/GlobalField.html @@ -26,7 +26,7 @@ - + @@ -825,14 +825,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -908,7 +908,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Label.html b/jsdocs/Label.html index 4d832626..0a62062f 100644 --- a/jsdocs/Label.html +++ b/jsdocs/Label.html @@ -26,7 +26,7 @@ - + @@ -674,14 +674,14 @@
Properties:
-
NameNameTypeType
+
- + - + @@ -750,14 +750,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -855,7 +855,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Locale.html b/jsdocs/Locale.html index 05dedf08..c58f00b6 100644 --- a/jsdocs/Locale.html +++ b/jsdocs/Locale.html @@ -26,7 +26,7 @@ - + @@ -460,14 +460,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -745,14 +745,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -850,7 +850,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Organization.html b/jsdocs/Organization.html index 3c08475f..2878beb8 100644 --- a/jsdocs/Organization.html +++ b/jsdocs/Organization.html @@ -26,7 +26,7 @@ - + @@ -219,14 +219,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -386,14 +386,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -668,14 +668,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1189,14 +1189,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1471,14 +1471,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1691,7 +1691,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/PublishRules.html b/jsdocs/PublishRules.html index cb4e8da9..50460d46 100644 --- a/jsdocs/PublishRules.html +++ b/jsdocs/PublishRules.html @@ -26,7 +26,7 @@ - + @@ -287,7 +287,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Release.html b/jsdocs/Release.html index e3fcf311..3db58f64 100644 --- a/jsdocs/Release.html +++ b/jsdocs/Release.html @@ -26,7 +26,7 @@ - + @@ -731,14 +731,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -967,14 +967,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1162,14 +1162,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1329,14 +1329,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1503,7 +1503,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Role.html b/jsdocs/Role.html index cc02507c..c4a9cc11 100644 --- a/jsdocs/Role.html +++ b/jsdocs/Role.html @@ -26,7 +26,7 @@ - + @@ -482,14 +482,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -807,14 +807,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -997,14 +997,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1125,7 +1125,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Stack.html b/jsdocs/Stack.html index 200fb021..325609c5 100644 --- a/jsdocs/Stack.html +++ b/jsdocs/Stack.html @@ -26,7 +26,7 @@ - + @@ -463,14 +463,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -633,14 +633,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -803,14 +803,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -973,14 +973,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1143,14 +1143,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1313,14 +1313,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1483,14 +1483,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1653,14 +1653,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1823,14 +1823,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1993,14 +1993,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -2163,14 +2163,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -2585,14 +2585,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -3106,14 +3106,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -3296,14 +3296,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -3473,17 +3473,17 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + - + @@ -3770,14 +3770,14 @@
Example
Parameters:
-
NameNameTypeTypeAttributesAttributes
+
- + - + @@ -3967,7 +3967,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/User.html b/jsdocs/User.html index 730e7064..9b5d74fa 100644 --- a/jsdocs/User.html +++ b/jsdocs/User.html @@ -26,7 +26,7 @@ - + @@ -709,14 +709,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -883,7 +883,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Webhook.html b/jsdocs/Webhook.html index 181973cd..42e7f5b1 100644 --- a/jsdocs/Webhook.html +++ b/jsdocs/Webhook.html @@ -26,7 +26,7 @@ - + @@ -460,14 +460,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -627,14 +627,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -781,14 +781,14 @@

retryParameters:

-
NameNameTypeType
+
- + - + @@ -1060,14 +1060,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1327,14 +1327,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1410,7 +1410,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Workflow.html b/jsdocs/Workflow.html index bc34a4d2..8ddb87b7 100644 --- a/jsdocs/Workflow.html +++ b/jsdocs/Workflow.html @@ -26,7 +26,7 @@ - + @@ -814,14 +814,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1223,14 +1223,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1439,14 +1439,14 @@
Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -1544,7 +1544,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstack.js.html b/jsdocs/contentstack.js.html index 7ad075d5..1cfc87a4 100644 --- a/jsdocs/contentstack.js.html +++ b/jsdocs/contentstack.js.html @@ -26,7 +26,7 @@ - + @@ -216,7 +216,7 @@

contentstack.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstackClient.js.html b/jsdocs/contentstackClient.js.html index f04f4714..955e6caf 100644 --- a/jsdocs/contentstackClient.js.html +++ b/jsdocs/contentstackClient.js.html @@ -26,7 +26,7 @@ - + @@ -237,7 +237,7 @@

contentstackClient.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/index.html b/jsdocs/index.html index 7a0bdc32..dec8823d 100644 --- a/jsdocs/index.html +++ b/jsdocs/index.html @@ -26,7 +26,7 @@ - + @@ -171,7 +171,7 @@

The MIT License (MIT)


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/organization_index.js.html b/jsdocs/organization_index.js.html index cba4ebdf..9fcefda0 100644 --- a/jsdocs/organization_index.js.html +++ b/jsdocs/organization_index.js.html @@ -26,7 +26,7 @@ - + @@ -301,7 +301,7 @@

organization/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/query_index.js.html b/jsdocs/query_index.js.html index 4b13901b..c8ae6374 100644 --- a/jsdocs/query_index.js.html +++ b/jsdocs/query_index.js.html @@ -26,7 +26,7 @@ - + @@ -195,7 +195,7 @@

query/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_folders_index.js.html b/jsdocs/stack_asset_folders_index.js.html index 8e336756..7d43e5f5 100644 --- a/jsdocs/stack_asset_folders_index.js.html +++ b/jsdocs/stack_asset_folders_index.js.html @@ -26,7 +26,7 @@ - + @@ -162,7 +162,7 @@

stack/asset/folders/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_index.js.html b/jsdocs/stack_asset_index.js.html index 575f420c..d67768ea 100644 --- a/jsdocs/stack_asset_index.js.html +++ b/jsdocs/stack_asset_index.js.html @@ -26,7 +26,7 @@ - + @@ -324,7 +324,7 @@

stack/asset/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_bulkOperation_index.js.html b/jsdocs/stack_bulkOperation_index.js.html index 05466630..cfc8ea10 100644 --- a/jsdocs/stack_bulkOperation_index.js.html +++ b/jsdocs/stack_bulkOperation_index.js.html @@ -26,7 +26,7 @@ - + @@ -286,7 +286,7 @@

stack/bulkOperation/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_entry_index.js.html b/jsdocs/stack_contentType_entry_index.js.html index 7ce1f61a..387e0e16 100644 --- a/jsdocs/stack_contentType_entry_index.js.html +++ b/jsdocs/stack_contentType_entry_index.js.html @@ -26,7 +26,7 @@ - + @@ -353,7 +353,7 @@

stack/contentType/entry/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_index.js.html b/jsdocs/stack_contentType_index.js.html index 67fef2e3..0a794a1a 100644 --- a/jsdocs/stack_contentType_index.js.html +++ b/jsdocs/stack_contentType_index.js.html @@ -26,7 +26,7 @@ - + @@ -275,7 +275,7 @@

stack/contentType/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_deliveryToken_index.js.html b/jsdocs/stack_deliveryToken_index.js.html index 2bb6066f..f9fa58e9 100644 --- a/jsdocs/stack_deliveryToken_index.js.html +++ b/jsdocs/stack_deliveryToken_index.js.html @@ -26,7 +26,7 @@ - + @@ -178,7 +178,7 @@

stack/deliveryToken/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_environment_index.js.html b/jsdocs/stack_environment_index.js.html index b39820ed..04baa5bb 100644 --- a/jsdocs/stack_environment_index.js.html +++ b/jsdocs/stack_environment_index.js.html @@ -26,7 +26,7 @@ - + @@ -183,7 +183,7 @@

stack/environment/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_extension_index.js.html b/jsdocs/stack_extension_index.js.html index 8dcc9c47..9009e240 100644 --- a/jsdocs/stack_extension_index.js.html +++ b/jsdocs/stack_extension_index.js.html @@ -26,7 +26,7 @@ - + @@ -256,7 +256,7 @@

stack/extension/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_globalField_index.js.html b/jsdocs/stack_globalField_index.js.html index 8f33dea2..7fda5ee0 100644 --- a/jsdocs/stack_globalField_index.js.html +++ b/jsdocs/stack_globalField_index.js.html @@ -26,7 +26,7 @@ - + @@ -225,7 +225,7 @@

stack/globalField/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_index.js.html b/jsdocs/stack_index.js.html index c09d197e..e83797ee 100644 --- a/jsdocs/stack_index.js.html +++ b/jsdocs/stack_index.js.html @@ -26,7 +26,7 @@ - + @@ -708,7 +708,7 @@

stack/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_label_index.js.html b/jsdocs/stack_label_index.js.html index 202a0b08..597d7ef0 100644 --- a/jsdocs/stack_label_index.js.html +++ b/jsdocs/stack_label_index.js.html @@ -26,7 +26,7 @@ - + @@ -178,7 +178,7 @@

stack/label/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_locale_index.js.html b/jsdocs/stack_locale_index.js.html index 95ba5b76..53f54f0e 100644 --- a/jsdocs/stack_locale_index.js.html +++ b/jsdocs/stack_locale_index.js.html @@ -26,7 +26,7 @@ - + @@ -173,7 +173,7 @@

stack/locale/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_release_index.js.html b/jsdocs/stack_release_index.js.html index 0dabf4ad..f95f5267 100644 --- a/jsdocs/stack_release_index.js.html +++ b/jsdocs/stack_release_index.js.html @@ -26,7 +26,7 @@ - + @@ -313,7 +313,7 @@

stack/release/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_roles_index.js.html b/jsdocs/stack_roles_index.js.html index 0dc9a3fb..cb3140bd 100644 --- a/jsdocs/stack_roles_index.js.html +++ b/jsdocs/stack_roles_index.js.html @@ -26,7 +26,7 @@ - + @@ -231,7 +231,7 @@

stack/roles/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_webhook_index.js.html b/jsdocs/stack_webhook_index.js.html index 5f60718c..fa2b4083 100644 --- a/jsdocs/stack_webhook_index.js.html +++ b/jsdocs/stack_webhook_index.js.html @@ -26,7 +26,7 @@ - + @@ -308,7 +308,7 @@

stack/webhook/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_index.js.html b/jsdocs/stack_workflow_index.js.html index 23d5d12d..60b87f24 100644 --- a/jsdocs/stack_workflow_index.js.html +++ b/jsdocs/stack_workflow_index.js.html @@ -26,7 +26,7 @@ - + @@ -371,7 +371,7 @@

stack/workflow/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_publishRules_index.js.html b/jsdocs/stack_workflow_publishRules_index.js.html index 82abb758..861b1213 100644 --- a/jsdocs/stack_workflow_publishRules_index.js.html +++ b/jsdocs/stack_workflow_publishRules_index.js.html @@ -26,7 +26,7 @@ - + @@ -195,7 +195,7 @@

stack/workflow/publishRules/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/user_index.js.html b/jsdocs/user_index.js.html index be4a8537..607fc98e 100644 --- a/jsdocs/user_index.js.html +++ b/jsdocs/user_index.js.html @@ -26,7 +26,7 @@ - + @@ -225,7 +225,7 @@

user/index.js


- Documentation generated by JSDoc 3.6.7 on Mon Oct 18 2021 10:33:14 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/package-lock.json b/package-lock.json index fd2ffaf1..e219e24c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,12 +5,12 @@ "requires": true, "dependencies": { "@babel/cli": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.14.5.tgz", - "integrity": "sha512-poegjhRvXHWO0EAsnYajwYZuqcz7gyfxwfaecUESxDujrqOivf3zrjFbub8IJkrqEaz3fvJWh001EzxBub54fg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.15.7.tgz", + "integrity": "sha512-YW5wOprO2LzMjoWZ5ZG6jfbY9JnkDxuHDwvnrThnuYtByorova/I0HNXJedrUfwuXFQfYOjcqDA4PU3qlZGZjg==", "dev": true, "requires": { - "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.2", + "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", "chokidar": "^3.4.0", "commander": "^4.0.1", "convert-source-map": "^1.1.0", @@ -19,117 +19,6 @@ "make-dir": "^2.1.0", "slash": "^2.0.0", "source-map": "^0.5.0" - }, - "dependencies": { - "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "optional": true, - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "optional": true - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "optional": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", - "dev": true, - "optional": true, - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - } - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "optional": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "optional": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "optional": true, - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "optional": true - }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "optional": true, - "requires": { - "picomatch": "^2.2.1" - } - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "optional": true, - "requires": { - "is-number": "^7.0.0" - } - } } }, "@babel/code-frame": { @@ -142,26 +31,26 @@ } }, "@babel/compat-data": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.14.7.tgz", - "integrity": "sha512-nS6dZaISCXJ3+518CWiBfEr//gHyMO02uDxBkXTKZDN5POruCnOZ1N4YBRZDCabwF8nZMWBpRxIicmXtBs+fvw==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", + "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==", "dev": true }, "@babel/core": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.6.tgz", - "integrity": "sha512-gJnOEWSqTk96qG5BoIrl5bVtc23DCycmIePPYnamY9RboYdI4nFy5vAQMSl81O5K/W0sLDWfGysnOECC+KUUCA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", - "@babel/helper-compilation-targets": "^7.14.5", - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helpers": "^7.14.6", - "@babel/parser": "^7.14.6", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.8.tgz", + "integrity": "sha512-3UG9dsxvYBMYwRv+gS41WKHno4K60/9GPy1CJaH6xy3Elq8CTtvtjT5R5jmNhXfCYLX2mTw+7/aq5ak/gOE0og==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.15.8", + "@babel/generator": "^7.15.8", + "@babel/helper-compilation-targets": "^7.15.4", + "@babel/helper-module-transforms": "^7.15.8", + "@babel/helpers": "^7.15.4", + "@babel/parser": "^7.15.8", + "@babel/template": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.6", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -171,58 +60,58 @@ }, "dependencies": { "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", + "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", "dev": true, "requires": { "@babel/highlight": "^7.14.5" } }, "@babel/generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", - "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", + "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", "dev": true, "requires": { - "@babel/types": "^7.14.5", + "@babel/types": "^7.15.6", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", + "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/highlight": { @@ -237,46 +126,46 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", + "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", "dev": true }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/traverse": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", - "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", + "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.14.7", - "@babel/types": "^7.14.5", + "@babel/generator": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-hoist-variables": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } }, @@ -300,67 +189,67 @@ } }, "@babel/helper-annotate-as-pure": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.14.5.tgz", - "integrity": "sha512-EivH9EgBIb+G8ij1B2jAwSH36WnGvkQSEC6CkX/6v6ZFlw5fVOHvsgGF4uiEHO2GzMvunZb6tDLQEQSdrdocrA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz", + "integrity": "sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.14.5.tgz", - "integrity": "sha512-YTA/Twn0vBXDVGJuAX6PwW7x5zQei1luDDo2Pl6q1qZ7hVNl0RZrhHCQG/ArGpR29Vl7ETiB8eJyrvpuRp300w==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.15.4.tgz", + "integrity": "sha512-P8o7JP2Mzi0SdC6eWr1zF+AEYvrsZa7GSY1lTayjF5XJhVH0kjLYUZPvTMflP7tBgZoe9gIhTa60QwFpqh/E0Q==", "dev": true, "requires": { - "@babel/helper-explode-assignable-expression": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-explode-assignable-expression": "^7.15.4", + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-compilation-targets": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.14.5.tgz", - "integrity": "sha512-v+QtZqXEiOnpO6EYvlImB6zCD2Lel06RzOPzmkz/D/XgQiUu3C/Jb1LOqSt/AIA34TYi/Q+KlT8vTQrgdxkbLw==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz", + "integrity": "sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ==", "dev": true, "requires": { - "@babel/compat-data": "^7.14.5", + "@babel/compat-data": "^7.15.0", "@babel/helper-validator-option": "^7.14.5", "browserslist": "^4.16.6", "semver": "^6.3.0" @@ -375,61 +264,61 @@ } }, "@babel/helper-create-class-features-plugin": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.6.tgz", - "integrity": "sha512-Z6gsfGofTxH/+LQXqYEK45kxmcensbzmk/oi8DmaQytlQCgqNZt9XQF8iqlI/SeXWVjaMNxvYvzaYw+kh42mDg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz", + "integrity": "sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-member-expression-to-functions": "^7.14.5", - "@babel/helper-optimise-call-expression": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5" + "@babel/helper-annotate-as-pure": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-member-expression-to-functions": "^7.15.4", + "@babel/helper-optimise-call-expression": "^7.15.4", + "@babel/helper-replace-supers": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4" }, "dependencies": { "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", + "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", "dev": true, "requires": { "@babel/highlight": "^7.14.5" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", + "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/highlight": { @@ -444,29 +333,29 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", + "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", "dev": true }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } @@ -499,58 +388,58 @@ }, "dependencies": { "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", + "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", "dev": true, "requires": { "@babel/highlight": "^7.14.5" } }, "@babel/generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", - "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", + "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", "dev": true, "requires": { - "@babel/types": "^7.14.5", + "@babel/types": "^7.15.6", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", + "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/highlight": { @@ -565,46 +454,46 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", + "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", "dev": true }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/traverse": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", - "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", + "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.14.7", - "@babel/types": "^7.14.5", + "@babel/generator": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-hoist-variables": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } }, @@ -617,27 +506,27 @@ } }, "@babel/helper-explode-assignable-expression": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.14.5.tgz", - "integrity": "sha512-Htb24gnGJdIGT4vnRKMdoXiOIlqOLmdiUYpAQ0mYfgVT/GDm8GOYhgi4GL+hMKrkiPRohO4ts34ELFsGAPQLDQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.15.4.tgz", + "integrity": "sha512-J14f/vq8+hdC2KoWLIQSsGrC9EFBKE4NFts8pfMpymfApds+fPqR30AOUWc4tyr56h9l/GA1Sxv2q3dLZWbQ/g==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } @@ -664,155 +553,155 @@ } }, "@babel/helper-hoist-variables": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz", - "integrity": "sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz", + "integrity": "sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-member-expression-to-functions": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.14.7.tgz", - "integrity": "sha512-TMUt4xKxJn6ccjcOW7c4hlwyJArizskAhoSTOCkA0uZ+KghIaci0Qg9R043kUMWI9mtQfgny+NQ5QATnZ+paaA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz", + "integrity": "sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-module-imports": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz", - "integrity": "sha512-SwrNHu5QWS84XlHwGYPDtCxcA0hrSlL2yhWYLgeOc0w7ccOl2qv4s/nARI0aYZW+bSwAL5CukeXA47B/1NKcnQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz", + "integrity": "sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-module-transforms": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.5.tgz", - "integrity": "sha512-iXpX4KW8LVODuAieD7MzhNjmM6dzYY5tfRqT+R9HDXWl0jPn/djKmA+G9s/2C2T9zggw5tK1QNqZ70USfedOwA==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5", - "@babel/helper-simple-access": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.8.tgz", + "integrity": "sha512-DfAfA6PfpG8t4S6npwzLvTUpp0sS7JrcuaMiy1Y5645laRJIp/LiLGIBbQKaXSInK8tiGNI7FL7L8UvB8gdUZg==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.15.4", + "@babel/helper-replace-supers": "^7.15.4", + "@babel/helper-simple-access": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/helper-validator-identifier": "^7.15.7", + "@babel/template": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.6" }, "dependencies": { "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", + "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", "dev": true, "requires": { "@babel/highlight": "^7.14.5" } }, "@babel/generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", - "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", + "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", "dev": true, "requires": { - "@babel/types": "^7.14.5", + "@babel/types": "^7.15.6", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", + "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/highlight": { @@ -827,73 +716,73 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", + "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", "dev": true }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/traverse": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", - "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", + "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.14.7", - "@babel/types": "^7.14.5", + "@babel/generator": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-hoist-variables": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-optimise-call-expression": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz", - "integrity": "sha512-IqiLIrODUOdnPU9/F8ib1Fx2ohlgDhxnIDU7OEVi+kAbEZcyiF7BLU8W6PfvPi9LzztjS7kcbzbmL7oG8kD6VA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz", + "integrity": "sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } @@ -906,99 +795,99 @@ "dev": true }, "@babel/helper-remap-async-to-generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.14.5.tgz", - "integrity": "sha512-rLQKdQU+HYlxBwQIj8dk4/0ENOUEhA/Z0l4hN8BexpvmSMN9oA9EagjnhnDpNsRdWCfjwa4mn/HyBXO9yhQP6A==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.15.4.tgz", + "integrity": "sha512-v53MxgvMK/HCwckJ1bZrq6dNKlmwlyRNYM6ypaRTdXWGOE2c1/SCa6dL/HimhPulGhZKw9W0QhREM583F/t0vQ==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-wrap-function": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-annotate-as-pure": "^7.15.4", + "@babel/helper-wrap-function": "^7.15.4", + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-replace-supers": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.14.5.tgz", - "integrity": "sha512-3i1Qe9/8x/hCHINujn+iuHy+mMRLoc77b2nI9TB0zjH1hvn9qGlXjWlggdwUcju36PkPCy/lpM7LLUdcTyH4Ow==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz", + "integrity": "sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==", "dev": true, "requires": { - "@babel/helper-member-expression-to-functions": "^7.14.5", - "@babel/helper-optimise-call-expression": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-member-expression-to-functions": "^7.15.4", + "@babel/helper-optimise-call-expression": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", + "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", "dev": true, "requires": { "@babel/highlight": "^7.14.5" } }, "@babel/generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", - "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", + "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", "dev": true, "requires": { - "@babel/types": "^7.14.5", + "@babel/types": "^7.15.6", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", + "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/highlight": { @@ -1013,100 +902,100 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", + "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", "dev": true }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/traverse": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", - "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", + "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.14.7", - "@babel/types": "^7.14.5", + "@babel/generator": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-hoist-variables": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-simple-access": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.14.5.tgz", - "integrity": "sha512-nfBN9xvmCt6nrMZjfhkl7i0oTV3yxR4/FztsbOASyTvVcoYd0TRHh7eMLdlEcCqobydC0LAF3LtC92Iwxo0wyw==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz", + "integrity": "sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.14.5.tgz", - "integrity": "sha512-dmqZB7mrb94PZSAOYtr+ZN5qt5owZIAgqtoTuqiFbHFtxgEcmQlRJVI+bO++fciBunXtB6MK7HrzrfcAzIz2NQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.15.4.tgz", + "integrity": "sha512-BMRLsdh+D1/aap19TycS4eD1qELGrCBJwzaY9IE8LrpJtJb+H7rQkPIdsfgnMtLBA6DJls7X9z93Z4U8h7xw0A==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } @@ -1134,70 +1023,70 @@ "dev": true }, "@babel/helper-wrap-function": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.14.5.tgz", - "integrity": "sha512-YEdjTCq+LNuNS1WfxsDCNpgXkJaIyqco6DAelTUjT4f2KIWC1nBcaCaSdHTBqQVLnTBexBcVcFhLSU1KnYuePQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.15.4.tgz", + "integrity": "sha512-Y2o+H/hRV5W8QhIfTpRIBwl57y8PrZt6JM3V8FOo5qarjshHItyH5lXlpMfBfmBefOqSCpKZs/6Dxqp0E/U+uw==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-function-name": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", + "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", "dev": true, "requires": { "@babel/highlight": "^7.14.5" } }, "@babel/generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", - "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", + "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", "dev": true, "requires": { - "@babel/types": "^7.14.5", + "@babel/types": "^7.15.6", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", + "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/highlight": { @@ -1212,115 +1101,115 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", + "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", "dev": true }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/traverse": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", - "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", + "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.14.7", - "@babel/types": "^7.14.5", + "@babel/generator": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-hoist-variables": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } } }, "@babel/helpers": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.6.tgz", - "integrity": "sha512-yesp1ENQBiLI+iYHSJdoZKUtRpfTlL1grDIX9NRlAVppljLw/4tTyYupIB7uIYmC3stW/imAv8EqaKaS/ibmeA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.4.tgz", + "integrity": "sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ==", "dev": true, "requires": { - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/template": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.4" }, "dependencies": { "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", + "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", "dev": true, "requires": { "@babel/highlight": "^7.14.5" } }, "@babel/generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", - "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", + "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", "dev": true, "requires": { - "@babel/types": "^7.14.5", + "@babel/types": "^7.15.6", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", + "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/highlight": { @@ -1335,46 +1224,46 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", + "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", "dev": true }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/traverse": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", - "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", + "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.14.7", - "@babel/types": "^7.14.5", + "@babel/generator": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-hoist-variables": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } @@ -1398,24 +1287,24 @@ "dev": true }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.14.5.tgz", - "integrity": "sha512-ZoJS2XCKPBfTmL122iP6NM9dOg+d4lc9fFk3zxc8iDjvt8Pk4+TlsHSKhIPf6X+L5ORCdBzqMZDjL/WHj7WknQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.15.4.tgz", + "integrity": "sha512-eBnpsl9tlhPhpI10kU06JHnrYXwg3+V6CaP2idsCXNef0aeslpqyITXQ74Vfk5uHgY7IG7XP0yIH8b42KSzHog==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.14.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4", "@babel/plugin-proposal-optional-chaining": "^7.14.5" } }, "@babel/plugin-proposal-async-generator-functions": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.14.7.tgz", - "integrity": "sha512-RK8Wj7lXLY3bqei69/cc25gwS5puEc3dknoFPFbqfy3XxYQBQFvu4ioWpafMBAB+L9NyptQK4nMOa5Xz16og8Q==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.8.tgz", + "integrity": "sha512-2Z5F2R2ibINTc63mY7FLqGfEbmofrHU9FitJW1Q7aPaKFhiPvSq6QEt/BoWN5oME3GVyjcRuNNSRbb9LC0CSWA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.14.5", + "@babel/helper-remap-async-to-generator": "^7.15.4", "@babel/plugin-syntax-async-generators": "^7.8.4" } }, @@ -1430,12 +1319,12 @@ } }, "@babel/plugin-proposal-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.14.5.tgz", - "integrity": "sha512-KBAH5ksEnYHCegqseI5N9skTdxgJdmDoAOc0uXa+4QMYKeZD0w5IARh4FMlTNtaHhbB8v+KzMdTgxMMzsIy6Yg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.15.4.tgz", + "integrity": "sha512-M682XWrrLNk3chXCjoPUQWOyYsB93B9z3mRyjtqqYJWDf2mfCdIYgDrA11cgNVhAQieaq6F2fn2f3wI0U4aTjA==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.14.5", + "@babel/helper-create-class-features-plugin": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-class-static-block": "^7.14.5" } @@ -1501,16 +1390,16 @@ } }, "@babel/plugin-proposal-object-rest-spread": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.14.7.tgz", - "integrity": "sha512-082hsZz+sVabfmDWo1Oct1u1AgbKbUAyVgmX4otIc7bdsRgHBXwTwb3DpDmD4Eyyx6DNiuz5UAATT655k+kL5g==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.15.6.tgz", + "integrity": "sha512-qtOHo7A1Vt+O23qEAX+GdBpqaIuD3i9VRrWgCJeq7WO6H2d14EK3q11urj5Te2MAeK97nMiIdRpwd/ST4JFbNg==", "dev": true, "requires": { - "@babel/compat-data": "^7.14.7", - "@babel/helper-compilation-targets": "^7.14.5", + "@babel/compat-data": "^7.15.0", + "@babel/helper-compilation-targets": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.14.5" + "@babel/plugin-transform-parameters": "^7.15.4" } }, "@babel/plugin-proposal-optional-catch-binding": { @@ -1545,13 +1434,13 @@ } }, "@babel/plugin-proposal-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-62EyfyA3WA0mZiF2e2IV9mc9Ghwxcg8YTu8BS4Wss4Y3PY725OmS9M0qLORbJwLqFtGh+jiE4wAmocK2CTUK2Q==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.15.4.tgz", + "integrity": "sha512-X0UTixkLf0PCCffxgu5/1RQyGGbgZuKoI+vXP4iSbJSYwPb7hu06omsFGBvQ9lJEvwgrxHdS8B5nbfcd8GyUNA==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-create-class-features-plugin": "^7.14.5", + "@babel/helper-annotate-as-pure": "^7.15.4", + "@babel/helper-create-class-features-plugin": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" } @@ -1722,71 +1611,71 @@ } }, "@babel/plugin-transform-block-scoping": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.14.5.tgz", - "integrity": "sha512-LBYm4ZocNgoCqyxMLoOnwpsmQ18HWTQvql64t3GvMUzLQrNoV1BDG0lNftC8QKYERkZgCCT/7J5xWGObGAyHDw==", + "version": "7.15.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.15.3.tgz", + "integrity": "sha512-nBAzfZwZb4DkaGtOes1Up1nOAp9TDRRFw4XBzBBSG9QK7KVFmYzgj9o9sbPv7TX5ofL4Auq4wZnxCoPnI/lz2Q==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-classes": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.14.5.tgz", - "integrity": "sha512-J4VxKAMykM06K/64z9rwiL6xnBHgB1+FVspqvlgCdwD1KUbQNfszeKVVOMh59w3sztHYIZDgnhOC4WbdEfHFDA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.15.4.tgz", + "integrity": "sha512-Yjvhex8GzBmmPQUvpXRPWQ9WnxXgAFuZSrqOK/eJlOGIXwvv8H3UEdUigl1gb/bnjTrln+e8bkZUYCBt/xYlBg==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-optimise-call-expression": "^7.14.5", + "@babel/helper-annotate-as-pure": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-optimise-call-expression": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", + "@babel/helper-replace-supers": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", "globals": "^11.1.0" }, "dependencies": { "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", + "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", "dev": true, "requires": { "@babel/highlight": "^7.14.5" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", + "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/highlight": { @@ -1801,29 +1690,29 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", + "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", "dev": true }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } @@ -1877,9 +1766,9 @@ } }, "@babel/plugin-transform-for-of": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.14.5.tgz", - "integrity": "sha512-CfmqxSUZzBl0rSjpoQSFoR9UEj3HzbGuGNL21/iFTmjb5gFggJp3ph0xR1YBhexmLoKRHzgxuFvty2xdSt6gTA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.15.4.tgz", + "integrity": "sha512-DRTY9fA751AFBDh2oxydvVm4SYevs5ILTWLs6xKXps4Re/KG5nfUkr+TdHCrRWB8C69TlzVgA9b3RmGWmgN9LA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" @@ -1896,38 +1785,38 @@ }, "dependencies": { "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", + "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", "dev": true, "requires": { "@babel/highlight": "^7.14.5" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/highlight": { @@ -1942,29 +1831,29 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", + "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", "dev": true }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } } @@ -2000,34 +1889,34 @@ } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.14.5.tgz", - "integrity": "sha512-en8GfBtgnydoao2PS+87mKyw62k02k7kJ9ltbKe0fXTHrQmG6QZZflYuGI1VVG7sVpx4E1n7KBpNlPb8m78J+A==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.4.tgz", + "integrity": "sha512-qg4DPhwG8hKp4BbVDvX1s8cohM8a6Bvptu4l6Iingq5rW+yRUAhe/YRup/YcW2zCOlrysEWVhftIcKzrEZv3sA==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.14.5", + "@babel/helper-module-transforms": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-simple-access": "^7.14.5", + "@babel/helper-simple-access": "^7.15.4", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.14.5.tgz", - "integrity": "sha512-mNMQdvBEE5DcMQaL5LbzXFMANrQjd2W7FPzg34Y4yEz7dBgdaC+9B84dSO+/1Wba98zoDbInctCDo4JGxz1VYA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.15.4.tgz", + "integrity": "sha512-fJUnlQrl/mezMneR72CKCgtOoahqGJNVKpompKwzv3BrEXdlPspTcyxrZ1XmDTIr9PpULrgEQo3qNKp6dW7ssw==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-module-transforms": "^7.14.5", + "@babel/helper-hoist-variables": "^7.15.4", + "@babel/helper-module-transforms": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "babel-plugin-dynamic-import-node": "^2.3.3" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true } } @@ -2043,9 +1932,9 @@ } }, "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.7.tgz", - "integrity": "sha512-DTNOTaS7TkW97xsDMrp7nycUVh6sn/eq22VaxWfEdzuEbRsiaOU0pqU7DlyUGHVsbQbSghvjKRpEl+nUCKGQSg==", + "version": "7.14.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.9.tgz", + "integrity": "sha512-l666wCVYO75mlAtGFfyFwnWmIXQm3kSH0C3IRnJqWcZbWkoihyAdDhFm2ZWaxWTqvBvhVFfJjMRQ0ez4oN1yYA==", "dev": true, "requires": { "@babel/helper-create-regexp-features-plugin": "^7.14.5" @@ -2071,9 +1960,9 @@ } }, "@babel/plugin-transform-parameters": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.14.5.tgz", - "integrity": "sha512-Tl7LWdr6HUxTmzQtzuU14SqbgrSKmaR77M0OKyq4njZLQTPfOvzblNKyNkGwOfEFCEx7KeYHQHDI0P3F02IVkA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.15.4.tgz", + "integrity": "sha512-9WB/GUTO6lvJU3XQsSr6J/WKvBC2hcs4Pew8YxZagi6GkTdniyqp8On5kqdK8MN0LMeu0mGbhPN+O049NV/9FQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" @@ -2107,15 +1996,15 @@ } }, "@babel/plugin-transform-runtime": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.5.tgz", - "integrity": "sha512-fPMBhh1AV8ZyneiCIA+wYYUH1arzlXR1UMcApjvchDhfKxhy2r2lReJv8uHEyihi4IFIGlr1Pdx7S5fkESDQsg==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.15.8.tgz", + "integrity": "sha512-+6zsde91jMzzvkzuEA3k63zCw+tm/GvuuabkpisgbDMTPQsIMHllE3XczJFFtEHLjjhKQFZmGQVRdELetlWpVw==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.14.5", + "@babel/helper-module-imports": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.2", + "babel-plugin-polyfill-corejs3": "^0.2.5", "babel-plugin-polyfill-regenerator": "^0.2.2", "semver": "^6.3.0" }, @@ -2138,13 +2027,13 @@ } }, "@babel/plugin-transform-spread": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.14.6.tgz", - "integrity": "sha512-Zr0x0YroFJku7n7+/HH3A2eIrGMjbmAIbJSVv0IZ+t3U2WUQUA64S/oeied2e+MaGSjmt4alzBCsK9E8gh+fag==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.15.8.tgz", + "integrity": "sha512-/daZ8s2tNaRekl9YJa9X4bzjpeRZLt122cpgFnQPLGUe61PH8zMEBmYqKkW5xF5JUEh5buEGXJoQpqBmIbpmEQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.14.5" + "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4" } }, "@babel/plugin-transform-sticky-regex": { @@ -2194,30 +2083,30 @@ } }, "@babel/preset-env": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.7.tgz", - "integrity": "sha512-itOGqCKLsSUl0Y+1nSfhbuuOlTs0MJk2Iv7iSH+XT/mR8U1zRLO7NjWlYXB47yhK4J/7j+HYty/EhFZDYKa/VA==", + "version": "7.15.8", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.15.8.tgz", + "integrity": "sha512-rCC0wH8husJgY4FPbHsiYyiLxSY8oMDJH7Rl6RQMknbN9oDDHhM9RDFvnGM2MgkbUJzSQB4gtuwygY5mCqGSsA==", "dev": true, "requires": { - "@babel/compat-data": "^7.14.7", - "@babel/helper-compilation-targets": "^7.14.5", + "@babel/compat-data": "^7.15.0", + "@babel/helper-compilation-targets": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.14.5", - "@babel/plugin-proposal-async-generator-functions": "^7.14.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.15.4", + "@babel/plugin-proposal-async-generator-functions": "^7.15.8", "@babel/plugin-proposal-class-properties": "^7.14.5", - "@babel/plugin-proposal-class-static-block": "^7.14.5", + "@babel/plugin-proposal-class-static-block": "^7.15.4", "@babel/plugin-proposal-dynamic-import": "^7.14.5", "@babel/plugin-proposal-export-namespace-from": "^7.14.5", "@babel/plugin-proposal-json-strings": "^7.14.5", "@babel/plugin-proposal-logical-assignment-operators": "^7.14.5", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", "@babel/plugin-proposal-numeric-separator": "^7.14.5", - "@babel/plugin-proposal-object-rest-spread": "^7.14.7", + "@babel/plugin-proposal-object-rest-spread": "^7.15.6", "@babel/plugin-proposal-optional-catch-binding": "^7.14.5", "@babel/plugin-proposal-optional-chaining": "^7.14.5", "@babel/plugin-proposal-private-methods": "^7.14.5", - "@babel/plugin-proposal-private-property-in-object": "^7.14.5", + "@babel/plugin-proposal-private-property-in-object": "^7.15.4", "@babel/plugin-proposal-unicode-property-regex": "^7.14.5", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", @@ -2236,57 +2125,57 @@ "@babel/plugin-transform-arrow-functions": "^7.14.5", "@babel/plugin-transform-async-to-generator": "^7.14.5", "@babel/plugin-transform-block-scoped-functions": "^7.14.5", - "@babel/plugin-transform-block-scoping": "^7.14.5", - "@babel/plugin-transform-classes": "^7.14.5", + "@babel/plugin-transform-block-scoping": "^7.15.3", + "@babel/plugin-transform-classes": "^7.15.4", "@babel/plugin-transform-computed-properties": "^7.14.5", "@babel/plugin-transform-destructuring": "^7.14.7", "@babel/plugin-transform-dotall-regex": "^7.14.5", "@babel/plugin-transform-duplicate-keys": "^7.14.5", "@babel/plugin-transform-exponentiation-operator": "^7.14.5", - "@babel/plugin-transform-for-of": "^7.14.5", + "@babel/plugin-transform-for-of": "^7.15.4", "@babel/plugin-transform-function-name": "^7.14.5", "@babel/plugin-transform-literals": "^7.14.5", "@babel/plugin-transform-member-expression-literals": "^7.14.5", "@babel/plugin-transform-modules-amd": "^7.14.5", - "@babel/plugin-transform-modules-commonjs": "^7.14.5", - "@babel/plugin-transform-modules-systemjs": "^7.14.5", + "@babel/plugin-transform-modules-commonjs": "^7.15.4", + "@babel/plugin-transform-modules-systemjs": "^7.15.4", "@babel/plugin-transform-modules-umd": "^7.14.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.9", "@babel/plugin-transform-new-target": "^7.14.5", "@babel/plugin-transform-object-super": "^7.14.5", - "@babel/plugin-transform-parameters": "^7.14.5", + "@babel/plugin-transform-parameters": "^7.15.4", "@babel/plugin-transform-property-literals": "^7.14.5", "@babel/plugin-transform-regenerator": "^7.14.5", "@babel/plugin-transform-reserved-words": "^7.14.5", "@babel/plugin-transform-shorthand-properties": "^7.14.5", - "@babel/plugin-transform-spread": "^7.14.6", + "@babel/plugin-transform-spread": "^7.15.8", "@babel/plugin-transform-sticky-regex": "^7.14.5", "@babel/plugin-transform-template-literals": "^7.14.5", "@babel/plugin-transform-typeof-symbol": "^7.14.5", "@babel/plugin-transform-unicode-escapes": "^7.14.5", "@babel/plugin-transform-unicode-regex": "^7.14.5", "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.14.5", + "@babel/types": "^7.15.6", "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.2", + "babel-plugin-polyfill-corejs3": "^0.2.5", "babel-plugin-polyfill-regenerator": "^0.2.2", - "core-js-compat": "^3.15.0", + "core-js-compat": "^3.16.0", "semver": "^6.3.0" }, "dependencies": { "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", "dev": true }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", + "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } }, @@ -2299,9 +2188,9 @@ } }, "@babel/preset-modules": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz", - "integrity": "sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==", + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", @@ -2312,9 +2201,9 @@ } }, "@babel/register": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.14.5.tgz", - "integrity": "sha512-TjJpGz/aDjFGWsItRBQMOFTrmTI9tr79CHOK+KIvLeCkbxuOAk2M5QHjvruIMGoo9OuccMh5euplPzc5FjAKGg==", + "version": "7.15.3", + "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.15.3.tgz", + "integrity": "sha512-mj4IY1ZJkorClxKTImccn4T81+UKTo4Ux0+OFSV9hME1ooqS9UV+pJ6BjD0qXPK4T3XW/KNa79XByjeEMZz+fw==", "dev": true, "requires": { "clone-deep": "^4.0.1", @@ -2325,9 +2214,9 @@ } }, "@babel/runtime": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.6.tgz", - "integrity": "sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", + "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", "dev": true, "requires": { "regenerator-runtime": "^0.13.4" @@ -2389,45 +2278,83 @@ "to-fast-properties": "^2.0.0" } }, - "@nicolo-ribaudo/chokidar-2": { - "version": "2.1.8-no-fsevents.2", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.2.tgz", - "integrity": "sha512-Fb8WxUFOBQVl+CX4MWet5o7eCc6Pj04rXIwVKZ6h1NnqTo45eOQW6aWyhG25NIODvWFwTDMwBsYxrQ3imxpetg==", - "dev": true, - "optional": true, - "requires": { - "anymatch": "^2.0.0", - "async-each": "^1.0.1", - "braces": "^2.3.2", - "glob-parent": "^5.1.2", - "inherits": "^2.0.3", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^3.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.2.1", - "upath": "^1.1.1" + "@discoveryjs/json-ext": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.5.tgz", + "integrity": "sha512-6nFkfkmSeV/rqSaS4oWHgmpnYw194f6hmWF5is6b0J1naJZoiD0NTc9AiUwPHvWsowkjuHErCZT1wa0jg+BLIA==", + "dev": true + }, + "@eslint/eslintrc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.3.tgz", + "integrity": "sha512-DHI1wDPoKCBPoLZA3qDR91+3te/wDSc1YhKg3jR8NxKKRJq2hwHwcWv31cSwSYvIBrmbENoYMWcenW8uproQqg==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.0.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" }, "dependencies": { - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "globals": { + "version": "13.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", + "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", "dev": true, - "optional": true, "requires": { - "is-glob": "^4.0.1" + "type-fest": "^0.20.2" } } } }, - "@sinonjs/commons": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.1.tgz", - "integrity": "sha512-892K+kWUUi3cl+LlqEWIDrhvLgdL79tECi8JZUyq6IviKy/DNhuzCRlbHUjxK89f4ypPMMaFnFuR9Ie6DoIMsw==", + "@humanwhocodes/config-array": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.6.0.tgz", + "integrity": "sha512-JQlEKbcgEUjBFhLIF4iqM7u/9lwgHRBcpHrmUNCALK0Q3amXN6lxdoXLnF0sm11E9VqTmBALR87IlUg1bZ8A9A==", "dev": true, "requires": { - "type-detect": "4.0.8" + "@humanwhocodes/object-schema": "^1.2.0", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + } + }, + "@humanwhocodes/object-schema": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.0.tgz", + "integrity": "sha512-wdppn25U8z/2yiaT6YGquE6X8sSv7hNMWSXYSSU1jGv/yd6XqjXgTDJ8KP4NgjTXfJ3GbRjeeb8RTV7a/VpM+w==", + "dev": true + }, + "@nicolo-ribaudo/chokidar-2": { + "version": "2.1.8-no-fsevents.3", + "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", + "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", + "dev": true, + "optional": true + }, + "@sinonjs/commons": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.1.tgz", + "integrity": "sha512-892K+kWUUi3cl+LlqEWIDrhvLgdL79tECi8JZUyq6IviKy/DNhuzCRlbHUjxK89f4ypPMMaFnFuR9Ie6DoIMsw==", + "dev": true, + "requires": { + "type-detect": "4.0.8" } }, "@sinonjs/formatio": { @@ -2457,16 +2384,10 @@ "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", "dev": true }, - "@types/color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", - "dev": true - }, "@types/eslint": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.28.0.tgz", - "integrity": "sha512-07XlgzX0YJUn4iG1ocY4IX9DzKSmMGUs6ESKlxWhZRaa0fatIWaHWUVapcuGa8r5HFnTqzj+4OCjd5f7EZ/i/A==", + "version": "7.28.2", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.28.2.tgz", + "integrity": "sha512-KubbADPkfoU75KgKeKLsFHXnU4ipH7wYg0TRT33NK3N3yiu7jlFAAoygIWBV+KbuHx/G+AvuGX6DllnK35gfJA==", "dev": true, "requires": { "@types/estree": "*", @@ -2489,12 +2410,34 @@ "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==", "dev": true }, + "@types/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "dev": true, + "requires": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, "@types/json-schema": { "version": "7.0.5", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz", "integrity": "sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==", "dev": true }, + "@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", + "dev": true + }, + "@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, "@types/mocha": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-7.0.2.tgz", @@ -2507,6 +2450,12 @@ "integrity": "sha512-8h7k1YgQKxKXWckzFCMfsIwn0Y61UK6tlD6y2lOb3hTOIMlK3t9/QwHOhc81TwU+RMf0As5fj7NPjroERCnejQ==", "dev": true }, + "@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, "@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -2653,6 +2602,27 @@ "@xtuc/long": "4.2.2" } }, + "@webpack-cli/configtest": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.0.tgz", + "integrity": "sha512-ttOkEkoalEHa7RaFYpM0ErK1xc4twg3Am9hfHhL7MVqlHebnkYd2wuI/ZqTDj0cVzZho6PdinY0phFZV3O0Mzg==", + "dev": true + }, + "@webpack-cli/info": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.0.tgz", + "integrity": "sha512-F6b+Man0rwE4n0409FyAJHStYA5OIZERxmnUfLVwv0mc0V1wLad3V7jqRlMkgKBeAq07jUvglacNaa6g9lOpuw==", + "dev": true, + "requires": { + "envinfo": "^7.7.3" + } + }, + "@webpack-cli/serve": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.0.tgz", + "integrity": "sha512-ZkVeqEmRpBV2GHvjjUZqEai2PpUbuq8Bqd//vEYsp63J8WyexI8ppCqVS3Zs0QADf6aWuPdU+0XsPI647PVlQA==", + "dev": true + }, "@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", @@ -2666,15 +2636,21 @@ "dev": true }, "acorn": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz", - "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz", + "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==", + "dev": true + }, + "acorn-import-assertions": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", + "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", "dev": true }, "acorn-jsx": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz", - "integrity": "sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true }, "ajv": { @@ -2696,28 +2672,11 @@ "dev": true }, "ansi-colors": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz", - "integrity": "sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", "dev": true }, - "ansi-escapes": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz", - "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==", - "dev": true, - "requires": { - "type-fest": "^0.11.0" - }, - "dependencies": { - "type-fest": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", - "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", - "dev": true - } - } - }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", @@ -2734,26 +2693,13 @@ } }, "anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", "dev": true, - "optional": true, "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" - }, - "dependencies": { - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "optional": true, - "requires": { - "remove-trailing-separator": "^1.0.1" - } - } + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" } }, "append-transform": { @@ -2780,24 +2726,6 @@ "sprintf-js": "~1.0.2" } }, - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", - "dev": true - }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true - }, - "arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", - "dev": true - }, "array-from": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", @@ -2805,35 +2733,39 @@ "dev": true }, "array-includes": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.3.tgz", - "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.4.tgz", + "integrity": "sha512-ZTNSQkmWumEbiHO2GF4GmWxYVTiQyJy2XOTa15sdQSrvKn7l+180egQMqlrMOUMCyLMD7pmyQe4mMDUT6Behrw==", "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2", + "es-abstract": "^1.19.1", "get-intrinsic": "^1.1.1", - "is-string": "^1.0.5" + "is-string": "^1.0.7" }, "dependencies": { "es-abstract": { - "version": "1.18.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.3.tgz", - "integrity": "sha512-nQIr12dxV7SSxE6r6f1l3DtAeEYdsGpps13dR0TwJg1S8gyp4ZPgy3FZcHBgbiQqnoqSTb+oC+kO4UQ0C/J8vw==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", "dev": true, "requires": { "call-bind": "^1.0.2", "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", "has": "^1.0.3", "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", - "object-inspect": "^1.10.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", "object-keys": "^1.1.1", "object.assign": "^4.1.2", "string.prototype.trimend": "^1.0.4", @@ -2848,19 +2780,19 @@ "dev": true }, "is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", "dev": true }, "is-regex": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz", - "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, "requires": { "call-bind": "^1.0.2", - "has-symbols": "^1.0.2" + "has-tostringtag": "^1.0.0" } }, "object-inspect": { @@ -2903,40 +2835,53 @@ } } }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "^1.0.1" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", "dev": true }, "array.prototype.flat": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", - "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.5.tgz", + "integrity": "sha512-KaYU+S+ndVqyUnignHftkwc58o3uVU1jzczILJ1tN2YaIZpFIKBiP/x/j97E5MVPsaCloPbqWLB/8qCTVvT2qg==", "dev": true, "requires": { - "call-bind": "^1.0.0", + "call-bind": "^1.0.2", "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" + "es-abstract": "^1.19.0" }, "dependencies": { "es-abstract": { - "version": "1.18.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.3.tgz", - "integrity": "sha512-nQIr12dxV7SSxE6r6f1l3DtAeEYdsGpps13dR0TwJg1S8gyp4ZPgy3FZcHBgbiQqnoqSTb+oC+kO4UQ0C/J8vw==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", "dev": true, "requires": { "call-bind": "^1.0.2", "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", "has": "^1.0.3", "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", - "object-inspect": "^1.10.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", "object-keys": "^1.1.1", "object.assign": "^4.1.2", "string.prototype.trimend": "^1.0.4", @@ -2951,19 +2896,19 @@ "dev": true }, "is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", "dev": true }, "is-regex": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz", - "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, "requires": { "call-bind": "^1.0.2", - "has-symbols": "^1.0.2" + "has-tostringtag": "^1.0.0" } }, "object-inspect": { @@ -3012,52 +2957,28 @@ "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", "dev": true }, - "assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", - "dev": true - }, - "astral-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", - "dev": true - }, - "async-each": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", - "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==", - "dev": true, - "optional": true - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true - }, "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "requires": { - "follow-redirects": "^1.10.0" + "follow-redirects": "^1.14.0" } }, "axios-mock-adapter": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.19.0.tgz", - "integrity": "sha512-D+0U4LNPr7WroiBDvWilzTMYPYTuZlbo6BI8YHZtj7wYQS8NkARlP9KBt8IWWHTQJ0q/8oZ0ClPBtKCCkx8cQg==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.20.0.tgz", + "integrity": "sha512-shZRhTjLP0WWdcvHKf3rH3iW9deb3UdKbdnKUoHmmsnBhVXN3sjPJM6ZvQ2r/ywgvBVQrMnjrSyQab60G1sr2w==", "dev": true, "requires": { "fast-deep-equal": "^3.1.3", - "is-buffer": "^2.0.3" + "is-blob": "^2.1.0", + "is-buffer": "^2.0.5" }, "dependencies": { "is-buffer": { @@ -3113,9 +3034,9 @@ } }, "babel-loader": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.2.tgz", - "integrity": "sha512-JvTd0/D889PQBtUXJ2PXaKU/pjZDMtHA9V2ecm+eNRmmBCMR09a+fmpGTNwnJtFmFl5Ei7Vy47LjBb+L0wQ99g==", + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.3.tgz", + "integrity": "sha512-n4Zeta8NC3QAsuyiizu0GkmRcQ6clkV9WFUnUf1iXP//IeSKbWjofW3UHyZVwlOB4y039YQKefawyTn64Zwbuw==", "dev": true, "requires": { "find-cache-dir": "^3.3.1", @@ -3125,9 +3046,9 @@ }, "dependencies": { "find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "dev": true, "requires": { "commondir": "^1.0.1", @@ -3239,13 +3160,13 @@ } }, "babel-plugin-polyfill-corejs3": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.3.tgz", - "integrity": "sha512-rCOFzEIJpJEAU14XCcV/erIf/wZQMmMT5l5vXOpL5uoznyOGfDIjPj6FVytMvtzaKSTSVKouOCTPJ5OMUZH30g==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.5.tgz", + "integrity": "sha512-ninF5MQNwAX9Z7c9ED+H2pGt1mXdP4TqzlHKyPIYmJIYz0N+++uwdM7RnJukklhzJ54Q84vA4ZJkgs7lu5vqcw==", "dev": true, "requires": { "@babel/helper-define-polyfill-provider": "^0.2.2", - "core-js-compat": "^3.14.0" + "core-js-compat": "^3.16.2" } }, "babel-plugin-polyfill-regenerator": { @@ -3401,61 +3322,6 @@ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true }, - "base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, - "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } - } - }, "big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", @@ -3463,11 +3329,10 @@ "dev": true }, "binary-extensions": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", - "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", - "dev": true, - "optional": true + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true }, "bluebird": { "version": "3.7.2", @@ -3485,35 +3350,6 @@ "concat-map": "0.0.1" } }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, "browser-stdout": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", @@ -3521,41 +3357,24 @@ "dev": true }, "browserslist": { - "version": "4.16.6", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz", - "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==", + "version": "4.17.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.5.tgz", + "integrity": "sha512-I3ekeB92mmpctWBoLXe0d5wPS2cBuRvvW0JyyJHMrk9/HmP2ZjrTboNAZ8iuGqaEIlKguljbQY32OkOJIRrgoA==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001219", - "colorette": "^1.2.2", - "electron-to-chromium": "^1.3.723", + "caniuse-lite": "^1.0.30001271", + "electron-to-chromium": "^1.3.878", "escalade": "^3.1.1", - "node-releases": "^1.1.71" + "node-releases": "^2.0.1", + "picocolors": "^1.0.0" } }, "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, - "cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, - "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - } - }, "caching-transform": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-3.0.2.tgz", @@ -3590,9 +3409,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001245", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001245.tgz", - "integrity": "sha512-768fM9j1PKXpOCKws6eTo3RHmvTUsG9UrpT4WoREFeZgJBTi4/X9g565azS/rVUGtqb8nt7FjLeF5u4kukERnA==", + "version": "1.0.30001271", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001271.tgz", + "integrity": "sha512-BBruZFWmt3HFdVPS8kceTBIguKxu4f99n5JNp06OlPD/luoAMIaIK5ieV5YjnBLH3Nysai9sxj9rpJj4ZisXOA==", "dev": true }, "catharsis": { @@ -3629,62 +3448,78 @@ "supports-color": "^5.3.0" } }, - "chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true - }, "check-error": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", "dev": true }, - "chrome-trace-event": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", - "dev": true - }, - "class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dev": true, - "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" + "chokidar": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", + "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" }, "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, "requires": { - "is-descriptor": "^0.1.0" + "is-number": "^7.0.0" } } } }, - "cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "dev": true + }, + "clean-webpack-plugin": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-4.0.0.tgz", + "integrity": "sha512-WuWE1nyTNAyW5T7oNyys2EN0cfP2fdRxhxnIQWiAp0bMabPdHhoGxM8A6YL2GhqwgrPnnaemVE7nv5XJ2Fhh2w==", "dev": true, "requires": { - "restore-cursor": "^3.1.0" + "del": "^4.1.1" } }, - "cli-width": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", - "dev": true - }, "cliui": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", @@ -3747,16 +3582,6 @@ "shallow-clone": "^3.0.0" } }, - "collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "dev": true, - "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - } - }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -3773,9 +3598,9 @@ "dev": true }, "colorette": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", + "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", "dev": true }, "combined-stream": { @@ -3798,12 +3623,6 @@ "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", "dev": true }, - "component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -3819,12 +3638,6 @@ "safe-buffer": "~5.1.1" } }, - "copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true - }, "core-js": { "version": "2.6.11", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", @@ -3832,12 +3645,12 @@ "dev": true }, "core-js-compat": { - "version": "3.15.2", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.15.2.tgz", - "integrity": "sha512-Wp+BJVvwopjI+A1EFqm2dwUmWYXrvucmtIB2LgXn/Rb+gWPKYxtmb4GKHGKG/KGF1eK9jfjzT38DITbTOCX/SQ==", + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.19.0.tgz", + "integrity": "sha512-R09rKZ56ccGBebjTLZHvzDxhz93YPT37gBm6qUhnwj3Kt7aCjjZWD1injyNbyeFHxNKfeZBSyds6O9n3MKq1sw==", "dev": true, "requires": { - "browserslist": "^4.16.6", + "browserslist": "^4.17.5", "semver": "7.0.0" }, "dependencies": { @@ -3849,12 +3662,6 @@ } } }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, "cp-file": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/cp-file/-/cp-file-6.2.0.tgz", @@ -3869,16 +3676,25 @@ } }, "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "dependencies": { + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } } }, "dateformat": { @@ -3910,12 +3726,6 @@ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, - "decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "dev": true - }, "deep-eql": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", @@ -3940,9 +3750,9 @@ } }, "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, "default-require-extensions": { @@ -3963,45 +3773,19 @@ "object-keys": "^1.0.12" } }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "del": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/del/-/del-4.1.1.tgz", + "integrity": "sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ==", "dev": true, "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "dependencies": { - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } + "@types/glob": "^7.1.1", + "globby": "^6.1.0", + "is-path-cwd": "^2.0.0", + "is-path-in-cwd": "^2.0.0", + "p-map": "^2.0.0", + "pify": "^4.0.1", + "rimraf": "^2.6.3" } }, "delayed-stream": { @@ -4015,12 +3799,6 @@ "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", "dev": true }, - "detect-file": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", - "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=", - "dev": true - }, "diff": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", @@ -4049,9 +3827,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.779", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.779.tgz", - "integrity": "sha512-nreave0y/1Qhmo8XtO6C/LpawNyC6U26+q7d814/e+tIqUK073pM+4xW7WUXyqCRa5K4wdxHmNMBAi8ap9nEew==", + "version": "1.3.879", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.879.tgz", + "integrity": "sha512-zJo+D9GwbJvM31IdFmwcGvychhk4KKbKYo2GWlsn+C/dxz2NwmbhGJjWwTfFSF2+eFH7VvfA8MCZ8SOqTrlnpw==", "dev": true }, "emoji-regex": { @@ -4066,27 +3844,13 @@ "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", "dev": true }, - "enhanced-resolve": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.3.0.tgz", - "integrity": "sha512-3e87LvavsdxyoCfGusJnrZ5G8SLPOFeHSNpZI/ATL9a5leXo2k0w6MKnbqhdBad9qTobSfB20Ld7UmgoNbAZkQ==", + "enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "dependencies": { - "memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dev": true, - "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - } - } + "ansi-colors": "^4.1.1" } }, "entities": { @@ -4095,14 +3859,11 @@ "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==", "dev": true }, - "errno": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", - "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", - "dev": true, - "requires": { - "prr": "~1.0.1" - } + "envinfo": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", + "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", + "dev": true }, "error-ex": { "version": "1.3.2", @@ -4133,9 +3894,9 @@ } }, "es-module-lexer": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.7.1.tgz", - "integrity": "sha512-MgtWFl5No+4S3TmhDmCz2ObFGm6lEpTnzbQi+Dd+pw4mlTIZTmM2iAs5gRlmx5zS9luzobCSBSI90JM/1/JgOw==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", + "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", "dev": true }, "es-to-primitive": { @@ -4161,6 +3922,12 @@ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "dev": true }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -4168,103 +3935,217 @@ "dev": true }, "eslint": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz", - "integrity": "sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.1.0.tgz", + "integrity": "sha512-JZvNneArGSUsluHWJ8g8MMs3CfIEzwaLx9KyH4tZ2i+R2/rPWzL8c0zg3rHdwYVpN/1sB9gqnjHwz9HoeJpGHw==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", + "@eslint/eslintrc": "^1.0.3", + "@humanwhocodes/config-array": "^0.6.0", "ajv": "^6.10.0", - "chalk": "^2.1.0", - "cross-spawn": "^6.0.5", - "debug": "^4.0.1", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", "doctrine": "^3.0.0", - "eslint-scope": "^5.0.0", - "eslint-utils": "^1.4.3", - "eslint-visitor-keys": "^1.1.0", - "espree": "^6.1.2", - "esquery": "^1.0.1", + "enquirer": "^2.3.5", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^6.0.0", + "eslint-utils": "^3.0.0", + "eslint-visitor-keys": "^3.0.0", + "espree": "^9.0.0", + "esquery": "^1.4.0", "esutils": "^2.0.2", - "file-entry-cache": "^5.0.1", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", "functional-red-black-tree": "^1.0.1", - "glob-parent": "^5.0.0", - "globals": "^12.1.0", + "glob-parent": "^6.0.1", + "globals": "^13.6.0", "ignore": "^4.0.6", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", - "inquirer": "^7.0.0", "is-glob": "^4.0.0", - "js-yaml": "^3.13.1", + "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.3.0", - "lodash": "^4.17.14", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", "minimatch": "^3.0.4", - "mkdirp": "^0.5.1", "natural-compare": "^1.4.0", - "optionator": "^0.8.3", + "optionator": "^0.9.1", "progress": "^2.0.0", - "regexpp": "^2.0.1", - "semver": "^6.1.2", - "strip-ansi": "^5.2.0", - "strip-json-comments": "^3.0.1", - "table": "^5.2.3", + "regexpp": "^3.2.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", "text-table": "^0.2.0", "v8-compile-cache": "^2.0.3" }, "dependencies": { "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true }, - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "ms": "^2.1.1" + "color-convert": "^2.0.1" + } + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, + "eslint-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", + "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^2.0.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "dev": true + } } }, + "eslint-visitor-keys": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.0.0.tgz", + "integrity": "sha512-mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q==", + "dev": true + }, "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, "requires": { - "is-glob": "^4.0.1" + "is-glob": "^4.0.3" + }, + "dependencies": { + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + } } }, "globals": { - "version": "12.4.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", - "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "version": "13.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", + "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", "dev": true, "requires": { - "type-fest": "^0.8.1" + "type-fest": "^0.20.2" } }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "regexpp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", "dev": true }, + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "requires": { - "ansi-regex": "^4.1.0" + "ansi-regex": "^5.0.1" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, @@ -4275,33 +4156,50 @@ "dev": true }, "eslint-import-resolver-node": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", - "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", + "integrity": "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==", "dev": true, "requires": { - "debug": "^2.6.9", - "resolve": "^1.13.1" + "debug": "^3.2.7", + "resolve": "^1.20.0" }, "dependencies": { "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, "requires": { - "ms": "2.0.0" + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "resolve": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", + "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", + "dev": true, + "requires": { + "is-core-module": "^2.2.0", + "path-parse": "^1.0.6" } } } }, "eslint-module-utils": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.1.tgz", - "integrity": "sha512-ZXI9B8cxAJIH4nfkhTwcRTEAnrVfobYqwjWy/QMCZ8rHkZHFjf9yO4BzpiF9kCSfNlMG54eKigISHpX0+AaT4A==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.1.tgz", + "integrity": "sha512-fjoetBXQZq2tSTWZ9yWVl2KuFrTZZH3V+9iD1V1RfpDgxzJR+mPd/KZmMiA8gbPqdBzpNiEHOuT7IYEWxrH0zQ==", "dev": true, "requires": { "debug": "^3.2.7", + "find-up": "^2.1.0", "pkg-dir": "^2.0.0" }, "dependencies": { @@ -4385,26 +4283,24 @@ } }, "eslint-plugin-import": { - "version": "2.23.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.23.4.tgz", - "integrity": "sha512-6/wP8zZRsnQFiR3iaPFgh5ImVRM1WN5NUWfTIRqwOdeiGJlBcSk82o1FEVq8yXmy4lkIzTo7YhHCIxlU/2HyEQ==", + "version": "2.25.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.2.tgz", + "integrity": "sha512-qCwQr9TYfoBHOFcVGKY9C9unq05uOxxdklmBXLVvcwo68y5Hta6/GzCZEMx2zQiu0woKNEER0LE7ZgaOfBU14g==", "dev": true, "requires": { - "array-includes": "^3.1.3", - "array.prototype.flat": "^1.2.4", + "array-includes": "^3.1.4", + "array.prototype.flat": "^1.2.5", "debug": "^2.6.9", "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.4", - "eslint-module-utils": "^2.6.1", - "find-up": "^2.0.0", + "eslint-import-resolver-node": "^0.3.6", + "eslint-module-utils": "^2.7.0", "has": "^1.0.3", - "is-core-module": "^2.4.0", + "is-core-module": "^2.7.0", + "is-glob": "^4.0.3", "minimatch": "^3.0.4", - "object.values": "^1.1.3", - "pkg-up": "^2.0.0", - "read-pkg-up": "^3.0.0", + "object.values": "^1.1.5", "resolve": "^1.20.0", - "tsconfig-paths": "^3.9.0" + "tsconfig-paths": "^3.11.0" }, "dependencies": { "debug": { @@ -4425,49 +4321,15 @@ "esutils": "^2.0.2" } }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "requires": { - "p-limit": "^1.1.0" + "is-extglob": "^2.1.1" } }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - }, "resolve": { "version": "1.20.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", @@ -4521,13 +4383,21 @@ "dev": true }, "eslint-scope": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz", - "integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-6.0.0.tgz", + "integrity": "sha512-uRDL9MWmQCkaFus8RF5K9/L/2fn+80yoW3jkD53l4shjCh26fCtvJGasxjUqP5OT87SYTxCVA3BwTUzuELx9kA==", "dev": true, "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + } } }, "eslint-utils": { @@ -4546,14 +4416,22 @@ "dev": true }, "espree": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-6.2.1.tgz", - "integrity": "sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.0.0.tgz", + "integrity": "sha512-r5EQJcYZ2oaGbeR0jR0fFVijGOcwai07/690YRXLINuhmVeRY4UKSAsQPe/0BNuDgwP7Ophoc1PRsr2E3tkbdQ==", "dev": true, "requires": { - "acorn": "^7.1.1", - "acorn-jsx": "^5.2.0", - "eslint-visitor-keys": "^1.1.0" + "acorn": "^8.5.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^3.0.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.0.0.tgz", + "integrity": "sha512-mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q==", + "dev": true + } } }, "esprima": { @@ -4563,29 +4441,37 @@ "dev": true }, "esquery": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz", - "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", "dev": true, "requires": { "estraverse": "^5.1.0" }, "dependencies": { "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true } } }, "esrecurse": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", - "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "requires": { - "estraverse": "^4.1.0" + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + } } }, "estraverse": { @@ -4606,219 +4492,68 @@ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "dev": true }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { + "is-stream": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true } } }, - "expand-tilde": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", - "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fastest-levenshtein": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", + "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", + "dev": true + }, + "file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", "dev": true, "requires": { - "homedir-polyfill": "^1.0.1" + "flat-cache": "^3.0.4" } }, - "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dev": true, - "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - } - } - } - }, - "external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dev": true, - "requires": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - } - }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, - "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } - } - }, - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true - }, - "figures": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5" - } - }, - "file-entry-cache": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", - "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", - "dev": true, - "requires": { - "flat-cache": "^2.0.1" - } - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", + "find-cache-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", + "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", "dev": true, "requires": { "commondir": "^1.0.1", @@ -4835,50 +4570,26 @@ "locate-path": "^3.0.0" } }, - "findup-sync": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz", - "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==", - "dev": true, - "requires": { - "detect-file": "^1.0.0", - "is-glob": "^4.0.0", - "micromatch": "^3.0.4", - "resolve-dir": "^1.0.1" - } - }, "flat": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/flat/-/flat-4.1.0.tgz", - "integrity": "sha512-Px/TiLIznH7gEDlPXcUD4KnBusa6kR6ayRUVcnEAbreRIuhkqow/mun59BuRXwoYk7ZQOLW1ZM05ilIvK38hFw==", - "dev": true, - "requires": { - "is-buffer": "~2.0.3" - }, - "dependencies": { - "is-buffer": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz", - "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==", - "dev": true - } - } + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true }, "flat-cache": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", - "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", "dev": true, "requires": { - "flatted": "^2.0.0", - "rimraf": "2.6.3", - "write": "1.0.3" + "flatted": "^3.1.0", + "rimraf": "^3.0.2" }, "dependencies": { "rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "requires": { "glob": "^7.1.3" @@ -4887,21 +4598,15 @@ } }, "flatted": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", - "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", + "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", "dev": true }, "follow-redirects": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.1.tgz", - "integrity": "sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==" - }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true + "version": "1.14.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz", + "integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==" }, "foreground-child": { "version": "1.5.6", @@ -4935,15 +4640,6 @@ "mime-types": "^2.1.12" } }, - "fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "dev": true, - "requires": { - "map-cache": "^0.2.2" - } - }, "fs-extra": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", @@ -4967,6 +4663,13 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, "fsu": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/fsu/-/fsu-1.1.1.tgz", @@ -5012,12 +4715,22 @@ "has-symbols": "^1.0.1" } }, - "get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", @@ -5032,53 +4745,48 @@ "path-is-absolute": "^1.0.0" } }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, "glob-to-regexp": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", "dev": true }, - "global-modules": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", - "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "globby": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "dev": true, "requires": { - "global-prefix": "^3.0.0" + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" }, "dependencies": { - "global-prefix": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", - "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", - "dev": true, - "requires": { - "ini": "^1.3.5", - "kind-of": "^6.0.2", - "which": "^1.3.1" - } + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true } } }, - "global-prefix": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", - "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", - "dev": true, - "requires": { - "expand-tilde": "^2.0.2", - "homedir-polyfill": "^1.0.1", - "ini": "^1.3.4", - "is-windows": "^1.0.1", - "which": "^1.2.14" - } - }, - "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true - }, "graceful-fs": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", @@ -5125,35 +4833,20 @@ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" }, - "has-value": { + "has-tostringtag": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", "dev": true, "requires": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - } - }, - "has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" + "has-symbols": "^1.0.2" }, "dependencies": { - "kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } + "has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "dev": true } } }, @@ -5172,15 +4865,6 @@ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true }, - "homedir-polyfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", - "dev": true, - "requires": { - "parse-passwd": "^1.0.0" - } - }, "hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", @@ -5206,14 +4890,11 @@ "toidentifier": "1.0.0" } }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } + "human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true }, "ignore": { "version": "4.0.6", @@ -5222,9 +4903,9 @@ "dev": true }, "import-fresh": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", - "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, "requires": { "parent-module": "^1.0.0", @@ -5232,13 +4913,58 @@ } }, "import-local": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", - "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.3.tgz", + "integrity": "sha512-bE9iaUY3CXH8Cwfan/abDKAxe1KGT9kyGsBPqf6DMK/z0a2OzAsrukeYNgIH6cH5Xr452jb1TUL8rSfCLjZ9uA==", "dev": true, "requires": { - "pkg-dir": "^3.0.0", - "resolve-cwd": "^2.0.0" + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + } } }, "imurmurhash": { @@ -5263,135 +4989,32 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, - "ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, + "interpret": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", + "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", "dev": true }, - "inquirer": { - "version": "7.3.3", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", - "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", - "dev": true, - "requires": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.19", - "mute-stream": "0.0.8", - "run-async": "^2.4.0", - "rxjs": "^6.6.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true - }, - "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", - "dev": true, - "requires": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.0" - } - }, - "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", - "dev": true - }, - "invariant": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", - "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", "dev": true, "requires": { "loose-envify": "^1.0.0" } }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "is-arguments": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz", @@ -5405,36 +5028,39 @@ "dev": true }, "is-bigint": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.2.tgz", - "integrity": "sha512-0JV5+SOCQkIdzjBK9buARcV804Ddu7A0Qet6sHi3FimE9ne6m4BGQZfRn+NZiXbBk4F4XmHfDZIipLj9pX8dSA==", - "dev": true + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "requires": { + "has-bigints": "^1.0.1" + } }, "is-binary-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, - "optional": true, "requires": { - "binary-extensions": "^1.0.0" + "binary-extensions": "^2.0.0" } }, + "is-blob": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-blob/-/is-blob-2.1.0.tgz", + "integrity": "sha512-SZ/fTft5eUhQM6oF/ZaASFDEdbFVe89Imltn9uZr03wdKMcWNVYSMjQPFtg05QuNkt5l5c135ElvXEQG0rk4tw==", + "dev": true + }, "is-boolean-object": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.1.tgz", - "integrity": "sha512-bXdQWkECBUIAcCkeH1unwJLIpZYaa5VvuygSyS/c2lf719mTKZDU5UdDRlpd01UjADgmW8RfqaP+mRaVPdr/Ng==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "dev": true, "requires": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" } }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true - }, "is-callable": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz", @@ -5442,65 +5068,20 @@ "dev": true }, "is-core-module": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz", - "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", + "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", "dev": true, "requires": { "has": "^1.0.3" } }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "is-date-object": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", "dev": true }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "dependencies": { - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - } - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -5528,30 +5109,43 @@ "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", "dev": true }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", "dev": true, "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } + "has-tostringtag": "^1.0.0" } }, - "is-number-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.5.tgz", - "integrity": "sha512-RU0lI/n95pMoUKu9v1BZP5MBcZuNSVJkMkAG2dJqC4z2GlkGUNeH68SuHuBKBD/XFe+LHZ+f9BKkLET60Niedw==", + "is-path-cwd": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", + "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", + "dev": true + }, + "is-path-in-cwd": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz", + "integrity": "sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ==", + "dev": true, + "requires": { + "is-path-inside": "^2.1.0" + } + }, + "is-path-inside": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-2.1.0.tgz", + "integrity": "sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg==", + "dev": true, + "requires": { + "path-is-inside": "^1.0.2" + } + }, + "is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true }, "is-plain-object": { @@ -5572,6 +5166,12 @@ "has-symbols": "^1.0.1" } }, + "is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "dev": true + }, "is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", @@ -5579,10 +5179,13 @@ "dev": true }, "is-string": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.6.tgz", - "integrity": "sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==", - "dev": true + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } }, "is-symbol": { "version": "1.0.3", @@ -5593,17 +5196,20 @@ "has-symbols": "^1.0.1" } }, - "is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "dev": true }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true + "is-weakref": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz", + "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.0" + } }, "isexe": { "version": "2.0.0", @@ -5723,9 +5329,9 @@ } }, "jest-worker": { - "version": "27.0.6", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.0.6.tgz", - "integrity": "sha512-qupxcj/dRuA3xHPMUd40gr2EaAurFbkwzOh7wfPaeE9id7hyjURRQoqNfHifHK3XjJU6YJJUQKILGUnwGPEOCA==", + "version": "27.3.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.3.1.tgz", + "integrity": "sha512-ks3WCzsiZaOPJl/oMsDjaf0TRiSv7ctNgs0FqRr2nARsovz6AWWy4oLElwcquGSz692DzgZQrCLScPNs5YlC4g==", "dev": true, "requires": { "@types/node": "*", @@ -5881,13 +5487,13 @@ } }, "levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" } }, "linkify-it": { @@ -5899,26 +5505,6 @@ "uc.micro": "^1.0.1" } }, - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } - } - }, "loader-runner": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz", @@ -5998,13 +5584,71 @@ "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=", "dev": true }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, "log-symbols": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", - "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dev": true, "requires": { - "chalk": "^2.4.2" + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } } }, "lolex": { @@ -6042,21 +5686,6 @@ "semver": "^5.6.0" } }, - "map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", - "dev": true - }, - "map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "dev": true, - "requires": { - "object-visit": "^1.0.0" - } - }, "markdown-it": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz", @@ -6111,27 +5740,6 @@ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, "mime-db": { "version": "1.48.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", @@ -6166,27 +5774,6 @@ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "dev": true }, - "mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dev": true, - "requires": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - } - } - } - }, "mkdirp": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", @@ -6197,107 +5784,110 @@ } }, "mocha": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-7.2.0.tgz", - "integrity": "sha512-O9CIypScywTVpNaRrCAgoUnJgozpIofjKUYmJhiCIJMiuYnLI6otcb1/kpW9/n/tJODHGZ7i8aLQoDVsMtOKQQ==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.3.tgz", + "integrity": "sha512-Xcpl9FqXOAYqI3j79pEtHBBnQgVXIhpULjGQa7DVb0Po+VzmSIK9kanAiWLHoRR/dbZ2qpdPshuXr8l1VaHCzw==", "dev": true, "requires": { - "ansi-colors": "3.2.3", + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "chokidar": "3.3.0", - "debug": "3.2.6", - "diff": "3.5.0", - "escape-string-regexp": "1.0.5", - "find-up": "3.0.0", - "glob": "7.1.3", + "chokidar": "3.5.2", + "debug": "4.3.2", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.1.7", "growl": "1.10.5", "he": "1.2.0", - "js-yaml": "3.13.1", - "log-symbols": "3.0.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", "minimatch": "3.0.4", - "mkdirp": "0.5.5", - "ms": "2.1.1", - "node-environment-flags": "1.0.6", - "object.assign": "4.1.0", - "strip-json-comments": "2.0.1", - "supports-color": "6.0.0", - "which": "1.3.1", - "wide-align": "1.1.3", - "yargs": "13.3.2", - "yargs-parser": "13.1.2", - "yargs-unparser": "1.6.0" + "ms": "2.1.3", + "nanoid": "3.1.25", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "which": "2.0.2", + "workerpool": "6.1.5", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" }, "dependencies": { - "anymatch": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", - "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" + "color-convert": "^2.0.1" } }, - "binary-extensions": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz", - "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==", + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" } }, - "chokidar": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.3.0.tgz", - "integrity": "sha512-dGmKLDdT3Gdl7fBUe8XK+gAtGmzy5Fn0XkkWQuYxGIgWVPPse2CxFA5mtrlD0TOHaHjEUqkWNyP1XdHoJES/4A==", - "dev": true, - "requires": { - "anymatch": "~3.1.1", - "braces": "~3.0.2", - "fsevents": "~2.1.1", - "glob-parent": "~5.1.0", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.2.0" - } - }, - "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { - "ms": "^2.1.1" + "color-name": "~1.1.4" } }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, "requires": { - "to-regex-range": "^5.0.1" + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" } }, - "fsevents": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", - "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", - "dev": true, - "optional": true - }, "glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -6308,137 +5898,237 @@ "path-is-absolute": "^1.0.0" } }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "requires": { - "is-glob": "^4.0.1" + "argparse": "^2.0.1" } }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "requires": { - "binary-extensions": "^2.0.0" + "p-locate": "^5.0.0" } }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, - "js-yaml": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "yocto-queue": "^0.1.0" } }, - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", - "dev": true - }, - "readdirp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.2.0.tgz", - "integrity": "sha512-crk4Qu3pmXwgxdSgGhgA/eXiJAPQiX4GMOZZMXnqKxHX7TaoL+3gQVo/WeuAiogr07DpnfjIMpXXa+PAIvwPGQ==", + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "requires": { - "picomatch": "^2.0.4" + "p-limit": "^3.0.2" } }, - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "supports-color": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.0.0.tgz", - "integrity": "sha512-on9Kwidc1IUQo+bQdhi8+Tijpo0e1SS6RoGo2guUwn5vdaxw8RXOF9Vb2ws+ihWOmh4JnCJOvaziZWP1VABaLg==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" } }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "requires": { - "is-number": "^7.0.0" + "isexe": "^2.0.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" } + }, + "yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true } } }, "mochawesome": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/mochawesome/-/mochawesome-4.1.0.tgz", - "integrity": "sha512-U23K19mLqmuBqFyIBl7FVkcIuG/2JYStCj+91WmxK1/psLgHlWBEZsNe25U0x4t1Eqgu55aHv+0utLwzfhnupw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/mochawesome/-/mochawesome-6.3.1.tgz", + "integrity": "sha512-G2J7Le8ap+0222otJQEUVFs7RYzphiIk21NzaBZE2dbyHJ2+9aai+V2cV7lreEKigDpwQ+SXeiiBH9KQlrkaAQ==", "dev": true, "requires": { - "chalk": "^2.4.1", - "diff": "^4.0.1", + "chalk": "^4.1.0", + "diff": "^5.0.0", "json-stringify-safe": "^5.0.1", "lodash.isempty": "^4.4.0", "lodash.isfunction": "^3.0.9", "lodash.isobject": "^3.0.2", "lodash.isstring": "^4.0.1", - "mochawesome-report-generator": "^4.0.0", - "strip-ansi": "^5.0.0", - "uuid": "^3.3.2" + "mochawesome-report-generator": "^5.2.0", + "strip-ansi": "^6.0.0", + "uuid": "^8.3.2" }, "dependencies": { "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "requires": { - "ansi-regex": "^4.1.0" + "ansi-regex": "^5.0.1" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" } + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true } } }, "mochawesome-report-generator": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/mochawesome-report-generator/-/mochawesome-report-generator-4.1.0.tgz", - "integrity": "sha512-8diUnfzLqMPybIsq3aw3Zc4Npw9W2ZCx8/fMR0ShAXfDTtPH4t2mRykXEWBhsBA5+jM74mjWpwEqY6Pmz+pCsw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/mochawesome-report-generator/-/mochawesome-report-generator-5.2.0.tgz", + "integrity": "sha512-DDY/3jSkM/VrWy0vJtdYOf6qBLdaPaLcI7rQmBVbnclIX7AKniE1Rhz3T/cMT/7u54W5EHNo1z84z7efotq/Eg==", "dev": true, "requires": { "chalk": "^2.4.2", "dateformat": "^3.0.2", + "escape-html": "^1.0.3", "fs-extra": "^7.0.0", "fsu": "^1.0.2", "lodash.isfunction": "^3.0.8", - "opener": "^1.4.2", + "opener": "^1.5.2", "prop-types": "^15.7.2", - "react": "^16.8.5", - "react-dom": "^16.8.5", "tcomb": "^3.2.17", "tcomb-validation": "^3.3.0", "validator": "^10.11.0", @@ -6470,31 +6160,12 @@ } } }, - "mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "nanoid": { + "version": "3.1.25", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", + "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==", "dev": true }, - "nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - } - }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -6513,12 +6184,6 @@ "integrity": "sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==", "dev": true }, - "nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", - "dev": true - }, "nise": { "version": "1.5.3", "resolved": "https://registry.npmjs.org/nise/-/nise-1.5.3.tgz", @@ -6577,16 +6242,6 @@ } } }, - "node-environment-flags": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", - "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", - "dev": true, - "requires": { - "object.getownpropertydescriptors": "^2.0.3", - "semver": "^5.7.0" - } - }, "node-modules-regexp": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", @@ -6594,9 +6249,9 @@ "dev": true }, "node-releases": { - "version": "1.1.73", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.73.tgz", - "integrity": "sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", + "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==", "dev": true }, "normalize-package-data": { @@ -6617,6 +6272,15 @@ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "requires": { + "path-key": "^3.0.0" + } + }, "nyc": { "version": "14.1.1", "resolved": "https://registry.npmjs.org/nyc/-/nyc-14.1.1.tgz", @@ -6656,37 +6320,6 @@ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true }, - "object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "dev": true, - "requires": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "object-inspect": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", @@ -6709,15 +6342,6 @@ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true }, - "object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "dev": true, - "requires": { - "isobject": "^3.0.0" - } - }, "object.assign": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", @@ -6730,53 +6354,38 @@ "object-keys": "^1.0.11" } }, - "object.getownpropertydescriptors": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz", - "integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1" - } - }, - "object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - }, "object.values": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.4.tgz", - "integrity": "sha512-TnGo7j4XSnKQoK3MfvkzqKCi0nVe/D9I9IjwTNYdb/fxYHpjrluHVOgw0AF6jrRFGMPHdfuidR09tIDiIvnaSg==", + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz", + "integrity": "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==", "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", - "es-abstract": "^1.18.2" + "es-abstract": "^1.19.1" }, "dependencies": { "es-abstract": { - "version": "1.18.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.3.tgz", - "integrity": "sha512-nQIr12dxV7SSxE6r6f1l3DtAeEYdsGpps13dR0TwJg1S8gyp4ZPgy3FZcHBgbiQqnoqSTb+oC+kO4UQ0C/J8vw==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", "dev": true, "requires": { "call-bind": "^1.0.2", "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", "has": "^1.0.3", "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", - "object-inspect": "^1.10.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", "object-keys": "^1.1.1", "object.assign": "^4.1.2", "string.prototype.trimend": "^1.0.4", @@ -6791,19 +6400,19 @@ "dev": true }, "is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", "dev": true }, "is-regex": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz", - "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, "requires": { "call-bind": "^1.0.2", - "has-symbols": "^1.0.2" + "has-tostringtag": "^1.0.0" } }, "object-inspect": { @@ -6865,23 +6474,23 @@ } }, "opener": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.1.tgz", - "integrity": "sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", + "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", "dev": true }, "optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", "dev": true, "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" } }, "os-homedir": { @@ -6890,12 +6499,6 @@ "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "dev": true }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true - }, "p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -6914,6 +6517,12 @@ "p-limit": "^2.0.0" } }, + "p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "dev": true + }, "p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", @@ -6941,28 +6550,6 @@ "callsites": "^3.0.0" } }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - }, - "parse-passwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", - "dev": true - }, - "pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", - "dev": true - }, "path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", @@ -6975,16 +6562,22 @@ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, "path-to-regexp": { @@ -7004,29 +6597,18 @@ } } }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "^3.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } - } - }, "pathval": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", "dev": true }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "picomatch": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", @@ -7039,11 +6621,26 @@ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true }, - "pirates": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", - "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", - "dev": true, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "pirates": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", + "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", + "dev": true, "requires": { "node-modules-regexp": "^1.0.0" } @@ -7057,76 +6654,10 @@ "find-up": "^3.0.0" } }, - "pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz", - "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=", - "dev": true, - "requires": { - "find-up": "^2.1.0" - }, - "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - } - } - }, - "posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "dev": true - }, "prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true }, "progress": { @@ -7152,12 +6683,6 @@ "integrity": "sha1-AMLa7t2iDofjeCs0Stuhzd1q1wk=", "dev": true }, - "prr": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", - "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", - "dev": true - }, "pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", @@ -7193,126 +6718,28 @@ "safe-buffer": "^5.1.0" } }, - "react": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react/-/react-16.13.1.tgz", - "integrity": "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==", - "dev": true, - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" - } - }, - "react-dom": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.1.tgz", - "integrity": "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==", - "dev": true, - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.1" - } - }, "react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", "dev": true }, - "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", - "dev": true, - "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - } - }, - "read-pkg-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", - "dev": true, - "requires": { - "find-up": "^2.0.0", - "read-pkg": "^3.0.0" - }, - "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - } - } - }, - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "picomatch": "^2.2.1" } }, - "readdirp": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", - "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "rechoir": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.1.tgz", + "integrity": "sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==", "dev": true, - "optional": true, "requires": { - "graceful-fs": "^4.1.11", - "micromatch": "^3.1.10", - "readable-stream": "^2.0.2" + "resolve": "^1.9.0" } }, "regenerate": { @@ -7322,18 +6749,18 @@ "dev": true }, "regenerate-unicode-properties": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz", - "integrity": "sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-9.0.0.tgz", + "integrity": "sha512-3E12UeNSPfjrgwjkR81m5J7Aw/T55Tu7nUyZVQYCKEOs+2dkxEY+DpPtZzO4YruuiPb7NkYLVcyJC4+zCbk5pA==", "dev": true, "requires": { - "regenerate": "^1.4.0" + "regenerate": "^1.4.2" } }, "regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==", + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", "dev": true }, "regenerator-transform": { @@ -7345,16 +6772,6 @@ "@babel/runtime": "^7.8.4" } }, - "regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dev": true, - "requires": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - } - }, "regexp.prototype.flags": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz", @@ -7372,17 +6789,17 @@ "dev": true }, "regexpu-core": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.1.tgz", - "integrity": "sha512-ywH2VUraA44DZQuRKzARmw6S66mr48pQVva4LBeRhcOltJ6hExvWly5ZjFLYo67xbIxb6W1q4bAGtgfEl20zfQ==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.8.0.tgz", + "integrity": "sha512-1F6bYsoYiz6is+oz70NWur2Vlh9KWtswuRuzJOfeYUrfPX2o8n74AnUVaOGDbUqVGO9fNHu48/pjJO4sNVwsOg==", "dev": true, "requires": { - "regenerate": "^1.4.0", - "regenerate-unicode-properties": "^8.2.0", - "regjsgen": "^0.5.1", - "regjsparser": "^0.6.4", - "unicode-match-property-ecmascript": "^1.0.4", - "unicode-match-property-value-ecmascript": "^1.2.0" + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^9.0.0", + "regjsgen": "^0.5.2", + "regjsparser": "^0.7.0", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.0.0" } }, "regjsgen": { @@ -7392,9 +6809,9 @@ "dev": true }, "regjsparser": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.9.tgz", - "integrity": "sha512-ZqbNRz1SNjLAiYuwY0zoXW8Ne675IX5q+YHioAGbCw4X96Mjl2+dcX9B2ciaeyYjViDAfvIjFpQjJgLttTEERQ==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.7.0.tgz", + "integrity": "sha512-A4pcaORqmNMDVwUjWoTzuhwMGpP+NykpfqAsEgI1FSH/EzC7lrN5TMd+kN8YCovX+jMpu8eaqXgXPCa0g8FQNQ==", "dev": true, "requires": { "jsesc": "~0.5.0" @@ -7417,25 +6834,6 @@ "es6-error": "^4.0.1" } }, - "remove-trailing-separator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", - "dev": true, - "optional": true - }, - "repeat-element": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", - "dev": true - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -7467,73 +6865,28 @@ } }, "resolve-cwd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", - "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, "requires": { - "resolve-from": "^3.0.0" + "resolve-from": "^5.0.0" }, "dependencies": { "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true } } }, - "resolve-dir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", - "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", - "dev": true, - "requires": { - "expand-tilde": "^2.0.0", - "global-modules": "^1.0.0" - }, - "dependencies": { - "global-modules": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", - "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", - "dev": true, - "requires": { - "global-prefix": "^1.0.1", - "is-windows": "^1.0.1", - "resolve-dir": "^1.0.0" - } - } - } - }, "resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true }, - "resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "dev": true - }, - "restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, - "requires": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - } - }, - "ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true - }, "rimraf": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", @@ -7543,52 +6896,12 @@ "glob": "^7.1.3" } }, - "run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", - "dev": true - }, - "rxjs": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.2.tgz", - "integrity": "sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, - "safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "dev": true, - "requires": { - "ret": "~0.1.10" - } - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "scheduler": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", - "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", - "dev": true, - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - }, "schema-utils": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", @@ -7621,29 +6934,6 @@ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "dev": true }, - "set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, "setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", @@ -7660,18 +6950,18 @@ } }, "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "requires": { - "shebang-regex": "^1.0.0" + "shebang-regex": "^3.0.0" } }, "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, "side-channel": { @@ -7708,155 +6998,14 @@ "@sinonjs/samsam": "^3.3.3", "diff": "^3.5.0", "lolex": "^4.2.0", - "nise": "^1.5.2", - "supports-color": "^5.5.0" - } - }, - "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true - }, - "slice-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", - "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.0", - "astral-regex": "^1.0.0", - "is-fullwidth-code-point": "^2.0.0" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - } - } - }, - "snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, - "requires": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, - "requires": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } - } - }, - "snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dev": true, - "requires": { - "kind-of": "^3.2.0" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } + "nise": "^1.5.2", + "supports-color": "^5.5.0" } }, - "source-list-map": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", - "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", + "slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", "dev": true }, "source-map": { @@ -7865,23 +7014,10 @@ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "dev": true }, - "source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "dev": true, - "requires": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, "source-map-support": { - "version": "0.5.19", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", - "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", + "version": "0.5.20", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz", + "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -7896,12 +7032,6 @@ } } }, - "source-map-url": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", - "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", - "dev": true - }, "spawn-wrap": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-1.4.3.tgz", @@ -7948,42 +7078,12 @@ "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", "dev": true }, - "split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dev": true, - "requires": { - "extend-shallow": "^3.0.0" - } - }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, - "static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "dev": true, - "requires": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - } - } - }, "statuses": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", @@ -8001,29 +7101,29 @@ } }, "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" + "strip-ansi": "^6.0.1" }, "dependencies": { "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true }, "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "requires": { - "ansi-regex": "^5.0.0" + "ansi-regex": "^5.0.1" } } } @@ -8048,15 +7148,6 @@ "es-abstract": "^1.17.5" } }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -8072,6 +7163,12 @@ "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", "dev": true }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true + }, "strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -8087,70 +7184,12 @@ "has-flag": "^3.0.0" } }, - "table": { - "version": "5.4.6", - "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", - "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", - "dev": true, - "requires": { - "ajv": "^6.10.2", - "lodash": "^4.17.14", - "slice-ansi": "^2.1.0", - "string-width": "^3.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } - } - }, "taffydb": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz", "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=", "dev": true }, - "tapable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", - "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", - "dev": true - }, "tcomb": { "version": "3.2.29", "resolved": "https://registry.npmjs.org/tcomb/-/tcomb-3.2.29.tgz", @@ -8167,14 +7206,14 @@ } }, "terser": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.7.1.tgz", - "integrity": "sha512-b3e+d5JbHAe/JSjwsC3Zn55wsBIM7AsHLjKxT31kGCldgbpFePaFo+PiddtO6uwRZWRw7sPXmAN8dTW61xmnSg==", + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.9.0.tgz", + "integrity": "sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ==", "dev": true, "requires": { "commander": "^2.20.0", "source-map": "~0.7.2", - "source-map-support": "~0.5.19" + "source-map-support": "~0.5.20" }, "dependencies": { "commander": { @@ -8192,23 +7231,23 @@ } }, "terser-webpack-plugin": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.1.4.tgz", - "integrity": "sha512-C2WkFwstHDhVEmsmlCxrXUtVklS+Ir1A7twrYzrDrQQOIMOaVAYykaoo/Aq1K0QRkMoY2hhvDQY1cm4jnIMFwA==", + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.2.4.tgz", + "integrity": "sha512-E2CkNMN+1cho04YpdANyRrn8CyN4yMy+WdFKZIySFZrGXZxJwJP6PMNGGc/Mcr6qygQHUUqRxnAPmi0M9f00XA==", "dev": true, "requires": { - "jest-worker": "^27.0.2", + "jest-worker": "^27.0.6", "p-limit": "^3.1.0", - "schema-utils": "^3.0.0", + "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.0", "source-map": "^0.6.1", - "terser": "^5.7.0" + "terser": "^5.7.2" }, "dependencies": { "@types/json-schema": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz", - "integrity": "sha512-YSBPTLTVm2e2OoQIDYx8HaeWJ5tTToLH67kXR7zYNGupXMEHa2++G8k+DczX2cFVgalypqtyZIcU19AFcmOpmg==", + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", "dev": true }, "ajv": { @@ -8233,12 +7272,12 @@ } }, "schema-utils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.0.tgz", - "integrity": "sha512-tTEaeYkyIhEZ9uWgAjDerWov3T9MgX8dhhy2r0IGeeX4W8ngtGl1++dUve/RUqzuaASSh7shwCDJjEzthxki8w==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", "dev": true, "requires": { - "@types/json-schema": "^7.0.7", + "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } @@ -8329,69 +7368,12 @@ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", "dev": true }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true - }, - "tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, - "requires": { - "os-tmpdir": "~1.0.2" - } - }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true }, - "to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dev": true, - "requires": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - } - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - }, "toidentifier": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", @@ -8399,29 +7381,35 @@ "dev": true }, "tsconfig-paths": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.10.1.tgz", - "integrity": "sha512-rETidPDgCpltxF7MjBZlAFPUHv5aHH2MymyPvh+vEyWAED4Eb/WeMbsnD/JDr4OKPOA1TssDHgIcpTN5Kh0p6Q==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.11.0.tgz", + "integrity": "sha512-7ecdYDnIdmv639mmDwslG6KQg1Z9STTz1j7Gcz0xa+nshh/gKDAHcPxRbWOsA3SPp0tXP2leTcY9Kw+NAkfZzA==", "dev": true, "requires": { - "json5": "^2.2.0", + "@types/json5": "^0.0.29", + "json5": "^1.0.1", "minimist": "^1.2.0", "strip-bom": "^3.0.0" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + } } }, - "tslib": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", - "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==", - "dev": true - }, "type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, "requires": { - "prelude-ls": "~1.1.2" + "prelude-ls": "^1.2.1" } }, "type-detect": { @@ -8431,9 +7419,9 @@ "dev": true }, "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true }, "uc.micro": { @@ -8478,98 +7466,39 @@ "dev": true }, "unicode-canonical-property-names-ecmascript": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", - "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", "dev": true }, "unicode-match-property-ecmascript": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", - "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", "dev": true, "requires": { - "unicode-canonical-property-names-ecmascript": "^1.0.4", - "unicode-property-aliases-ecmascript": "^1.0.4" + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" } }, "unicode-match-property-value-ecmascript": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz", - "integrity": "sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", + "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", "dev": true }, "unicode-property-aliases-ecmascript": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz", - "integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", + "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", "dev": true }, - "union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dev": true, - "requires": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - } - }, "universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "dev": true }, - "unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dev": true, - "requires": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "dependencies": { - "has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dev": true, - "requires": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "dependencies": { - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "requires": { - "isarray": "1.0.0" - } - } - } - }, - "has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "dev": true - } - } - }, - "upath": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", - "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", - "dev": true, - "optional": true - }, "uri-js": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", @@ -8579,24 +7508,6 @@ "punycode": "^2.1.0" } }, - "urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", - "dev": true - }, - "use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "dev": true - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "dev": true - }, "uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -8604,9 +7515,9 @@ "dev": true }, "v8-compile-cache": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz", - "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", "dev": true }, "validate-npm-package-license": { @@ -8636,9 +7547,9 @@ } }, "webpack": { - "version": "5.45.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.45.1.tgz", - "integrity": "sha512-68VT2ZgG9EHs6h6UxfV2SEYewA9BA3SOLSnC2NEbJJiEwbAiueDL033R1xX0jzjmXvMh0oSeKnKgbO2bDXIEyQ==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.60.0.tgz", + "integrity": "sha512-OL5GDYi2dKxnwJPSOg2tODgzDxAffN0osgWkZaBo/l3ikCxDFP+tuJT3uF7GyBE3SDBpKML/+a8EobyWAQO3DQ==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.0", @@ -8647,10 +7558,11 @@ "@webassemblyjs/wasm-edit": "1.11.1", "@webassemblyjs/wasm-parser": "1.11.1", "acorn": "^8.4.1", + "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.8.0", - "es-module-lexer": "^0.7.1", + "enhanced-resolve": "^5.8.3", + "es-module-lexer": "^0.9.0", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", @@ -8663,19 +7575,19 @@ "tapable": "^2.1.1", "terser-webpack-plugin": "^5.1.3", "watchpack": "^2.2.0", - "webpack-sources": "^2.3.0" + "webpack-sources": "^3.2.0" }, "dependencies": { "@types/json-schema": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz", - "integrity": "sha512-YSBPTLTVm2e2OoQIDYx8HaeWJ5tTToLH67kXR7zYNGupXMEHa2++G8k+DczX2cFVgalypqtyZIcU19AFcmOpmg==", + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", "dev": true }, "acorn": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.4.1.tgz", - "integrity": "sha512-asabaBSkEKosYKMITunzX177CXxQ4Q8BSSzMTKD+FefUhipQC70gfW5SiUDhYQ3vk8G+81HqQk7Fv9OXwwn9KA==", + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz", + "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==", "dev": true }, "ajv": { @@ -8691,9 +7603,9 @@ } }, "enhanced-resolve": { - "version": "5.8.2", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.2.tgz", - "integrity": "sha512-F27oB3WuHDzvR2DOGNTaYy0D5o0cnrv8TeI482VM4kYgQd/FT9lUQwuNsJ0oOHtBUq7eiW5ytqzp7nBFknL+GA==", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz", + "integrity": "sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==", "dev": true, "requires": { "graceful-fs": "^4.2.4", @@ -8720,58 +7632,66 @@ }, "dependencies": { "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true } } }, "schema-utils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.0.tgz", - "integrity": "sha512-tTEaeYkyIhEZ9uWgAjDerWov3T9MgX8dhhy2r0IGeeX4W8ngtGl1++dUve/RUqzuaASSh7shwCDJjEzthxki8w==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", "dev": true, "requires": { - "@types/json-schema": "^7.0.7", + "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } }, "tapable": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.0.tgz", - "integrity": "sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", "dev": true } } }, "webpack-cli": { - "version": "3.3.12", - "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-3.3.12.tgz", - "integrity": "sha512-NVWBaz9k839ZH/sinurM+HcDvJOTXwSjYp1ku+5XKeOC03z8v5QitnK/x+lAxGXFyhdayoIf/GOpv85z3/xPag==", - "dev": true, - "requires": { - "chalk": "^2.4.2", - "cross-spawn": "^6.0.5", - "enhanced-resolve": "^4.1.1", - "findup-sync": "^3.0.0", - "global-modules": "^2.0.0", - "import-local": "^2.0.0", - "interpret": "^1.4.0", - "loader-utils": "^1.4.0", - "supports-color": "^6.1.0", - "v8-compile-cache": "^2.1.1", - "yargs": "^13.3.2" + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.1.tgz", + "integrity": "sha512-JYRFVuyFpzDxMDB+v/nanUdQYcZtqFPGzmlW4s+UkPMFhSpfRNmf1z4AwYcHJVdvEFAM7FFCQdNTpsBYhDLusQ==", + "dev": true, + "requires": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^1.1.0", + "@webpack-cli/info": "^1.4.0", + "@webpack-cli/serve": "^1.6.0", + "colorette": "^2.0.14", + "commander": "^7.0.0", + "execa": "^5.0.0", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^2.2.0", + "rechoir": "^0.7.0", + "webpack-merge": "^5.7.3" }, "dependencies": { - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true + }, + "webpack-merge": { + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", + "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" } } } @@ -8786,22 +7706,10 @@ } }, "webpack-sources": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.3.0.tgz", - "integrity": "sha512-WyOdtwSvOML1kbgtXbTDnEW0jkJ7hZr/bDByIwszhWd/4XX1A3XMkrbFMsuH4+/MfLlZCUzlAdg4r7jaGKEIgQ==", - "dev": true, - "requires": { - "source-list-map": "^2.0.1", - "source-map": "^0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.1.tgz", + "integrity": "sha512-t6BMVLQ0AkjBOoRTZgqrWm7xbXMBzD+XDq2EZ96+vMfn3qKgsvdXZhbPZ4ElUOpdv4u+iiGe+w3+J75iy/bYGA==", + "dev": true }, "which": { "version": "1.3.1", @@ -8831,47 +7739,11 @@ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, - "wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", - "dev": true, - "requires": { - "string-width": "^1.0.2 || 2" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } - } + "wildcard": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", + "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", + "dev": true }, "word-wrap": { "version": "1.2.3", @@ -8879,6 +7751,12 @@ "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", "dev": true }, + "workerpool": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.5.tgz", + "integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw==", + "dev": true + }, "wrap-ansi": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", @@ -8936,15 +7814,6 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true }, - "write": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", - "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", - "dev": true, - "requires": { - "mkdirp": "^0.5.1" - } - }, "write-file-atomic": { "version": "2.4.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", @@ -9043,14 +7912,29 @@ } }, "yargs-unparser": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.0.tgz", - "integrity": "sha512-W9tKgmSn0DpSatfri0nx52Joq5hVXgeLiqR/5G0sZNDoLZFOr/xjBUDcShCOGNsBnEMNo1KAMBkTej1Hm62HTw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", "dev": true, "requires": { - "flat": "^4.1.0", - "lodash": "^4.17.15", - "yargs": "^13.3.0" + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "dependencies": { + "camelcase": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", + "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", + "dev": true + }, + "decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true + } } }, "yocto-queue": { diff --git a/package.json b/package.json index 65877a38..4ac27462 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "author": "Contentstack", "license": "MIT", "dependencies": { - "axios": "^0.21.1", + "axios": "^0.21.4", "form-data": "^3.0.1", "lodash": "^4.17.21", "qs": "^6.10.1" @@ -57,39 +57,40 @@ "management api" ], "devDependencies": { - "@babel/cli": "^7.14.5", - "@babel/core": "^7.14.6", - "@babel/plugin-transform-runtime": "^7.14.5", - "@babel/preset-env": "^7.14.7", - "@babel/register": "^7.14.5", - "@babel/runtime": "^7.14.6", + "@babel/cli": "^7.15.7", + "@babel/core": "^7.15.8", + "@babel/plugin-transform-runtime": "^7.15.8", + "@babel/preset-env": "^7.15.8", + "@babel/register": "^7.15.3", + "@babel/runtime": "^7.15.4", "@types/mocha": "^7.0.2", - "axios-mock-adapter": "^1.19.0", - "babel-loader": "^8.2.2", + "axios-mock-adapter": "^1.20.0", + "babel-loader": "^8.2.3", "babel-plugin-add-module-exports": "^1.0.4", "babel-plugin-rewire": "^1.2.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", "babel-polyfill": "^6.26.0", "chai": "^4.3.4", + "clean-webpack-plugin": "^4.0.0", "docdash": "^1.2.0", "dotenv": "^8.6.0", - "eslint": "^6.6.0", + "eslint": "^8.1.0", "eslint-config-standard": "^13.0.1", - "eslint-plugin-import": "^2.23.4", + "eslint-plugin-import": "^2.25.2", "eslint-plugin-node": "^9.1.0", "eslint-plugin-promise": "^4.3.1", "eslint-plugin-standard": "^4.1.0", "jsdoc": "^3.6.7", - "mocha": "^7.2.0", - "mochawesome": "^4.1.0", + "mocha": "^9.1.3", + "mochawesome": "^6.3.1", "multiparty": "^4.2.2", "nock": "^10.0.6", "nyc": "^14.1.1", "rimraf": "^2.7.1", "sinon": "^7.3.2", "string-replace-loader": "^2.3.0", - "webpack": "^5.45.1", - "webpack-cli": "^3.3.12", + "webpack": "^5.60.0", + "webpack-cli": "^4.9.1", "webpack-merge": "4.1.0" }, "homepage": "https://www.contentstack.com" diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index 0d4fc5d3..19bc6d98 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -1,6 +1,7 @@ const packages = require('../package.json') const webpack = require('webpack') +const { CleanWebpackPlugin } = require('clean-webpack-plugin') module.exports = function () { return { @@ -8,7 +9,11 @@ module.exports = function () { contentstack: './lib/contentstack' }, resolve: { - extensions: ['.js'] + extensions: ['.js'], + modules: [ + '../lib', + 'node_modules' + ] }, externals: { fs: 'commonjs fs' }, module: { @@ -23,7 +28,7 @@ module.exports = function () { }, { loader: 'string-replace-loader', - query: { + options: { search: '{{VERSION}}', replace: packages.version } @@ -32,7 +37,13 @@ module.exports = function () { }] }, plugins: [ - new webpack.IgnorePlugin(/vertx/) + new webpack.WatchIgnorePlugin({ + paths: [/vertx/] + }), + new CleanWebpackPlugin({ + protectWebpackAssets: false, + cleanAfterEveryBuildPatterns: ['*.LICENSE.txt'] + }) ] } } diff --git a/webpack/webpack.nativescript.js b/webpack/webpack.nativescript.js index 332c7af1..f58e0588 100644 --- a/webpack/webpack.nativescript.js +++ b/webpack/webpack.nativescript.js @@ -1,5 +1,3 @@ -'use strict' - const path = require('path') const webpackMerge = require('webpack-merge') @@ -8,20 +6,14 @@ const commonConfig = require('./webpack.common.js') module.exports = function (options) { return webpackMerge(commonConfig(), { output: { - library: 'contentstack-management', libraryTarget: 'commonjs2', path: path.join(__dirname, '../dist/nativescript'), filename: 'contentstack-management.js' }, resolve: { - alias: { - // runtime: path.resolve(__dirname, '../src/runtime/nativescript') - }, - modules: [ - '../src', - // '../src/runtimes/native-script', - 'node_modules' - ] + fallback: { + os: false + } }, module: { rules: [{ @@ -29,7 +21,7 @@ module.exports = function (options) { exclude: ['/node_modules'], use: [{ loader: 'string-replace-loader', - query: { + options: { search: '{{PLATFORM}}', replace: 'react-native' } diff --git a/webpack/webpack.node.js b/webpack/webpack.node.js index 89c81cfa..d640824a 100644 --- a/webpack/webpack.node.js +++ b/webpack/webpack.node.js @@ -5,29 +5,18 @@ const commonConfig = require('./webpack.common') module.exports = function (options) { return webpackMerge(commonConfig(), { output: { - library: 'contentstack-management', libraryTarget: 'commonjs2', path: path.join(__dirname, '../dist/node'), filename: 'contentstack-management.js' }, target: 'node', - resolve: { - alias: { - // runtime: path.resolve(__dirname, '../src/runtime/node') - }, - modules: [ - '../lib', - // '../src/runtimes/node', - 'node_modules' - ] - }, module: { rules: [{ test: /\.js?$/, exclude: ['/node_modules'], use: [{ loader: 'string-replace-loader', - query: { + options: { search: '{{PLATFORM}}', replace: 'nodejs' } diff --git a/webpack/webpack.react-native.js b/webpack/webpack.react-native.js index 50029074..400ddc38 100644 --- a/webpack/webpack.react-native.js +++ b/webpack/webpack.react-native.js @@ -1,5 +1,3 @@ -'use strict' - const path = require('path') const webpackMerge = require('webpack-merge') @@ -8,20 +6,14 @@ const commonConfig = require('./webpack.common.js') module.exports = function (options) { return webpackMerge(commonConfig(), { output: { - library: 'contentstack-management', libraryTarget: 'commonjs2', path: path.join(__dirname, '../dist/react-native'), filename: 'contentstack-management.js' }, resolve: { - alias: { - // runtime: path.resolve(__dirname, '../src/runtime/react-native') - }, - modules: [ - '../src', - // '../src/runtimes/react-native', - 'node_modules' - ] + fallback: { + os: false + } }, module: { rules: [{ @@ -29,7 +21,7 @@ module.exports = function (options) { exclude: ['/node_modules'], use: [{ loader: 'string-replace-loader', - query: { + options: { search: '{{PLATFORM}}', replace: 'react-native' } diff --git a/webpack/webpack.web.js b/webpack/webpack.web.js index b4637a76..2f6f0a1d 100644 --- a/webpack/webpack.web.js +++ b/webpack/webpack.web.js @@ -8,20 +8,14 @@ const commonConfig = require('./webpack.common.js') module.exports = function (options) { return webpackMerge(commonConfig(), { output: { - library: 'contentstack-management', libraryTarget: 'umd', path: path.join(__dirname, '../dist/web'), filename: 'contentstack-management.js' }, resolve: { - alias: { - // runtime: path.resolve(__dirname, '../src/runtime/web') - }, - modules: [ - '../src', - // '../src/runtimes/web', - 'node_modules' - ] + fallback: { + os: require.resolve('os-browserify/browser') + } }, module: { rules: [{ @@ -29,7 +23,7 @@ module.exports = function (options) { exclude: ['/node_modules'], use: [{ loader: 'string-replace-loader', - query: { + options: { search: '{{PLATFORM}}', replace: 'web' } From 5473af591e26010d1ee37f62392190d66afd8839 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Wed, 27 Oct 2021 10:37:35 +0530 Subject: [PATCH 14/16] :package: os browserify added --- dist/nativescript/contentstack-management.js | 2 +- dist/node/contentstack-management.js | 2 +- dist/react-native/contentstack-management.js | 2 +- dist/web/contentstack-management.js | 2 +- jsdocs/Asset.html | 2 +- jsdocs/BulkOperation.html | 2 +- jsdocs/ContentType.html | 2 +- jsdocs/Contentstack.html | 2 +- jsdocs/ContentstackClient.html | 2 +- jsdocs/DeliveryToken.html | 2 +- jsdocs/Entry.html | 2 +- jsdocs/Environment.html | 2 +- jsdocs/Extension.html | 2 +- jsdocs/Folder.html | 2 +- jsdocs/GlobalField.html | 2 +- jsdocs/Label.html | 2 +- jsdocs/Locale.html | 2 +- jsdocs/Organization.html | 2 +- jsdocs/PublishRules.html | 2 +- jsdocs/Release.html | 2 +- jsdocs/Role.html | 2 +- jsdocs/Stack.html | 2 +- jsdocs/User.html | 2 +- jsdocs/Webhook.html | 2 +- jsdocs/Workflow.html | 2 +- jsdocs/contentstack.js.html | 2 +- jsdocs/contentstackClient.js.html | 2 +- jsdocs/index.html | 2 +- jsdocs/organization_index.js.html | 2 +- jsdocs/query_index.js.html | 2 +- jsdocs/stack_asset_folders_index.js.html | 2 +- jsdocs/stack_asset_index.js.html | 2 +- jsdocs/stack_bulkOperation_index.js.html | 2 +- jsdocs/stack_contentType_entry_index.js.html | 2 +- jsdocs/stack_contentType_index.js.html | 2 +- jsdocs/stack_deliveryToken_index.js.html | 2 +- jsdocs/stack_environment_index.js.html | 2 +- jsdocs/stack_extension_index.js.html | 2 +- jsdocs/stack_globalField_index.js.html | 2 +- jsdocs/stack_index.js.html | 2 +- jsdocs/stack_label_index.js.html | 2 +- jsdocs/stack_locale_index.js.html | 2 +- jsdocs/stack_release_index.js.html | 2 +- jsdocs/stack_roles_index.js.html | 2 +- jsdocs/stack_webhook_index.js.html | 2 +- jsdocs/stack_workflow_index.js.html | 2 +- jsdocs/stack_workflow_publishRules_index.js.html | 2 +- jsdocs/user_index.js.html | 2 +- package-lock.json | 6 ++++++ package.json | 1 + 50 files changed, 55 insertions(+), 48 deletions(-) diff --git a/dist/nativescript/contentstack-management.js b/dist/nativescript/contentstack-management.js index e36447f6..89fd1929 100644 --- a/dist/nativescript/contentstack-management.js +++ b/dist/nativescript/contentstack-management.js @@ -1 +1 @@ -(()=>{var t={3785:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>se});const o="1.2.4";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,N(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},E=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,N(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},H=function(t){return f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},i()(this.stackHeaders)),params:k({},i()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,N(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function N(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=E(t,"role"),this.delete=H(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,zt));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,I)}function I(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=E(t,"content_type"),this.delete=H(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=E(t,"global_field"),this.delete=H(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=E(t,"token"),this.delete=H(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=E(t,"environment"),this.delete=H(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=E(t,"locale"),this.delete=H(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=E(t,"extension"),this.delete=H(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=E(t,"webhook"),this.delete=H(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,N(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=E(t,"publishing_rule"),this.delete=H(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,kt))}function kt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=E(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=H(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,kt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Nt(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Nt(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Ht));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=E(t,"release"),this.fetch=D(t,"release"),this.delete=H(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Nt(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Ct})),this}function Ct(t,e){return(i()(e.releases)||[]).map((function(r){return new Nt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=E(t,"label"),this.delete=H(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:It}))}function It(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Nt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Mt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Mt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Gt({},i()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=Zt(Zt({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Xt().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=Zt(Zt({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=ie(ie({},e),i()(t))).headers=ie(ie({},t.headers),a);var s=oe(t),c=Vt({http:s});return c}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),x=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],k(r,x([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),x=r(9294),k=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,E,H,D,R){var N,C=1&r,T=2&r,U=4&r;if(E&&(N=D?E(e,H,D,R):E(e)),void 0!==N)return N;if(!x(e))return e;var L=m(e);if(L){if(N=y(e),!C)return u(e,N)}else{var F=d(e),I=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,C);if(F==_||F==S||I&&!D){if(N=T||I?{}:v(e),!C)return T?l(e,s(N,e)):p(e,i(N,e))}else{if(!A[F])return D?e:{};N=b(e,F,C)}}R||(R=new n);var q=R.get(e);if(q)return q;R.set(e,N),k(e)?e.forEach((function(n){N.add(t(n,r,E,n,e,R))})):w(e)&&e.forEach((function(n,o){N.set(o,t(n,r,E,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(N,o,t(n,r,E,o,e,R))})),N}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,l=function(t,e){p.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,f,h,y,b,v,m,g,w,x){var k,j=e;if(x.has(e))throw new RangeError("Cyclic object value");if("function"==typeof f?j=f(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,S=[];if(void 0===j)return S;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(f))O=f;else{var P=Object.keys(j);O=h?P.sort(h):P}for(var _=0;_0?x+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(H([])));k&&k!==r&&o.call(k,i)&&(w=k);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function H(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:H(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),S=r(7165).custom,P=S&&D(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==C(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(N(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!N(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function S(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return N(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,S);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var J=B(e,S);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,S);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(S(r,e,!0)+" => "+S(t,e))})),q("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(S(t,e))})),q("Set",p.call(e),K,j)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return I("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return I("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return I("WeakRef");if(function(t){return!("[object Number]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(S(g.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(String(e)));if(!function(t){return!("[object Date]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,S),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?C(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function N(t,e){return R.call(t,e)}function C(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function I(t){return t+" { ? }"}function q(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#USER","/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(3785);module.exports=n})(); \ No newline at end of file +(()=>{var t={3785:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>se});const o="1.2.4";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,N(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},E=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,N(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},H=function(t){return f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},i()(this.stackHeaders)),params:k({},i()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,N(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function N(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=E(t,"role"),this.delete=H(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,zt));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,I)}function I(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=E(t,"content_type"),this.delete=H(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=E(t,"global_field"),this.delete=H(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=E(t,"token"),this.delete=H(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=E(t,"environment"),this.delete=H(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=E(t,"locale"),this.delete=H(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=E(t,"extension"),this.delete=H(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=E(t,"webhook"),this.delete=H(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,N(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=E(t,"publishing_rule"),this.delete=H(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,kt))}function kt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=E(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=H(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,kt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Nt(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Nt(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Ht));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=E(t,"release"),this.fetch=D(t,"release"),this.delete=H(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Nt(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Ct})),this}function Ct(t,e){return(i()(e.releases)||[]).map((function(r){return new Nt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=E(t,"label"),this.delete=H(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:It}))}function It(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Nt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Mt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Mt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Gt({},i()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=Zt(Zt({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Xt().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=Zt(Zt({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=ie(ie({},e),i()(t))).headers=ie(ie({},t.headers),a);var s=oe(t),c=Vt({http:s});return c}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),x=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],k(r,x([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),x=r(9294),k=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,E,H,D,R){var N,C=1&r,T=2&r,U=4&r;if(E&&(N=D?E(e,H,D,R):E(e)),void 0!==N)return N;if(!x(e))return e;var L=m(e);if(L){if(N=y(e),!C)return u(e,N)}else{var F=d(e),I=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,C);if(F==_||F==S||I&&!D){if(N=T||I?{}:v(e),!C)return T?l(e,s(N,e)):p(e,i(N,e))}else{if(!A[F])return D?e:{};N=b(e,F,C)}}R||(R=new n);var q=R.get(e);if(q)return q;R.set(e,N),k(e)?e.forEach((function(n){N.add(t(n,r,E,n,e,R))})):w(e)&&e.forEach((function(n,o){N.set(o,t(n,r,E,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(N,o,t(n,r,E,o,e,R))})),N}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,l=function(t,e){p.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,f,h,y,b,v,m,g,w,x){var k,j=e;if(x.has(e))throw new RangeError("Cyclic object value");if("function"==typeof f?j=f(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,S=[];if(void 0===j)return S;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(f))O=f;else{var P=Object.keys(j);O=h?P.sort(h):P}for(var _=0;_0?x+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(H([])));k&&k!==r&&o.call(k,i)&&(w=k);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function H(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:H(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),S=r(7165).custom,P=S&&D(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==C(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(N(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!N(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function S(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return N(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,S);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var J=B(e,S);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,S);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(S(r,e,!0)+" => "+S(t,e))})),q("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(S(t,e))})),q("Set",p.call(e),K,j)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return I("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return I("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return I("WeakRef");if(function(t){return!("[object Number]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(S(g.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(String(e)));if(!function(t){return!("[object Date]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,S),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?C(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function N(t,e){return R.call(t,e)}function C(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function I(t){return t+" { ? }"}function q(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(3785);module.exports=n})(); \ No newline at end of file diff --git a/dist/node/contentstack-management.js b/dist/node/contentstack-management.js index b215ec2c..2100699e 100644 --- a/dist/node/contentstack-management.js +++ b/dist/node/contentstack-management.js @@ -1,2 +1,2 @@ /*! For license information please see contentstack-management.js.LICENSE.txt */ -(()=>{var e={6005:(e,t,a)=>{"use strict";a.r(t),a.d(t,{client:()=>lt});var n=a(5213),o=a.n(n);const i="1.2.4";var r=a(7780),s=a.n(r),c=a(9563),p=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var e=window.navigator.userAgent,t=window.navigator.platform,a=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?a="macOS":-1!==["iPhone","iPad","iPod"].indexOf(t)?a="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?a="Windows":/Android/.test(e)?a="Android":/Linux/.test(t)&&(a="Linux"),a}function l(e,t,a,n){var o=[];t&&o.push("app ".concat(t)),a&&o.push("integration ".concat(a)),n&&o.push("feature "+n),o.push("sdk ".concat(e));var i=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(i=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(i=u(),o.push("platform browser")):(i=function(){var e=(0,c.platform)()||"linux",t=(0,c.release)()||"0.0.0",a={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in a?"".concat(a[e]||"Linux","/").concat(t):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(e){i=null}return i&&o.push("os ".concat(i)),"".concat(o.filter((function(e){return""!==e})).join("; "),";")}var d=a(9087),m=a.n(d),f=a(5843),h=a.n(f);function x(e){var t=e.config,a=e.response;if(!t||!a)throw e;var n=a.data,o={status:a.status,statusText:a.statusText};if(t.headers&&t.headers.authtoken){var i="...".concat(t.headers.authtoken.substr(-5));t.headers.authtoken=i}if(t.headers&&t.headers.authorization){var r="...".concat(t.headers.authorization.substr(-5));t.headers.authorization=r}o.request={url:t.url,method:t.method,data:t.data,headers:t.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var v=a(1637),b=a.n(v),y=function e(t,a){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,e);var i=t.data||{};n&&(i.stackHeaders=n),this.items=o(a,i),void 0!==i.schema&&(this.schema=i.schema),void 0!==i.content_type&&(this.content_type=i.content_type),void 0!==i.count&&(this.count=i.count),void 0!==i.notice&&(this.notice=i.notice)};function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function w(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,i={};n&&(i.headers=n);var r=null;a&&(a.content_type_uid&&(r=a.content_type_uid,delete a.content_type_uid),i.params=w({},s()(a)));var c=function(){var a=m()(h().mark((function a(){var s;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t,i);case 3:if(!(s=a.sent).data){a.next=9;break}return r&&(s.data.content_type_uid=r),a.abrupt("return",new y(s,e,n,o));case 9:throw x(s);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(0),x(a.t0);case 15:case"end":return a.stop()}}),a,null,[[0,12]])})));return function(){return a.apply(this,arguments)}}(),p=function(){var a=m()(h().mark((function a(){var n;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i.params=w(w({},i.params),{},{count:!0}),a.prev=1,a.next=4,e.get(t,i);case 4:if(!(n=a.sent).data){a.next=9;break}return a.abrupt("return",n.data);case 9:throw x(n);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(1),x(a.t0);case 15:case"end":return a.stop()}}),a,null,[[1,12]])})));return function(){return a.apply(this,arguments)}}(),u=function(){var a=m()(h().mark((function a(){var s,c;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return(s=i).params.limit=1,a.prev=2,a.next=5,e.get(t,s);case 5:if(!(c=a.sent).data){a.next=11;break}return r&&(c.data.content_type_uid=r),a.abrupt("return",new y(c,e,n,o));case 11:throw x(c);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(2),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[2,14]])})));return function(){return a.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function O(e){for(var t=1;t4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==i&&(n.locale=i),null!==r&&(n.version=r),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,t.post(a,n,o);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(t,a,n,o){return e.apply(this,arguments)}}(),E=function(){var e=m()(h().mark((function e(t){var a,n,o,i,r,c,p,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.http,n=t.urlPath,o=t.stackHeaders,i=t.formData,r=t.params,c=t.method,p=void 0===c?"POST":c,u={headers:O(O({},r),s()(o))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",a.post(n,i,u));case 6:return e.abrupt("return",a.put(n,i,u));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.http,a=e.params;return function(){var e=m()(h().mark((function e(n,o){var i,r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={headers:O(O({},s()(a)),s()(this.stackHeaders)),params:O({},s()(o))}||{},e.prev=1,e.next=4,t.post(this.urlPath,n,i);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(t,T(r,this.stackHeaders,this.content_type_uid)));case 9:throw x(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(t,a){return e.apply(this,arguments)}}()},C=function(e){var t=e.http,a=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(t,this.urlPath,e,this.stackHeaders,a)}},z=function(e,t){return m()(h().mark((function a(){var n,o,i,r,c=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(i=s()(this)).stackHeaders,delete i.urlPath,delete i.uid,delete i.org_uid,delete i.api_key,delete i.created_at,delete i.created_by,delete i.deleted_at,delete i.updated_at,delete i.updated_by,delete i.updated_at,o[t]=i,a.prev=15,a.next=18,e.put(this.urlPath,o,{headers:O({},s()(this.stackHeaders)),params:O({},s()(n))});case 18:if(!(r=a.sent).data){a.next=23;break}return a.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 23:throw x(r);case 24:a.next=29;break;case 26:throw a.prev=26,a.t0=a.catch(15),x(a.t0);case 29:case"end":return a.stop()}}),a,this,[[15,26]])})))},R=function(e){return m()(h().mark((function t(){var a,n,o,i=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,n={headers:O({},s()(this.stackHeaders)),params:O({},s()(a))}||{},t.next=5,e.delete(this.urlPath,n);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,this,[[1,13]])})))},q=function(e,t){return m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},a.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(n))}||{},a.next=5,e.get(this.urlPath,o);case 5:if(!(i=a.sent).data){a.next=11;break}return"entry"===t&&(i.data[t].content_type=i.data.content_type,i.data[t].schema=i.data.schema),a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders,this.content_type_uid)));case 11:throw x(i);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(1),x(a.t0);case 17:case"end":return a.stop()}}),a,this,[[1,14]])})))},H=function(e,t){return m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=O({},s()(n))),a.prev=4,a.next=7,e.get(this.urlPath,o);case 7:if(!(i=a.sent).data){a.next=12;break}return a.abrupt("return",new y(i,e,this.stackHeaders,t));case 12:throw x(i);case 13:a.next=18;break;case 15:throw a.prev=15,a.t0=a.catch(4),x(a.t0);case 18:case"end":return a.stop()}}),a,this,[[4,15]])})))};function T(e,t,a){var n=e.data||{};return t&&(n.stackHeaders=t),a&&(n.content_type_uid=a),n}function F(e,t){return this.urlPath="/roles",this.stackHeaders=t.stackHeaders,t.role?(Object.assign(this,s()(t.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=z(e,"role"),this.delete=R(e),this.fetch=q(e,"role"))):(this.create=A({http:e}),this.fetchAll=H(e,D),this.query=C({http:e,wrapperCollection:D})),this}function D(e,t){return s()(t.roles||[]).map((function(a){return new F(e,{role:a,stackHeaders:t.stackHeaders})}))}function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function N(e){for(var t=1;t0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/stacks"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,$e));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.addUser=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/share"),{share:N({},n)});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.getInvitations=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/share"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.resendInvitation=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.roles=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/roles"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,D));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}())):this.fetchAll=H(e,B)}function B(e,t){return s()(t.organizations||[]).map((function(t){return new U(e,{organization:t})}))}function I(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/content_types",a.content_type?(Object.assign(this,s()(a.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=z(e,"content_type"),this.delete=R(e),this.fetch=q(e,"content_type"),this.entry=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return n.content_type_uid=t.uid,a&&(n.entry={uid:a}),new K(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Z}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function Z(e,t){return(s()(t.content_types)||[]).map((function(a){return new X(e,{content_type:a,stackHeaders:t.stackHeaders})}))}function ee(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.content_type);return t.append("content_type",a),t}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/global_fields",t.global_field?(Object.assign(this,s()(t.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=z(e,"global_field"),this.delete=R(e),this.fetch=q(e,"global_field")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ae}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function ae(e,t){return(s()(t.global_fields)||[]).map((function(a){return new te(e,{global_field:a,stackHeaders:t.stackHeaders})}))}function ne(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.global_field);return t.append("global_field",a),t}}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/delivery_tokens",t.token?(Object.assign(this,s()(t.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=z(e,"token"),this.delete=R(e),this.fetch=q(e,"token")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ie}))}function ie(e,t){return(s()(t.tokens)||[]).map((function(a){return new oe(e,{token:a,stackHeaders:t.stackHeaders})}))}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/environments",t.environment?(Object.assign(this,s()(t.environment)),this.urlPath="/environments/".concat(this.name),this.update=z(e,"environment"),this.delete=R(e),this.fetch=q(e,"environment")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:se}))}function se(e,t){return(s()(t.environments)||[]).map((function(a){return new re(e,{environment:a,stackHeaders:t.stackHeaders})}))}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stackHeaders&&(this.stackHeaders=t.stackHeaders),this.urlPath="/assets/folders",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=z(e,"asset"),this.delete=R(e),this.fetch=q(e,"asset")):this.create=A({http:e})}function pe(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/assets",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/".concat(this.uid),this.update=z(e,"asset"),this.delete=R(e),this.fetch=q(e,"asset"),this.replace=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n,method:"PUT"});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.publish=_(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new ce(e,n)},this.create=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.query=C({http:e,wrapperCollection:ue})),this}function ue(e,t){return(s()(t.assets)||[]).map((function(a){return new pe(e,{asset:a,stackHeaders:t.stackHeaders})}))}function le(e){return function(){var t=new(V());"string"==typeof e.parent_uid&&t.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&t.append("asset[description]",e.description),e.tags instanceof Array?t.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("asset[tags]",e.tags),"string"==typeof e.title&&t.append("asset[title]",e.title);var a=(0,J.createReadStream)(e.upload);return t.append("asset[upload]",a),t}}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/locales",t.locale?(Object.assign(this,s()(t.locale)),this.urlPath="/locales/".concat(this.code),this.update=z(e,"locale"),this.delete=R(e),this.fetch=q(e,"locale")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:me})),this}function me(e,t){return(s()(t.locales)||[]).map((function(a){return new de(e,{locale:a,stackHeaders:t.stackHeaders})}))}var fe=a(5514),he=a.n(fe);function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/extensions",t.extension?(Object.assign(this,s()(t.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=z(e,"extension"),this.delete=R(e),this.fetch=q(e,"extension")):(this.upload=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ve}))}function ve(e,t){return(s()(t.extensions)||[]).map((function(a){return new xe(e,{extension:a,stackHeaders:t.stackHeaders})}))}function be(e){return function(){var t=new(V());"string"==typeof e.title&&t.append("extension[title]",e.title),"object"===he()(e.scope)&&t.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&t.append("extension[data_type]",e.data_type),"string"==typeof e.type&&t.append("extension[type]",e.type),e.tags instanceof Array?t.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&t.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&t.append("extension[enable]","".concat(e.enable));var a=(0,J.createReadStream)(e.upload);return t.append("extension[upload]",a),t}}function ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ge(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/webhooks",a.webhook?(Object.assign(this,s()(a.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=z(e,"webhook"),this.delete=R(e),this.fetch=q(e,"webhook"),this.executions=function(){var a=m()(h().mark((function a(n){var o,i;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),n&&(o.params=ge({},s()(n))),a.prev=3,a.next=6,e.get("".concat(t.urlPath,"/executions"),o);case 6:if(!(i=a.sent).data){a.next=11;break}return a.abrupt("return",i.data);case 11:throw x(i);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.retry=function(){var a=m()(h().mark((function a(n){var o,i;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(i=a.sent).data){a.next=10;break}return a.abrupt("return",i.data);case 10:throw x(i);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(2),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[2,13]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.fetchAll=H(e,ke)),this.import=function(){var a=m()(h().mark((function a(n){var o;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,E({http:e,urlPath:"".concat(t.urlPath,"/import"),stackHeaders:t.stackHeaders,formData:je(n)});case 3:if(!(o=a.sent).data){a.next=8;break}return a.abrupt("return",new t.constructor(e,T(o,t.stackHeaders)));case 8:throw x(o);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this}function ke(e,t){return(s()(t.webhooks)||[]).map((function(a){return new we(e,{webhook:a,stackHeaders:t.stackHeaders})}))}function je(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.webhook);return t.append("webhook",a),t}}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows/publishing_rules",t.publishing_rule?(Object.assign(this,s()(t.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=z(e,"publishing_rule"),this.delete=R(e),this.fetch=q(e,"publishing_rule")):(this.create=A({http:e}),this.fetchAll=H(e,_e))}function _e(e,t){return(s()(t.publishing_rules)||[]).map((function(a){return new Oe(e,{publishing_rule:a,stackHeaders:t.stackHeaders})}))}function Se(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Pe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows",a.workflow?(Object.assign(this,s()(a.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=z(e,"workflow"),this.disable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.enable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.delete=R(e),this.fetch=q(e,"workflow")):(this.contentType=function(a){if(a){var n=function(){var t=m()(h().mark((function t(n){var o,i;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Pe({},s()(n))),t.prev=3,t.next=6,e.get("/workflows/content_type/".concat(a),o);case 6:if(!(i=t.sent).data){t.next=11;break}return t.abrupt("return",new y(i,e,this.stackHeaders,_e));case 11:throw x(i);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[3,14]])})));return function(e){return t.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Pe({},t.stackHeaders)}}},this.create=A({http:e}),this.fetchAll=H(e,Ae),this.publishRule=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.publishing_rule={uid:a}),new Oe(e,n)})}function Ae(e,t){return(s()(t.workflows)||[]).map((function(a){return new Ee(e,{workflow:a,stackHeaders:t.stackHeaders})}))}function Ce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,a.item&&Object.assign(this,s()(a.item)),a.releaseUid&&(this.urlPath="releases/".concat(a.releaseUid,"/items"),this.delete=function(){var n=m()(h().mark((function n(o){var i,r,c;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i={},void 0===o&&(i={all:!0}),n.prev=2,r={headers:ze({},s()(t.stackHeaders)),data:ze({},s()(o)),params:ze({},s()(i))}||{},n.next=6,e.delete(t.urlPath,r);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Fe(e,ze(ze({},c.data),{},{stackHeaders:a.stackHeaders})));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=m()(h().mark((function n(o){var i,r;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i={headers:ze({},s()(t.stackHeaders))}||{},n.prev=1,n.next=4,e.post(o.item?"releases/".concat(a.releaseUid,"/item"):t.urlPath,o,i);case 4:if(!(r=n.sent).data){n.next=10;break}if(!r.data){n.next=8;break}return n.abrupt("return",new Fe(e,ze(ze({},r.data),{},{stackHeaders:a.stackHeaders})));case 8:n.next=11;break;case 10:throw x(r);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},a.prev=1,o={headers:ze({},s()(t.stackHeaders)),params:ze({},s()(n))}||{},a.next=5,e.get(t.urlPath,o);case 5:if(!(i=a.sent).data){a.next=10;break}return a.abrupt("return",new y(i,e,t.stackHeaders,qe));case 10:throw x(i);case 11:a.next=16;break;case 13:a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[1,13]])})))),this}function qe(e,t,a){return(s()(t.items)||[]).map((function(n){return new Re(e,{releaseUid:a,item:n,stackHeaders:t.stackHeaders})}))}function He(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Te(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/releases",a.release?(Object.assign(this,s()(a.release)),a.release.items&&(this.items=new qe(e,{items:a.release.items,stackHeaders:a.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=z(e,"release"),this.fetch=q(e,"release"),this.delete=R(e),this.item=function(){return new Re(e,{releaseUid:t.uid,stackHeaders:t.stackHeaders})},this.deploy=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p,u,l;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.environments,i=n.locales,r=n.scheduledAt,c=n.action,p={environments:o,locales:i,scheduledAt:r,action:c},u={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=a.sent).data){a.next=11;break}return a.abrupt("return",l.data);case 11:throw x(l);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.clone=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.name,i=n.description,r={name:o,description:i},c={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/clone"),{release:r},c);case 6:if(!(p=a.sent).data){a.next=11;break}return a.abrupt("return",new Fe(e,p.data));case 11:throw x(p);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:De})),this}function De(e,t){return(s()(t.releases)||[]).map((function(a){return new Fe(e,{release:a,stackHeaders:t.stackHeaders})}))}function Le(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ne(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/bulk",this.publish=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,i=n.skip_workflow_stage,r=void 0!==i&&i,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/publish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.unpublish=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,i=n.skip_workflow_stage,r=void 0!==i&&i,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/unpublish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.delete=m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},o={},n.details&&(o=s()(n.details)),i={headers:Ne({},s()(t.stackHeaders))},a.abrupt("return",P(e,"/bulk/delete",o,i));case 5:case"end":return a.stop()}}),a)})))}function Be(e,t){this.stackHeaders=t.stackHeaders,this.urlPath="/labels",t.label?(Object.assign(this,s()(t.label)),this.urlPath="/labels/".concat(this.uid),this.update=z(e,"label"),this.delete=R(e),this.fetch=q(e,"label")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Ie}))}function Ie(e,t){return(s()(t.labels)||[]).map((function(a){return new Be(e,{label:a,stackHeaders:t.stackHeaders})}))}function Me(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function We(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.content_type={uid:t}),new X(e,n)},this.locale=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.locale={code:t}),new de(e,n)},this.asset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new pe(e,n)},this.globalField=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.global_field={uid:t}),new te(e,n)},this.environment=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.environment={name:t}),new re(e,n)},this.deliveryToken=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.token={uid:t}),new oe(e,n)},this.extension=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.extension={uid:t}),new xe(e,n)},this.workflow=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.workflow={uid:t}),new Ee(e,n)},this.webhook=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.webhook={uid:t}),new we(e,n)},this.label=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.label={uid:t}),new Be(e,n)},this.release=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.release={uid:t}),new Fe(e,n)},this.bulkOperation=function(){var t={stackHeaders:a.stackHeaders};return new Ue(e,t)},this.users=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a.urlPath,{params:{include_collaborators:!0},headers:We({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",G(e,n.data.stack));case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:We({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.settings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/settings"),{headers:We({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.resetSettings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:We({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.addSettings=m()(h().mark((function t(){var n,o,i=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,t.next=4,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:We({},s()(a.stackHeaders))});case 4:if(!(o=t.sent).data){t.next=9;break}return t.abrupt("return",o.data.stack_settings);case 9:return t.abrupt("return",x(o));case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(1),t.abrupt("return",x(t.t0));case 15:case"end":return t.stop()}}),t,null,[[1,12]])}))),this.share=m()(h().mark((function t(){var n,o,i,r=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:[],o=r.length>1&&void 0!==r[1]?r[1]:{},t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/share"),{emails:n,roles:o},{headers:We({},s()(a.stackHeaders))});case 5:if(!(i=t.sent).data){t.next=10;break}return t.abrupt("return",i.data);case 10:return t.abrupt("return",x(i));case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",x(t.t0));case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),this.unShare=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/unshare"),{email:n},{headers:We({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.role=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.role={uid:t}),new F(e,n)}):(this.create=A({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=C({http:e,wrapperCollection:$e})),this}function $e(e,t){var a=t.stacks||[];return s()(a).map((function(t){return new Ge(e,{stack:t})}))}function Ve(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Je(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return t.post("/user-session",{user:e},{params:a}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(t.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new W(t,e.data)),e.data}),x)},logout:function(e){return void 0!==e?t.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):t.delete("/user-session").then((function(e){return t.defaults.headers.common&&delete t.defaults.headers.common.authtoken,delete t.defaults.headers.authtoken,delete t.httpClientParams.authtoken,delete t.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.get("/user",{params:e}).then((function(e){return new W(t,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=Je({},s()(e));return new Ge(t,{stack:a})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(t,null!==e?{organization:{uid:e}}:null)},axiosInstance:t}}var Qe=a(1362),Ye=a.n(Qe),Xe=a(903),Ze=a.n(Xe),et=a(5607),tt=a.n(et);function at(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function nt(e){for(var t=1;t0&&setTimeout((function(){e(a)}),a),new Promise((function(e){return setTimeout((function(){t.paused=!1;for(var e=0;et.config.retryLimit)return Promise.reject(r(e));if(t.config.retryDelayOptions)if(t.config.retryDelayOptions.customBackoff){if((c=t.config.retryDelayOptions.customBackoff(o,e))&&c<=0)return Promise.reject(r(e))}else t.config.retryDelayOptions.base&&(c=t.config.retryDelayOptions.base*o);else c=t.config.retryDelay;return e.config.retryCount=o,new Promise((function(t){return setTimeout((function(){return t(a(s(e,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(e,n,o){var i=e.config;return t.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==a&&void 0!==a.defaults&&(a.defaults.agent===i.agent&&delete i.agent,a.defaults.httpAgent===i.httpAgent&&delete i.httpAgent,a.defaults.httpsAgent===i.httpsAgent&&delete i.httpsAgent),i.data=c(i),i.transformRequest=[function(e){return e}],i},c=function(e){if(e.formdata){var t=e.formdata();return e.headers=nt(nt({},e.headers),t.getHeaders()),t}return e.data};this.interceptors.request=a.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=c(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var a=tt().CancelToken.source();e.cancelToken=a.token,e.source=a}return t.paused&&e.retryCount>0?new Promise((function(a){t.unshift({request:e,resolve:a})})):e.retryCount>0?e:new Promise((function(a){e.onComplete=function(){t.running.pop({request:e,resolve:a})},t.push({request:e,resolve:a})}))})),this.interceptors.response=a.interceptors.response.use(r,(function(e){var n=e.config.retryCount,o=null;if(!t.config.retryOnError||n>t.config.retryLimit)return Promise.reject(r(e));var c=t.config.retryDelay,p=e.response;if(p){if(429===p.status)return o="Error with status: ".concat(p.status),++n>t.config.retryLimit?Promise.reject(r(e)):(t.running.shift(),i(c),e.config.retryCount=n,a(s(e,o,c)))}else{if("ECONNABORTED"!==e.code)return Promise.reject(r(e));e.response=nt(nt({},e.response),{},{status:408,statusText:"timeout of ".concat(t.config.timeout,"ms exceeded")}),p=e.response}return t.config.retryCondition&&t.config.retryCondition(e)?(o=e.response?"Error with status: ".concat(p.status):"Error Code:".concat(e.code),n++,t.retry(e,o,n,c)):Promise.reject(r(e))}))}function rt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function st(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t={defaultHostName:"api.contentstack.io"},a="contentstack-management-javascript/".concat(i),n=l(a,e.application,e.integration,e.feature),o={"X-User-Agent":a,"User-Agent":n};e.authtoken&&(o.authtoken=e.authtoken),(e=ut(ut({},t),s()(e))).headers=ut(ut({},e.headers),o);var r=ct(e),c=Ke({http:r});return c}},2520:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},9087:e=>{function t(e,t,a,n,o,i,r){try{var s=e[i](r),c=s.value}catch(e){return void a(e)}s.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var a=this,n=arguments;return new Promise((function(o,i){var r=e.apply(a,n);function s(e){t(r,o,i,s,c,"next",e)}function c(e){t(r,o,i,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},1637:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},5213:e=>{e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},e.exports.default=e.exports,e.exports.__esModule=!0},8481:e=>{e.exports=function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,i=[],r=!0,s=!1;try{for(a=a.call(e);!(r=(n=a.next()).done)&&(i.push(n.value),!t||i.length!==t);r=!0);}catch(e){s=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(s)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},6743:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},1362:(e,t,a)=>{var n=a(5897),o=a(8481),i=a(4871),r=a(6743);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||r()},e.exports.default=e.exports,e.exports.__esModule=!0},5514:e=>{function t(a){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(a)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},4871:(e,t,a)=>{var n=a(2520);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},5843:(e,t,a)=>{e.exports=a(8041)},5863:(e,t,a)=>{e.exports={parallel:a(9977),serial:a(7709),serialOrdered:a(910)}},3296: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={}}},5021:(e,t,a)=>{var n=a(5393);e.exports=function(e){var t=!1;return n((function(){t=!0})),function(a,o){t?e(a,o):n((function(){e(a,o)}))}}},5393:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},5099:(e,t,a)=>{var n=a(5021),o=a(3296);e.exports=function(e,t,a,i){var r=a.keyedList?a.keyedList[a.index]:a.index;a.jobs[r]=function(e,t,a,o){return 2==e.length?e(a,n(o)):e(a,t,n(o))}(t,r,e[r],(function(e,t){r in a.jobs&&(delete a.jobs[r],e?o(a):a.results[r]=t,i(e,a.results))}))}},3929:e=>{e.exports=function(e,t){var a=!Array.isArray(e),n={index:0,keyedList:a||t?Object.keys(e):null,jobs:{},results:a?{}:[],size:a?Object.keys(e).length:e.length};return t&&n.keyedList.sort(a?t:function(a,n){return t(e[a],e[n])}),n}},4567:(e,t,a)=>{var n=a(3296),o=a(5021);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),o(e)(null,this.results))}},9977:(e,t,a)=>{var n=a(5099),o=a(3929),i=a(4567);e.exports=function(e,t,a){for(var r=o(e);r.index<(r.keyedList||e).length;)n(e,t,r,(function(e,t){e?a(e,t):0!==Object.keys(r.jobs).length||a(null,r.results)})),r.index++;return i.bind(r,a)}},7709:(e,t,a)=>{var n=a(910);e.exports=function(e,t,a){return n(e,t,null,a)}},910:(e,t,a)=>{var n=a(5099),o=a(3929),i=a(4567);function r(e,t){return et?1:0}e.exports=function(e,t,a,r){var s=o(e,a);return n(e,t,s,(function a(o,i){o?r(o,i):(s.index++,s.index<(s.keyedList||e).length?n(e,t,s,a):r(null,s.results))})),i.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,t){return-1*r(e,t)}},5607:(e,t,a)=>{e.exports=a(5353)},9e3:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),i=a(2314),r=a(8774),s=a(3685),c=a(5687),p=a(5572).http,u=a(5572).https,l=a(7310),d=a(9796),m=a(8593),f=a(8991),h=a(4418),x=/https:?/;function v(e,t,a){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=a,t.auth){var n=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+n}e.beforeRedirect=function(e){e.headers.host=e.host,v(e,t,e.href)}}e.exports=function(e){return new Promise((function(t,a){var b=function(e){t(e)},y=function(e){a(e)},g=e.data,w=e.headers;if("User-Agent"in w||"user-agent"in w?w["User-Agent"]||w["user-agent"]||(delete w["User-Agent"],delete w["user-agent"]):w["User-Agent"]="axios/"+m.version,g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return y(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}w["Content-Length"]=g.length}var k=void 0;e.auth&&(k=(e.auth.username||"")+":"+(e.auth.password||""));var j=i(e.baseURL,e.url),O=l.parse(j),_=O.protocol||"http:";if(!k&&O.auth){var S=O.auth.split(":");k=(S[0]||"")+":"+(S[1]||"")}k&&delete w.Authorization;var P=x.test(_),E=P?e.httpsAgent:e.httpAgent,A={path:r(O.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:w,agent:E,agents:{http:e.httpAgent,https:e.httpsAgent},auth:k};e.socketPath?A.socketPath=e.socketPath:(A.hostname=O.hostname,A.port=O.port);var C,z=e.proxy;if(!z&&!1!==z){var R=_.slice(0,-1)+"_proxy",q=process.env[R]||process.env[R.toUpperCase()];if(q){var H=l.parse(q),T=process.env.no_proxy||process.env.NO_PROXY,F=!0;if(T&&(F=!T.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||"."===e[0]&&O.hostname.substr(O.hostname.length-e.length)===e||O.hostname===e)}))),F&&(z={host:H.hostname,port:H.port,protocol:H.protocol},H.auth)){var D=H.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(A.headers.host=O.hostname+(O.port?":"+O.port:""),v(A,z,_+"//"+O.hostname+(O.port?":"+O.port:"")+A.path));var L=P&&(!z||x.test(z.protocol));e.transport?C=e.transport:0===e.maxRedirects?C=L?c:s:(e.maxRedirects&&(A.maxRedirects=e.maxRedirects),C=L?u:p),e.maxBodyLength>-1&&(A.maxBodyLength=e.maxBodyLength);var N=C.request(A,(function(t){if(!N.aborted){var a=t,i=t.req||N;if(204!==t.statusCode&&"HEAD"!==i.method&&!1!==e.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":a=a.pipe(d.createUnzip()),delete t.headers["content-encoding"]}var r={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:i};if("stream"===e.responseType)r.data=a,o(b,y,r);else{var s=[],c=0;a.on("data",(function(t){s.push(t),c+=t.length,e.maxContentLength>-1&&c>e.maxContentLength&&(a.destroy(),y(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,i)))})),a.on("error",(function(t){N.aborted||y(h(t,e,null,i))})),a.on("end",(function(){var t=Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=n.stripBOM(t))),r.data=t,o(b,y,r)}))}}}));if(N.on("error",(function(t){N.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||y(h(t,e,null,N))})),e.timeout){var U=parseInt(e.timeout,10);if(isNaN(U))return void y(f("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",N));N.setTimeout(U,(function(){N.abort(),y(f("timeout of "+U+"ms exceeded",e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",N))}))}e.cancelToken&&e.cancelToken.promise.then((function(e){N.aborted||(N.abort(),y(e))})),n.isStream(g)?g.on("error",(function(t){y(h(t,e,null,N))})).pipe(N):N.end(g)}))}},6156:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),i=a(9439),r=a(8774),s=a(2314),c=a(9229),p=a(7417),u=a(8991);e.exports=function(e){return new Promise((function(t,a){var l=e.data,d=e.headers,m=e.responseType;n.isFormData(l)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+x)}var v=s(e.baseURL,e.url);function b(){if(f){var n="getAllResponseHeaders"in f?c(f.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};o(t,a,i),f=null}}if(f.open(e.method.toUpperCase(),r(v,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,"onloadend"in f?f.onloadend=b:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(b)},f.onabort=function(){f&&(a(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){a(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),a(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var y=(e.withCredentials||p(v))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}"setRequestHeader"in f&&n.forEach(d,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),m&&"json"!==m&&(f.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),a(e),f=null)})),l||(l=null),f.send(l)}))}},5353:(e,t,a)=>{"use strict";var n=a(8114),o=a(5507),i=a(9080),r=a(532);function s(e){var t=new i(e),a=o(i.prototype.request,t);return n.extend(a,i.prototype,t),n.extend(a,t),a}var c=s(a(5786));c.Axios=i,c.create=function(e){return s(r(c.defaults,e))},c.Cancel=a(4183),c.CancelToken=a(637),c.isCancel=a(9234),c.all=function(e){return Promise.all(e)},c.spread=a(8620),c.isAxiosError=a(7816),e.exports=c,e.exports.default=c},4183: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},637:(e,t,a)=>{"use strict";var n=a(4183);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var a=this;e((function(e){a.reason||(a.reason=new n(e),t(a.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},9234:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},9080:(e,t,a)=>{"use strict";var n=a(8114),o=a(8774),i=a(7666),r=a(9659),s=a(532),c=a(639),p=c.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:p.transitional(p.boolean,"1.0.0"),forcedJSONParsing:p.transitional(p.boolean,"1.0.0"),clarifyTimeoutError:p.transitional(p.boolean,"1.0.0")},!1);var a=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var u=[r,void 0];for(Array.prototype.unshift.apply(u,a),u=u.concat(i),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var l=e;a.length;){var d=a.shift(),m=a.shift();try{l=d(l)}catch(e){m(e);break}}try{o=r(l)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,a){return this.request(s(a||{},{method:e,url:t,data:(a||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,a,n){return this.request(s(n||{},{method:e,url:t,data:a}))}})),e.exports=u},7666:(e,t,a)=>{"use strict";var n=a(8114);function o(){this.handlers=[]}o.prototype.use=function(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},2314:(e,t,a)=>{"use strict";var n=a(2483),o=a(8944);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},8991:(e,t,a)=>{"use strict";var n=a(4418);e.exports=function(e,t,a,o,i){var r=new Error(e);return n(r,t,a,o,i)}},9659:(e,t,a)=>{"use strict";var n=a(8114),o=a(2602),i=a(9234),r=a(5786);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||r.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4418:e=>{"use strict";e.exports=function(e,t,a,n,o){return e.config=t,a&&(e.code=a),e.request=n,e.response=o,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}},e}},532:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){t=t||{};var a={},o=["url","method","data"],i=["headers","auth","proxy","params"],r=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function p(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(a[e]=c(void 0,t[e]))})),n.forEach(i,p),n.forEach(r,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(void 0,t[o])})),n.forEach(s,(function(n){n in t?a[n]=c(e[n],t[n]):n in e&&(a[n]=c(void 0,e[n]))}));var u=o.concat(i).concat(r).concat(s),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return n.forEach(l,p),a}},5476:(e,t,a)=>{"use strict";var n=a(8991);e.exports=function(e,t,a){var o=a.config.validateStatus;a.status&&o&&!o(a.status)?t(n("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},2602:(e,t,a)=>{"use strict";var n=a(8114),o=a(5786);e.exports=function(e,t,a){var i=this||o;return n.forEach(a,(function(a){e=a.call(i,e,t)})),e}},5786:(e,t,a)=>{"use strict";var n=a(8114),o=a(678),i=a(4418),r={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,p={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?c=a(6156):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(c=a(9e3)),c),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,a){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,a=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,r=!a&&"json"===this.responseType;if(r||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(r){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, */*"}}};n.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){p.headers[e]=n.merge(r)})),e.exports=p},5507:e=>{"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),n=0;n{"use strict";var n=a(8114);function o(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,a){if(!t)return e;var i;if(a)i=a(t);else if(n.isURLSearchParams(t))i=t.toString();else{var r=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),r.push(o(t)+"="+o(e))})))})),i=r.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},8944:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9439:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,a,o,i,r){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(a)&&s.push("expires="+new Date(a).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===r&&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(){}}},2483:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7816:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(e){return"object"===t(e)&&!0===e.isAxiosError}},7417:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function o(e){var n=e;return t&&(a.setAttribute("href",n),n=a.href),a.setAttribute("href",n),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=o(window.location.href),function(t){var a=n.isString(t)?o(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return!0}},678:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){n.forEach(e,(function(a,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[n])}))}},9229:(e,t,a)=>{"use strict";var n=a(8114),o=["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,a,i,r={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),a=n.trim(e.substr(i+1)),t){if(r[t]&&o.indexOf(t)>=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([a]):r[t]?r[t]+", "+a:a}})),r):r}},8620:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},639:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(8593),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(a){return n(a)===e||"a"+(t<1?"n ":" ")+e}}));var r={},s=o.version.split(".");function c(e,t){for(var a=t?t.split("."):s,n=e.split("."),o=0;o<3;o++){if(a[o]>n[o])return!0;if(a[o]0;){var r=o[i],s=t[r];if(s){var c=e[r],p=void 0===c||s(c,r,e);if(!0!==p)throw new TypeError("option "+r+" must be "+p)}else if(!0!==a)throw Error("Unknown option "+r)}},validators:i}},8114:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(5507),i=Object.prototype.toString;function r(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===n(e)}function p(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!==n(e)&&(e=[e]),r(e))for(var a=0,o=e.length;a{"use strict";var n=a(459),o=a(5223),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var a=n(e,!!t);return"function"==typeof a&&i(e,".prototype.")>-1?o(a):a}},5223:(e,t,a)=>{"use strict";var n=a(3459),o=a(459),i=o("%Function.prototype.apply%"),r=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(r,i),c=o("%Object.getOwnPropertyDescriptor%",!0),p=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){var t=s(n,r,arguments);if(c&&p){var a=c(t,"length");a.configurable&&p(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var l=function(){return s(n,i,arguments)};p?p(e.exports,"apply",{value:l}):e.exports.apply=l},8670:(e,t,a)=>{var n=a(3837),o=a(2781).Stream,i=a(256);function r(){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=r,n.inherits(r,o),r.create=function(e){var t=new this;for(var a in e=e||{})t[a]=e[a];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.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},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.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)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},1820:e=>{function t(e){return t="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},t(e)}var a=1e3,n=60*a,o=60*n,i=24*o;function r(e,t,a,n){var o=t>=1.5*a;return Math.round(e/a)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var c,p,u=t(e);if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\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(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return r*i;case"hours":case"hour":case"hrs":case"hr":case"h":return r*o;case"minutes":case"minute":case"mins":case"min":case"m":return r*n;case"seconds":case"second":case"secs":case"sec":case"s":return r*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=i?r(c,p,i,"day"):p>=o?r(c,p,o,"hour"):p>=n?r(c,p,n,"minute"):p>=a?r(c,p,a,"second"):c+" ms"):function(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=n?Math.round(e/n)+"m":t>=a?Math.round(e/a)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},8682:(e,t,a)=>{var 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){var a="color: "+this.color;t.splice(1,0,a,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,a)}},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.destroy=(n=!1,function(){n||(n=!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||function(){},e.exports=a(3894)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3894:(e,t,a)=>{function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=a(8682):e.exports=a(6193)},6193:(e,t,a)=>{var n=a(6224),o=a(3837);t.init=function(e){e.inspectOpts={};for(var a=Object.keys(t.inspectOpts),n=0;n=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 a=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[a]=n,e}),{}),e.exports=a(3894)(t);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},256:(e,t,a)=>{var n=a(2781).Stream,o=a(3837);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,o.inherits(i,n),i.create=function(e,t){var a=new this;for(var n in t=t||{})a[n]=t[n];a.source=e;var o=e.emit;return e.emit=function(){return a._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),a.pauseStream&&e.pause(),a},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=n.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))}}},5600:(e,t,a)=>{var n;e.exports=function(){if(!n){try{n=a(987)("follow-redirects")}catch(e){}"function"!=typeof n&&(n=function(){})}n.apply(null,arguments)}},5572:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(7310),i=o.URL,r=a(3685),s=a(5687),c=a(2781).Writable,p=a(9491),u=a(5600),l=["abort","aborted","connect","error","socket","timeout"],d=Object.create(null);l.forEach((function(e){d[e]=function(t,a,n){this._redirectable.emit(e,t,a,n)}}));var m=k("ERR_FR_REDIRECTION_FAILURE",""),f=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),h=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),x=k("ERR_STREAM_WRITE_AFTER_END","write after end");function v(e,t){c.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 a=this;this._onNativeResponse=function(e){a._processResponse(e)},this._performRequest()}function b(e){var t={maxRedirects:21,maxBodyLength:10485760},a={};return Object.keys(e).forEach((function(n){var r=n+":",s=a[r]=e[n],c=t[n]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,n,s){if("string"==typeof e){var c=e;try{e=g(new i(c))}catch(t){e=o.parse(c)}}else i&&e instanceof i?e=g(e):(s=n,n=e,e={protocol:r});return"function"==typeof n&&(s=n,n=null),(n=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,n)).nativeProtocols=a,p.equal(n.protocol,r,"protocol mismatch"),u("options",n),new v(n,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,a){var n=c.request(e,t,a);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),t}function y(){}function g(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 a;for(var n in t)e.test(n)&&(a=t[n],delete t[n]);return a}function k(e,t){function a(e){Error.captureStackTrace(this,this.constructor),this.message=e||t}return a.prototype=new Error,a.prototype.constructor=a,a.prototype.name="Error ["+e+"]",a.prototype.code=e,a}function j(e){for(var t=0;t=300&&t<400){if(j(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new f);((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 n=w(/^host$/i,this._options.headers)||o.parse(this._currentUrl).hostname,i=o.resolve(this._currentUrl,a);u("redirecting to",i),this._isRedirect=!0;var r=o.parse(i);if(Object.assign(this._options,r),r.hostname!==n&&w(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new m("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=b({http:r,https:s}),e.exports.wrap=b},2876:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(8670),i=a(3837),r=a(1017),s=a(3685),c=a(5687),p=a(7310).parse,u=a(6231),l=a(5038),d=a(5863),m=a(3829);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,i.inherits(f,o),f.LINE_BREAK="\r\n",f.DEFAULT_CONTENT_TYPE="application/octet-stream",f.prototype.append=function(e,t,a){"string"==typeof(a=a||{})&&(a={filename:a});var n=o.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),i.isArray(t))this._error(new Error("Arrays are not supported."));else{var r=this._multiPartHeader(e,t,a),s=this._multiPartFooter();n(r),n(t),n(s),this._trackLength(r,t,a)}},f.prototype._trackLength=function(e,t,a){var n=0;null!=a.knownLength?n+=+a.knownLength:Buffer.isBuffer(t)?n=t.length:"string"==typeof t&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+f.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(a.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)):u.stat(e.path,(function(a,n){var o;a?t(a):(o=n.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(a){e.pause(),t(null,+a.headers["content-length"])})),e.resume()):t("Unknown stream")},f.prototype._multiPartHeader=function(e,t,a){if("string"==typeof a.header)return a.header;var o,i=this._getContentDisposition(t,a),r=this._getContentType(t,a),s="",c={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};for(var p in"object"==n(a.header)&&m(c,a.header),c)c.hasOwnProperty(p)&&null!=(o=c[p])&&(Array.isArray(o)||(o=[o]),o.length&&(s+=p+": "+o.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+s+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var a,n;return"string"==typeof t.filepath?a=r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?a=r.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=r.basename(e.client._httpMessage.path||"")),a&&(n='filename="'+a+'"'),n},f.prototype._getContentType=function(e,t){var a=t.contentType;return!a&&e.name&&(a=l.lookup(e.name)),!a&&e.path&&(a=l.lookup(e.path)),!a&&e.readable&&e.hasOwnProperty("httpVersion")&&(a=e.headers["content-type"]),a||!t.filepath&&!t.filename||(a=l.lookup(t.filepath||t.filename)),a||"object"!=n(e)||(a=f.DEFAULT_CONTENT_TYPE),a},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,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(a[t.toLowerCase()]=e[t]);return a},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(),a=0,n=this._streams.length;a{e.exports=function(e,t){return Object.keys(t).forEach((function(a){e[a]=e[a]||t[a]})),e}},5770:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",a=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var r,s=a.call(arguments,1),c=function(){if(this instanceof r){var t=i.apply(this,s.concat(a.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(a.call(arguments)))},p=Math.max(0,i.length-s.length),u=[],l=0;l{"use strict";var n=a(5770);e.exports=Function.prototype.bind||n},459:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o,i=SyntaxError,r=Function,s=TypeError,c=function(e){try{return r('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var u=function(){throw new s},l=p?function(){try{return u}catch(e){try{return p(arguments,"callee").get}catch(e){return u}}}():u,d=a(8681)(),m=Object.getPrototypeOf||function(e){return e.__proto__},f={},h="undefined"==typeof Uint8Array?o:m(Uint8Array),x={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":d?m([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%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%":r,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?m(m([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?m((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&&d?m((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?m(""[Symbol.iterator]()):o,"%Symbol%":d?Symbol:o,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":s,"%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},v=function e(t){var a;if("%AsyncFunction%"===t)a=c("async function () {}");else if("%GeneratorFunction%"===t)a=c("function* () {}");else if("%AsyncGeneratorFunction%"===t)a=c("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(a=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(a=m(o.prototype))}return x[t]=a,a},b={"%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"]},y=a(3459),g=a(8482),w=y.call(Function.call,Array.prototype.concat),k=y.call(Function.apply,Array.prototype.splice),j=y.call(Function.call,String.prototype.replace),O=y.call(Function.call,String.prototype.slice),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,P=function(e){var t=O(e,0,1),a=O(e,-1);if("%"===t&&"%"!==a)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===a&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,_,(function(e,t,a,o){n[n.length]=a?j(o,S,"$1"):t||e})),n},E=function(e,t){var a,n=e;if(g(b,n)&&(n="%"+(a=b[n])[0]+"%"),g(x,n)){var o=x[n];if(o===f&&(o=v(n)),void 0===o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');var a=P(e),n=a.length>0?a[0]:"",o=E("%"+n+"%",t),r=o.name,c=o.value,u=!1,l=o.alias;l&&(n=l[0],k(a,w([0,1],l)));for(var d=1,m=!0;d=a.length){var b=p(c,f);c=(m=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[f]}else m=g(c,f),c=c[f];m&&!u&&(x[r]=c)}}return c}},7222:e=>{"use strict";e.exports=function(e,t){t=t||process.argv;var a=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(a+e),o=t.indexOf("--");return-1!==n&&(-1===o||n{"use strict";function n(e){return n="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},n(e)}var o=global.Symbol,i=a(2636);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&i()}},2636:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===t(Symbol.iterator))return!0;var e={},a=Symbol("test"),n=Object(a);if("string"==typeof a)return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(a in e[a]=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]!==a)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,a))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,a);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},8482:(e,t,a)=>{"use strict";var n=a(3459);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(e,t,a)=>{var n=a(8842)(a(6378),"DataView");e.exports=n},9985:(e,t,a)=>{var n=a(4494),o=a(8002),i=a(6984),r=a(9930),s=a(1556);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(4160),o=a(4389),i=a(1710),r=a(4102),s=a(8594);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Map");e.exports=n},3648:(e,t,a)=>{var n=a(6518),o=a(7734),i=a(9781),r=a(7318),s=a(3882);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Promise");e.exports=n},658:(e,t,a)=>{var n=a(8842)(a(6378),"Set");e.exports=n},9306:(e,t,a)=>{var n=a(4619),o=a(1511),i=a(9931),r=a(875),s=a(2603),c=a(3926);function p(e){var t=this.__data__=new n(e);this.size=t.size}p.prototype.clear=o,p.prototype.delete=i,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},698:(e,t,a)=>{var n=a(6378).Symbol;e.exports=n},7474:(e,t,a)=>{var n=a(6378).Uint8Array;e.exports=n},4592:(e,t,a)=>{var n=a(8842)(a(6378),"WeakMap");e.exports=n},6878:e=>{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length;++a{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length,o=0,i=[];++a{var n=a(2916),o=a(9028),i=a(1380),r=a(6288),s=a(9345),c=a(3634),p=Object.prototype.hasOwnProperty;e.exports=function(e,t){var a=i(e),u=!a&&o(e),l=!a&&!u&&r(e),d=!a&&!u&&!l&&c(e),m=a||u||l||d,f=m?n(e.length,String):[],h=f.length;for(var x in e)!t&&!p.call(e,x)||m&&("length"==x||l&&("offset"==x||"parent"==x)||d&&("buffer"==x||"byteLength"==x||"byteOffset"==x)||s(x,h))||f.push(x);return f}},1659:e=>{e.exports=function(e,t){for(var a=-1,n=t.length,o=e.length;++a{var n=a(9372),o=a(5032),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,a){var r=e[t];i.call(e,t)&&o(r,a)&&(void 0!==a||t in e)||n(e,t,a)}},1694:(e,t,a)=>{var n=a(5032);e.exports=function(e,t){for(var a=e.length;a--;)if(n(e[a][0],t))return a;return-1}},7784:(e,t,a)=>{var n=a(1893),o=a(19);e.exports=function(e,t){return e&&n(t,o(t),e)}},4741:(e,t,a)=>{var n=a(1893),o=a(5168);e.exports=function(e,t){return e&&n(t,o(t),e)}},9372:(e,t,a)=>{var n=a(2626);e.exports=function(e,t,a){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}},3546:(e,t,a)=>{var n=a(9306),o=a(6878),i=a(8936),r=a(7784),s=a(4741),c=a(2037),p=a(6947),u=a(696),l=a(9193),d=a(2645),m=a(1391),f=a(1863),h=a(1208),x=a(2428),v=a(9662),b=a(1380),y=a(6288),g=a(3718),w=a(9294),k=a(4496),j=a(19),O=a(5168),_="[object Arguments]",S="[object Function]",P="[object Object]",E={};E[_]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E[P]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E[S]=E["[object WeakMap]"]=!1,e.exports=function e(t,a,A,C,z,R){var q,H=1&a,T=2&a,F=4&a;if(A&&(q=z?A(t,C,z,R):A(t)),void 0!==q)return q;if(!w(t))return t;var D=b(t);if(D){if(q=h(t),!H)return p(t,q)}else{var L=f(t),N=L==S||"[object GeneratorFunction]"==L;if(y(t))return c(t,H);if(L==P||L==_||N&&!z){if(q=T||N?{}:v(t),!H)return T?l(t,s(q,t)):u(t,r(q,t))}else{if(!E[L])return z?t:{};q=x(t,L,H)}}R||(R=new n);var U=R.get(t);if(U)return U;R.set(t,q),k(t)?t.forEach((function(n){q.add(e(n,a,A,n,t,R))})):g(t)&&t.forEach((function(n,o){q.set(o,e(n,a,A,o,t,R))}));var B=D?void 0:(F?T?m:d:T?O:j)(t);return o(B||t,(function(n,o){B&&(n=t[o=n]),i(q,o,e(n,a,A,o,t,R))})),q}},1843:(e,t,a)=>{var n=a(9294),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}();e.exports=i},523:(e,t,a)=>{var n=a(1659),o=a(1380);e.exports=function(e,t,a){var i=t(e);return o(e)?i:n(i,a(e))}},5822:(e,t,a)=>{var n=a(698),o=a(7389),i=a(5891),r=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?o(e):i(e)}},1325:(e,t,a)=>{var n=a(5822),o=a(9730);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},5959:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},517:(e,t,a)=>{var n=a(3081),o=a(2674),i=a(9294),r=a(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(r(e))}},5534:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},6750:(e,t,a)=>{var n=a(5822),o=a(4509),i=a(9730),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!r[n(e)]}},3148:(e,t,a)=>{var n=a(2053),o=a(2901),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var a in Object(e))i.call(e,a)&&"constructor"!=a&&t.push(a);return t}},3864:(e,t,a)=>{var n=a(9294),o=a(2053),i=a(476),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),a=[];for(var s in e)("constructor"!=s||!t&&r.call(e,s))&&a.push(s);return a}},2916:e=>{e.exports=function(e,t){for(var a=-1,n=Array(e);++a{e.exports=function(e){return function(t){return e(t)}}},4033:(e,t,a)=>{var n=a(7474);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},2037:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),i="object"==n(t)&&t&&!t.nodeType&&t,r=i&&"object"==n(e)&&e&&!e.nodeType&&e,s=r&&r.exports===i?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var a=e.length,n=c?c(a):new e.constructor(a);return e.copy(n),n}},3412:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}},7245:e=>{var t=/\w*$/;e.exports=function(e){var a=new e.constructor(e.source,t.exec(e));return a.lastIndex=e.lastIndex,a}},4683:(e,t,a)=>{var n=a(698),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},6985:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}},6947:e=>{e.exports=function(e,t){var a=-1,n=e.length;for(t||(t=Array(n));++a{var n=a(8936),o=a(9372);e.exports=function(e,t,a,i){var r=!a;a||(a={});for(var s=-1,c=t.length;++s{var n=a(1893),o=a(1399);e.exports=function(e,t){return n(e,o(e),t)}},9193:(e,t,a)=>{var n=a(1893),o=a(5716);e.exports=function(e,t){return n(e,o(e),t)}},1006:(e,t,a)=>{var n=a(6378)["__core-js_shared__"];e.exports=n},2626:(e,t,a)=>{var n=a(8842),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},4482:e=>{function t(e){return t="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},t(e)}var a="object"==("undefined"==typeof global?"undefined":t(global))&&global&&global.Object===Object&&global;e.exports=a},2645:(e,t,a)=>{var n=a(523),o=a(1399),i=a(19);e.exports=function(e){return n(e,i,o)}},1391:(e,t,a)=>{var n=a(523),o=a(5716),i=a(5168);e.exports=function(e){return n(e,i,o)}},320:(e,t,a)=>{var n=a(8474);e.exports=function(e,t){var a=e.__data__;return n(t)?a["string"==typeof t?"string":"hash"]:a.map}},8842:(e,t,a)=>{var n=a(517),o=a(6930);e.exports=function(e,t){var a=o(e,t);return n(a)?a:void 0}},7109:(e,t,a)=>{var n=a(839)(Object.getPrototypeOf,Object);e.exports=n},7389:(e,t,a)=>{var n=a(698),o=Object.prototype,i=o.hasOwnProperty,r=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),a=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=r.call(e);return n&&(t?e[s]=a:delete e[s]),o}},1399:(e,t,a)=>{var n=a(9501),o=a(4959),i=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,s=r?function(e){return null==e?[]:(e=Object(e),n(r(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},5716:(e,t,a)=>{var n=a(1659),o=a(7109),i=a(1399),r=a(4959),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:r;e.exports=s},1863:(e,t,a)=>{var n=a(1833),o=a(5914),i=a(9180),r=a(658),s=a(4592),c=a(5822),p=a(110),u="[object Map]",l="[object Promise]",d="[object Set]",m="[object WeakMap]",f="[object DataView]",h=p(n),x=p(o),v=p(i),b=p(r),y=p(s),g=c;(n&&g(new n(new ArrayBuffer(1)))!=f||o&&g(new o)!=u||i&&g(i.resolve())!=l||r&&g(new r)!=d||s&&g(new s)!=m)&&(g=function(e){var t=c(e),a="[object Object]"==t?e.constructor:void 0,n=a?p(a):"";if(n)switch(n){case h:return f;case x:return u;case v:return l;case b:return d;case y:return m}return t}),e.exports=g},6930:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},4494:(e,t,a)=>{var n=a(1303);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6984:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return o.call(t,e)?t[e]:void 0}},9930:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},1556:(e,t,a)=>{var n=a(1303);e.exports=function(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},1208:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var a=e.length,n=new e.constructor(a);return a&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},2428:(e,t,a)=>{var n=a(4033),o=a(3412),i=a(7245),r=a(4683),s=a(6985);e.exports=function(e,t,a){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,a);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,a);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return i(e);case"[object Symbol]":return r(e)}}},9662:(e,t,a)=>{var n=a(1843),o=a(7109),i=a(2053);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},9345:e=>{function t(e){return t="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},t(e)}var a=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=t(e);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&a.test(e))&&e>-1&&e%1==0&&e{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==e:null===e}},2674:(e,t,a)=>{var n,o=a(1006),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},2053:e=>{var t=Object.prototype;e.exports=function(e){var a=e&&e.constructor;return e===("function"==typeof a&&a.prototype||t)}},4160:e=>{e.exports=function(){this.__data__=[],this.size=0}},4389:(e,t,a)=>{var n=a(1694),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,a=n(t,e);return!(a<0||(a==t.length-1?t.pop():o.call(t,a,1),--this.size,0))}},1710:(e,t,a)=>{var n=a(1694);e.exports=function(e){var t=this.__data__,a=n(t,e);return a<0?void 0:t[a][1]}},4102:(e,t,a)=>{var n=a(1694);e.exports=function(e){return n(this.__data__,e)>-1}},8594:(e,t,a)=>{var n=a(1694);e.exports=function(e,t){var a=this.__data__,o=n(a,e);return o<0?(++this.size,a.push([e,t])):a[o][1]=t,this}},6518:(e,t,a)=>{var n=a(9985),o=a(4619),i=a(5914);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},7734:(e,t,a)=>{var n=a(320);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},9781:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).get(e)}},7318:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).has(e)}},3882:(e,t,a)=>{var n=a(320);e.exports=function(e,t){var a=n(this,e),o=a.size;return a.set(e,t),this.size+=a.size==o?0:1,this}},1303:(e,t,a)=>{var n=a(8842)(Object,"create");e.exports=n},2901:(e,t,a)=>{var n=a(839)(Object.keys,Object);e.exports=n},476:e=>{e.exports=function(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}},7873:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(4482),i="object"==n(t)&&t&&!t.nodeType&&t,r=i&&"object"==n(e)&&e&&!e.nodeType&&e,s=r&&r.exports===i&&o.process,c=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=c},5891:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},839:e=>{e.exports=function(e,t){return function(a){return e(t(a))}}},6378:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(4482),i="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},1511:(e,t,a)=>{var n=a(4619);e.exports=function(){this.__data__=new n,this.size=0}},9931:e=>{e.exports=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}},875:e=>{e.exports=function(e){return this.__data__.get(e)}},2603:e=>{e.exports=function(e){return this.__data__.has(e)}},3926:(e,t,a)=>{var n=a(4619),o=a(5914),i=a(3648);e.exports=function(e,t){var a=this.__data__;if(a instanceof n){var r=a.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++a.size,this;a=this.__data__=new i(r)}return a.set(e,t),this.size=a.size,this}},110:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7780:(e,t,a)=>{var n=a(3546);e.exports=function(e){return n(e,5)}},5032:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9028:(e,t,a)=>{var n=a(1325),o=a(9730),i=Object.prototype,r=i.hasOwnProperty,s=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&r.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1380:e=>{var t=Array.isArray;e.exports=t},6214:(e,t,a)=>{var n=a(3081),o=a(4509);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},6288:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),i=a(6408),r="object"==n(t)&&t&&!t.nodeType&&t,s=r&&"object"==n(e)&&e&&!e.nodeType&&e,c=s&&s.exports===r?o.Buffer:void 0,p=(c?c.isBuffer:void 0)||i;e.exports=p},3081:(e,t,a)=>{var n=a(5822),o=a(9294);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4509:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3718:(e,t,a)=>{var n=a(5959),o=a(3184),i=a(7873),r=i&&i.isMap,s=r?o(r):n;e.exports=s},9294:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return null!=e&&("object"==a||"function"==a)}},9730:e=>{function t(e){return t="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},t(e)}e.exports=function(e){return null!=e&&"object"==t(e)}},4496:(e,t,a)=>{var n=a(5534),o=a(3184),i=a(7873),r=i&&i.isSet,s=r?o(r):n;e.exports=s},3634:(e,t,a)=>{var n=a(6750),o=a(3184),i=a(7873),r=i&&i.isTypedArray,s=r?o(r):n;e.exports=s},19:(e,t,a)=>{var n=a(1832),o=a(3148),i=a(6214);e.exports=function(e){return i(e)?n(e):o(e)}},5168:(e,t,a)=>{var n=a(1832),o=a(3864),i=a(6214);e.exports=function(e){return i(e)?n(e,!0):o(e)}},4959:e=>{e.exports=function(){return[]}},6408:e=>{e.exports=function(){return!1}},5718:(e,t,a)=>{e.exports=a(3765)},5038:(e,t,a)=>{"use strict";var n,o,i,r=a(5718),s=a(1017).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),a=t&&r[t[1].toLowerCase()];return a&&a.charset?a.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var a=-1===e.indexOf("/")?t.lookup(e):e;if(!a)return!1;if(-1===a.indexOf("charset")){var n=t.charset(a);n&&(a+="; charset="+n.toLowerCase())}return a},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var a=c.exec(e),n=a&&t.extensions[a[1].toLowerCase()];return!(!n||!n.length)&&n[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var a=s("x."+e).toLowerCase().substr(1);return a&&t.types[a]||!1},t.types=Object.create(null),n=t.extensions,o=t.types,i=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var t=r[e],a=t.extensions;if(a&&a.length){n[e]=a;for(var s=0;su||p===u&&"application/"===o[c].substr(0,12)))continue}o[c]=e}}}))},266:e=>{"use strict";var t=String.prototype.replace,a=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},903:(e,t,a)=>{"use strict";var n=a(4479),o=a(7877),i=a(266);e.exports={formats:i,parse:o,stringify:n}},7877:(e,t,a)=>{"use strict";var n=a(1640),o=Object.prototype.hasOwnProperty,i=Array.isArray,r={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,t,a,n){if(e){var i=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=a.depth>0&&/(\[[^[\]]*])/.exec(i),p=s?i.slice(0,s.index):i,u=[];if(p){if(!a.plainObjects&&o.call(Object.prototype,p)&&!a.allowPrototypes)return;u.push(p)}for(var l=0;a.depth>0&&null!==(s=r.exec(i))&&l=0;--i){var r,s=e[i];if("[]"===s&&a.parseArrays)r=[].concat(o);else{r=a.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);a.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&a.parseArrays&&u<=a.arrayLimit?(r=[])[u]=o:r[p]=o:r={0:o}}o=r}return o}(u,t,a,n)}};e.exports=function(e,t){var a=function(e){if(!e)return r;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?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:r.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(t);if(""===e||null==e)return a.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var a,p={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,l),m=-1,f=t.charset;if(t.charsetSentinel)for(a=0;a-1&&(x=i(x)?[x]:x),o.call(p,h)?p[h]=n.combine(p[h],x):p[h]=x}return p}(e,a):e,l=a.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m{"use strict";function n(e){return n="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},n(e)}var o=a(3796),i=a(1640),r=a(266),s=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},p=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,p(t)?t:[t])},d=Date.prototype.toISOString,m=r.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:m,formatter:r.formatters[m],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h=function e(t,a,r,s,c,u,d,m,h,x,v,b,y,g,w){var k,j=t;if(w.has(t))throw new RangeError("Cyclic object value");if("function"==typeof d?j=d(a,j):j instanceof Date?j=x(j):"comma"===r&&p(j)&&(j=i.maybeMap(j,(function(e){return e instanceof Date?x(e):e}))),null===j){if(s)return u&&!y?u(a,f.encoder,g,"key",v):a;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||i.isBuffer(j))return u?[b(y?a:u(a,f.encoder,g,"key",v))+"="+b(u(j,f.encoder,g,"value",v))]:[b(a)+"="+b(String(j))];var O,_=[];if(void 0===j)return _;if("comma"===r&&p(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(p(d))O=d;else{var S=Object.keys(j);O=m?S.sort(m):S}for(var P=0;P0?w+g:""}},1640:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(266),i=Object.prototype.hasOwnProperty,r=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var a=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),a=t.obj[t.prop];if(r(a)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||r===o.RFC1738&&(40===l||41===l)?p+=c.charAt(u):l<128?p+=s[l]:l<2048?p+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?p+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),p+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return p},isBuffer:function(e){return!(!e||"object"!==n(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(r(e)){for(var a=[],n=0;n{function n(e){return n="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},n(e)}var o=function(e){"use strict";var t,a=Object.prototype,o=a.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function p(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,a){return e[t]=a}}function u(e,t,a,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),r=new A(n||[]);return i._invoke=function(e,t,a){var n=d;return function(o,i){if(n===f)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return z()}for(a.method=o,a.arg=i;;){var r=a.delegate;if(r){var s=S(r,a);if(s){if(s===x)continue;return s}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===d)throw n=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=f;var c=l(e,t,a);if("normal"===c.type){if(n=a.done?h:m,c.arg===x)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(n=h,a.method="throw",a.arg=c.arg)}}}(e,a,r),i}function l(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",m="suspendedYield",f="executing",h="completed",x={};function v(){}function b(){}function y(){}var g={};p(g,r,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(C([])));k&&k!==a&&o.call(k,r)&&(g=k);var j=y.prototype=v.prototype=Object.create(g);function O(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function a(i,r,s,c){var p=l(e[i],e,r);if("throw"!==p.type){var u=p.arg,d=u.value;return d&&"object"===n(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){a("next",e,s,c)}),(function(e){a("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return a("throw",e,s,c)}))}c(p.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,o){a(e,n,t,o)}))}return i=i?i.then(o,o):o()}}function S(e,a){var n=e.iterator[a.method];if(n===t){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=t,S(e,a),"throw"===a.method))return x;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return x}var o=l(n,e.iterator,a.arg);if("throw"===o.type)return a.method="throw",a.arg=o.arg,a.delegate=null,x;var i=o.arg;return i?i.done?(a[e.resultName]=i.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,x):i:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,x)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function C(e){if(e){var a=e[r];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function a(){for(;++n=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=o.call(r,"catchLoc"),p=o.call(r,"finallyLoc");if(c&&p){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),E(a),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var o=n.arg;E(a)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,n){return this.delegate={iterator:C(e),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=t),x}},e}("object"===n(e=a.nmd(e))?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(459),i=a(2639),r=a(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),p=o("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),m=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),x=function(e,t){for(var a,n=e;null!==(a=n.next);n=a)if(a.key===t)return n.next=a.next,a.next=e.next,e.next=a,a};e.exports=function(){var e,t,a,o={assert:function(e){if(!o.has(e))throw new s("Side channel does not contain "+r(e))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return u(e,o)}else if(p){if(t)return m(t,o)}else if(a)return function(e,t){var a=x(e,t);return a&&a.value}(a,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return d(e,o)}else if(p){if(t)return h(t,o)}else if(a)return function(e,t){return!!x(e,t)}(a,o);return!1},set:function(o,i){c&&o&&("object"===n(o)||"function"==typeof o)?(e||(e=new c),l(e,o,i)):p?(t||(t=new p),f(t,o,i)):(a||(a={key:{},next:null}),function(e,t,a){var n=x(e,t);n?n.value=a:e.next={key:t,next:e.next,value:a}}(a,o,i))}};return o}},4562:(e,t,a)=>{function n(e){return n="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},n(e)}var o="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=o&&i&&"function"==typeof i.get?i.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&p&&"function"==typeof p.get?p.get:null,l=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,x=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,y="function"==typeof BigInt?BigInt.prototype.valueOf:null,g=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),_=a(7075).custom,S=_&&z(_)?_:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function E(e,t,a){var n="double"===(a.quoteStyle||t)?'"':"'";return n+e+n}function A(e){return String(e).replace(/"/g,""")}function C(e){return!("[object Array]"!==H(e)||P&&"object"===n(e)&&P in e)}function z(e){if(k)return e&&"object"===n(e)&&e instanceof Symbol;if("symbol"===n(e))return!0;if(!e||"object"!==n(e)||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}e.exports=function e(t,a,o,i){var c=a||{};if(q(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=!q(c,"customInspect")||c.customInspect;if("boolean"!=typeof p&&"symbol"!==p)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return F(t,c);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var x=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=x&&x>0&&"object"===n(t))return C(t)?"[Array]":"[Object]";var g,j=function(e,t){var a;if("\t"===e.indent)a="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;a=Array(e.indent+1).join(" ")}return{base:a,prev:Array(t+1).join(a)}}(c,o);if(void 0===i)i=[];else if(T(i,t)>=0)return"[Circular]";function _(t,a,n){if(a&&(i=i.slice()).push(a),n){var r={depth:c.depth};return q(c,"quoteStyle")&&(r.quoteStyle=c.quoteStyle),e(t,r,o+1,i)}return e(t,c,o+1,i)}if("function"==typeof t){var R=function(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),D=I(t,_);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(D.length>0?" { "+D.join(", ")+" }":"")}if(z(t)){var M=k?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(t);return"object"!==n(t)||k?M:L(M)}if((g=t)&&"object"===n(g)&&("undefined"!=typeof HTMLElement&&g instanceof HTMLElement||"string"==typeof g.nodeName&&"function"==typeof g.getAttribute)){for(var W="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],$=0;$"}if(C(t)){if(0===t.length)return"[]";var V=I(t,_);return j&&!function(e){for(var t=0;t=0)return!1;return!0}(V)?"["+B(V,j)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||P&&"object"===n(e)&&P in e)}(t)){var J=I(t,_);return 0===J.length?"["+String(t)+"]":"{ ["+String(t)+"] "+J.join(", ")+" }"}if("object"===n(t)&&p){if(S&&"function"==typeof t[S])return t[S]();if("symbol"!==p&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!==n(e))return!1;try{r.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var K=[];return s.call(t,(function(e,a){K.push(_(a,t,!0)+" => "+_(e,t))})),U("Map",r.call(t),K,j)}if(function(e){if(!u||!e||"object"!==n(e))return!1;try{u.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var Q=[];return l.call(t,(function(e){Q.push(_(e,t))})),U("Set",u.call(t),Q,j)}if(function(e){if(!d||!e||"object"!==n(e))return!1;try{d.call(e,d);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return N("WeakMap");if(function(e){if(!m||!e||"object"!==n(e))return!1;try{m.call(e,m);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return N("WeakSet");if(function(e){if(!f||!e||"object"!==n(e))return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return N("WeakRef");if(function(e){return!("[object Number]"!==H(e)||P&&"object"===n(e)&&P in e)}(t))return L(_(Number(t)));if(function(e){if(!e||"object"!==n(e)||!y)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return L(_(y.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||P&&"object"===n(e)&&P in e)}(t))return L(h.call(t));if(function(e){return!("[object String]"!==H(e)||P&&"object"===n(e)&&P in e)}(t))return L(_(String(t)));if(!function(e){return!("[object Date]"!==H(e)||P&&"object"===n(e)&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==H(e)||P&&"object"===n(e)&&P in e)}(t)){var Y=I(t,_),X=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,Z=t instanceof Object?"":"null prototype",ee=!X&&P&&Object(t)===t&&P in t?H(t).slice(8,-1):Z?"Object":"",te=(X||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ee||Z?"["+[].concat(ee||[],Z||[]).join(": ")+"] ":"");return 0===Y.length?te+"{}":j?te+"{"+B(Y,j)+"}":te+"{ "+Y.join(", ")+" }"}return String(t)};var R=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return R.call(e,t)}function H(e){return x.call(e)}function T(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,n=e.length;at.maxStringLength){var a=e.length-t.maxStringLength,n="... "+a+" more character"+(a>1?"s":"");return F(e.slice(0,t.maxStringLength),t)+n}return E(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,D),"single",t)}function D(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function L(e){return"Object("+e+")"}function N(e){return e+" { ? }"}function U(e,t,a,n){return e+" ("+t+") {"+(n?B(a,n):a.join(", "))+"}"}function B(e,t){if(0===e.length)return"";var a="\n"+t.prev+t.base;return a+e.join(","+a)+"\n"+t.prev}function I(e,t){var a=C(e),n=[];if(a){n.length=e.length;for(var o=0;o{e.exports=a(3837).inspect},346:(e,t,a)=>{"use strict";var n,o=a(9563),i=a(7222),r=process.env;function s(e){var t=function(e){if(!1===n)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==n)return 0;var t=n?1:0;if("win32"===process.platform){var a=o.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:t;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}i("no-color")||i("no-colors")||i("color=false")?n=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(n=!0),"FORCE_COLOR"in r&&(n=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},6231:e=>{"use strict";e.exports=require("fs")},9491:e=>{"use strict";e.exports=require("assert")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},9563:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},8593:e=>{"use strict";e.exports=JSON.parse('{"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#USER","/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')},3765: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/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/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/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},"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/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/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":{"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},"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/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/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/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"},"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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"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.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.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.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.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.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.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.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.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.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.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.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.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},"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-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"},"image/avcs":{"source":"iana"},"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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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/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.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/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/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}}')}},t={};function a(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n](i,i.exports,a),i.loaded=!0,i.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n=a(6005);module.exports=n})(); \ No newline at end of file +(()=>{var e={6005:(e,t,a)=>{"use strict";a.r(t),a.d(t,{client:()=>lt});var n=a(5213),o=a.n(n);const i="1.2.4";var r=a(7780),s=a.n(r),c=a(9563),p=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var e=window.navigator.userAgent,t=window.navigator.platform,a=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?a="macOS":-1!==["iPhone","iPad","iPod"].indexOf(t)?a="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?a="Windows":/Android/.test(e)?a="Android":/Linux/.test(t)&&(a="Linux"),a}function l(e,t,a,n){var o=[];t&&o.push("app ".concat(t)),a&&o.push("integration ".concat(a)),n&&o.push("feature "+n),o.push("sdk ".concat(e));var i=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(i=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(i=u(),o.push("platform browser")):(i=function(){var e=(0,c.platform)()||"linux",t=(0,c.release)()||"0.0.0",a={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in a?"".concat(a[e]||"Linux","/").concat(t):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(e){i=null}return i&&o.push("os ".concat(i)),"".concat(o.filter((function(e){return""!==e})).join("; "),";")}var d=a(9087),m=a.n(d),f=a(5843),h=a.n(f);function x(e){var t=e.config,a=e.response;if(!t||!a)throw e;var n=a.data,o={status:a.status,statusText:a.statusText};if(t.headers&&t.headers.authtoken){var i="...".concat(t.headers.authtoken.substr(-5));t.headers.authtoken=i}if(t.headers&&t.headers.authorization){var r="...".concat(t.headers.authorization.substr(-5));t.headers.authorization=r}o.request={url:t.url,method:t.method,data:t.data,headers:t.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var v=a(1637),b=a.n(v),y=function e(t,a){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,e);var i=t.data||{};n&&(i.stackHeaders=n),this.items=o(a,i),void 0!==i.schema&&(this.schema=i.schema),void 0!==i.content_type&&(this.content_type=i.content_type),void 0!==i.count&&(this.count=i.count),void 0!==i.notice&&(this.notice=i.notice)};function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function w(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,i={};n&&(i.headers=n);var r=null;a&&(a.content_type_uid&&(r=a.content_type_uid,delete a.content_type_uid),i.params=w({},s()(a)));var c=function(){var a=m()(h().mark((function a(){var s;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t,i);case 3:if(!(s=a.sent).data){a.next=9;break}return r&&(s.data.content_type_uid=r),a.abrupt("return",new y(s,e,n,o));case 9:throw x(s);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(0),x(a.t0);case 15:case"end":return a.stop()}}),a,null,[[0,12]])})));return function(){return a.apply(this,arguments)}}(),p=function(){var a=m()(h().mark((function a(){var n;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return i.params=w(w({},i.params),{},{count:!0}),a.prev=1,a.next=4,e.get(t,i);case 4:if(!(n=a.sent).data){a.next=9;break}return a.abrupt("return",n.data);case 9:throw x(n);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(1),x(a.t0);case 15:case"end":return a.stop()}}),a,null,[[1,12]])})));return function(){return a.apply(this,arguments)}}(),u=function(){var a=m()(h().mark((function a(){var s,c;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return(s=i).params.limit=1,a.prev=2,a.next=5,e.get(t,s);case 5:if(!(c=a.sent).data){a.next=11;break}return r&&(c.data.content_type_uid=r),a.abrupt("return",new y(c,e,n,o));case 11:throw x(c);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(2),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[2,14]])})));return function(){return a.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function O(e){for(var t=1;t4&&void 0!==p[4]?p[4]:null,r=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==i&&(n.locale=i),null!==r&&(n.version=r),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,t.post(a,n,o);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(t,a,n,o){return e.apply(this,arguments)}}(),E=function(){var e=m()(h().mark((function e(t){var a,n,o,i,r,c,p,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.http,n=t.urlPath,o=t.stackHeaders,i=t.formData,r=t.params,c=t.method,p=void 0===c?"POST":c,u={headers:O(O({},r),s()(o))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",a.post(n,i,u));case 6:return e.abrupt("return",a.put(n,i,u));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.http,a=e.params;return function(){var e=m()(h().mark((function e(n,o){var i,r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={headers:O(O({},s()(a)),s()(this.stackHeaders)),params:O({},s()(o))}||{},e.prev=1,e.next=4,t.post(this.urlPath,n,i);case 4:if(!(r=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(t,T(r,this.stackHeaders,this.content_type_uid)));case 9:throw x(r);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(t,a){return e.apply(this,arguments)}}()},C=function(e){var t=e.http,a=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(t,this.urlPath,e,this.stackHeaders,a)}},z=function(e,t){return m()(h().mark((function a(){var n,o,i,r,c=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(i=s()(this)).stackHeaders,delete i.urlPath,delete i.uid,delete i.org_uid,delete i.api_key,delete i.created_at,delete i.created_by,delete i.deleted_at,delete i.updated_at,delete i.updated_by,delete i.updated_at,o[t]=i,a.prev=15,a.next=18,e.put(this.urlPath,o,{headers:O({},s()(this.stackHeaders)),params:O({},s()(n))});case 18:if(!(r=a.sent).data){a.next=23;break}return a.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 23:throw x(r);case 24:a.next=29;break;case 26:throw a.prev=26,a.t0=a.catch(15),x(a.t0);case 29:case"end":return a.stop()}}),a,this,[[15,26]])})))},R=function(e){return m()(h().mark((function t(){var a,n,o,i=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,n={headers:O({},s()(this.stackHeaders)),params:O({},s()(a))}||{},t.next=5,e.delete(this.urlPath,n);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",o.data);case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,this,[[1,13]])})))},q=function(e,t){return m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},a.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(n))}||{},a.next=5,e.get(this.urlPath,o);case 5:if(!(i=a.sent).data){a.next=11;break}return"entry"===t&&(i.data[t].content_type=i.data.content_type,i.data[t].schema=i.data.schema),a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders,this.content_type_uid)));case 11:throw x(i);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(1),x(a.t0);case 17:case"end":return a.stop()}}),a,this,[[1,14]])})))},H=function(e,t){return m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=O({},s()(n))),a.prev=4,a.next=7,e.get(this.urlPath,o);case 7:if(!(i=a.sent).data){a.next=12;break}return a.abrupt("return",new y(i,e,this.stackHeaders,t));case 12:throw x(i);case 13:a.next=18;break;case 15:throw a.prev=15,a.t0=a.catch(4),x(a.t0);case 18:case"end":return a.stop()}}),a,this,[[4,15]])})))};function T(e,t,a){var n=e.data||{};return t&&(n.stackHeaders=t),a&&(n.content_type_uid=a),n}function F(e,t){return this.urlPath="/roles",this.stackHeaders=t.stackHeaders,t.role?(Object.assign(this,s()(t.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=z(e,"role"),this.delete=R(e),this.fetch=q(e,"role"))):(this.create=A({http:e}),this.fetchAll=H(e,D),this.query=C({http:e,wrapperCollection:D})),this}function D(e,t){return s()(t.roles||[]).map((function(a){return new F(e,{role:a,stackHeaders:t.stackHeaders})}))}function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function N(e){for(var t=1;t0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/stacks"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,$e));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.addUser=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/share"),{share:N({},n)});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.getInvitations=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/share"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.resendInvitation=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.roles=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/roles"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,D));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}())):this.fetchAll=H(e,B)}function B(e,t){return s()(t.organizations||[]).map((function(t){return new U(e,{organization:t})}))}function I(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/content_types",a.content_type?(Object.assign(this,s()(a.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=z(e,"content_type"),this.delete=R(e),this.fetch=q(e,"content_type"),this.entry=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return n.content_type_uid=t.uid,a&&(n.entry={uid:a}),new K(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Z}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function Z(e,t){return(s()(t.content_types)||[]).map((function(a){return new X(e,{content_type:a,stackHeaders:t.stackHeaders})}))}function ee(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.content_type);return t.append("content_type",a),t}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/global_fields",t.global_field?(Object.assign(this,s()(t.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=z(e,"global_field"),this.delete=R(e),this.fetch=q(e,"global_field")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ae}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function ae(e,t){return(s()(t.global_fields)||[]).map((function(a){return new te(e,{global_field:a,stackHeaders:t.stackHeaders})}))}function ne(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.global_field);return t.append("global_field",a),t}}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/delivery_tokens",t.token?(Object.assign(this,s()(t.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=z(e,"token"),this.delete=R(e),this.fetch=q(e,"token")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ie}))}function ie(e,t){return(s()(t.tokens)||[]).map((function(a){return new oe(e,{token:a,stackHeaders:t.stackHeaders})}))}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/environments",t.environment?(Object.assign(this,s()(t.environment)),this.urlPath="/environments/".concat(this.name),this.update=z(e,"environment"),this.delete=R(e),this.fetch=q(e,"environment")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:se}))}function se(e,t){return(s()(t.environments)||[]).map((function(a){return new re(e,{environment:a,stackHeaders:t.stackHeaders})}))}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stackHeaders&&(this.stackHeaders=t.stackHeaders),this.urlPath="/assets/folders",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=z(e,"asset"),this.delete=R(e),this.fetch=q(e,"asset")):this.create=A({http:e})}function pe(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/assets",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/".concat(this.uid),this.update=z(e,"asset"),this.delete=R(e),this.fetch=q(e,"asset"),this.replace=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n,method:"PUT"});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.publish=_(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new ce(e,n)},this.create=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.query=C({http:e,wrapperCollection:ue})),this}function ue(e,t){return(s()(t.assets)||[]).map((function(a){return new pe(e,{asset:a,stackHeaders:t.stackHeaders})}))}function le(e){return function(){var t=new(V());"string"==typeof e.parent_uid&&t.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&t.append("asset[description]",e.description),e.tags instanceof Array?t.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("asset[tags]",e.tags),"string"==typeof e.title&&t.append("asset[title]",e.title);var a=(0,J.createReadStream)(e.upload);return t.append("asset[upload]",a),t}}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/locales",t.locale?(Object.assign(this,s()(t.locale)),this.urlPath="/locales/".concat(this.code),this.update=z(e,"locale"),this.delete=R(e),this.fetch=q(e,"locale")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:me})),this}function me(e,t){return(s()(t.locales)||[]).map((function(a){return new de(e,{locale:a,stackHeaders:t.stackHeaders})}))}var fe=a(5514),he=a.n(fe);function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/extensions",t.extension?(Object.assign(this,s()(t.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=z(e,"extension"),this.delete=R(e),this.fetch=q(e,"extension")):(this.upload=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ve}))}function ve(e,t){return(s()(t.extensions)||[]).map((function(a){return new xe(e,{extension:a,stackHeaders:t.stackHeaders})}))}function be(e){return function(){var t=new(V());"string"==typeof e.title&&t.append("extension[title]",e.title),"object"===he()(e.scope)&&t.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&t.append("extension[data_type]",e.data_type),"string"==typeof e.type&&t.append("extension[type]",e.type),e.tags instanceof Array?t.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&t.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&t.append("extension[enable]","".concat(e.enable));var a=(0,J.createReadStream)(e.upload);return t.append("extension[upload]",a),t}}function ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ge(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/webhooks",a.webhook?(Object.assign(this,s()(a.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=z(e,"webhook"),this.delete=R(e),this.fetch=q(e,"webhook"),this.executions=function(){var a=m()(h().mark((function a(n){var o,i;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),n&&(o.params=ge({},s()(n))),a.prev=3,a.next=6,e.get("".concat(t.urlPath,"/executions"),o);case 6:if(!(i=a.sent).data){a.next=11;break}return a.abrupt("return",i.data);case 11:throw x(i);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.retry=function(){var a=m()(h().mark((function a(n){var o,i;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(i=a.sent).data){a.next=10;break}return a.abrupt("return",i.data);case 10:throw x(i);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(2),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[2,13]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.fetchAll=H(e,ke)),this.import=function(){var a=m()(h().mark((function a(n){var o;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,E({http:e,urlPath:"".concat(t.urlPath,"/import"),stackHeaders:t.stackHeaders,formData:je(n)});case 3:if(!(o=a.sent).data){a.next=8;break}return a.abrupt("return",new t.constructor(e,T(o,t.stackHeaders)));case 8:throw x(o);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this}function ke(e,t){return(s()(t.webhooks)||[]).map((function(a){return new we(e,{webhook:a,stackHeaders:t.stackHeaders})}))}function je(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.webhook);return t.append("webhook",a),t}}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows/publishing_rules",t.publishing_rule?(Object.assign(this,s()(t.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=z(e,"publishing_rule"),this.delete=R(e),this.fetch=q(e,"publishing_rule")):(this.create=A({http:e}),this.fetchAll=H(e,_e))}function _e(e,t){return(s()(t.publishing_rules)||[]).map((function(a){return new Oe(e,{publishing_rule:a,stackHeaders:t.stackHeaders})}))}function Se(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Pe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows",a.workflow?(Object.assign(this,s()(a.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=z(e,"workflow"),this.disable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.enable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.delete=R(e),this.fetch=q(e,"workflow")):(this.contentType=function(a){if(a){var n=function(){var t=m()(h().mark((function t(n){var o,i;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Pe({},s()(n))),t.prev=3,t.next=6,e.get("/workflows/content_type/".concat(a),o);case 6:if(!(i=t.sent).data){t.next=11;break}return t.abrupt("return",new y(i,e,this.stackHeaders,_e));case 11:throw x(i);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[3,14]])})));return function(e){return t.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Pe({},t.stackHeaders)}}},this.create=A({http:e}),this.fetchAll=H(e,Ae),this.publishRule=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.publishing_rule={uid:a}),new Oe(e,n)})}function Ae(e,t){return(s()(t.workflows)||[]).map((function(a){return new Ee(e,{workflow:a,stackHeaders:t.stackHeaders})}))}function Ce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,a.item&&Object.assign(this,s()(a.item)),a.releaseUid&&(this.urlPath="releases/".concat(a.releaseUid,"/items"),this.delete=function(){var n=m()(h().mark((function n(o){var i,r,c;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i={},void 0===o&&(i={all:!0}),n.prev=2,r={headers:ze({},s()(t.stackHeaders)),data:ze({},s()(o)),params:ze({},s()(i))}||{},n.next=6,e.delete(t.urlPath,r);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Fe(e,ze(ze({},c.data),{},{stackHeaders:a.stackHeaders})));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=m()(h().mark((function n(o){var i,r;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i={headers:ze({},s()(t.stackHeaders))}||{},n.prev=1,n.next=4,e.post(o.item?"releases/".concat(a.releaseUid,"/item"):t.urlPath,o,i);case 4:if(!(r=n.sent).data){n.next=10;break}if(!r.data){n.next=8;break}return n.abrupt("return",new Fe(e,ze(ze({},r.data),{},{stackHeaders:a.stackHeaders})));case 8:n.next=11;break;case 10:throw x(r);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},a.prev=1,o={headers:ze({},s()(t.stackHeaders)),params:ze({},s()(n))}||{},a.next=5,e.get(t.urlPath,o);case 5:if(!(i=a.sent).data){a.next=10;break}return a.abrupt("return",new y(i,e,t.stackHeaders,qe));case 10:throw x(i);case 11:a.next=16;break;case 13:a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[1,13]])})))),this}function qe(e,t,a){return(s()(t.items)||[]).map((function(n){return new Re(e,{releaseUid:a,item:n,stackHeaders:t.stackHeaders})}))}function He(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Te(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/releases",a.release?(Object.assign(this,s()(a.release)),a.release.items&&(this.items=new qe(e,{items:a.release.items,stackHeaders:a.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=z(e,"release"),this.fetch=q(e,"release"),this.delete=R(e),this.item=function(){return new Re(e,{releaseUid:t.uid,stackHeaders:t.stackHeaders})},this.deploy=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p,u,l;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.environments,i=n.locales,r=n.scheduledAt,c=n.action,p={environments:o,locales:i,scheduledAt:r,action:c},u={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=a.sent).data){a.next=11;break}return a.abrupt("return",l.data);case 11:throw x(l);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.clone=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.name,i=n.description,r={name:o,description:i},c={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/clone"),{release:r},c);case 6:if(!(p=a.sent).data){a.next=11;break}return a.abrupt("return",new Fe(e,p.data));case 11:throw x(p);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:De})),this}function De(e,t){return(s()(t.releases)||[]).map((function(a){return new Fe(e,{release:a,stackHeaders:t.stackHeaders})}))}function Le(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ne(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/bulk",this.publish=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,i=n.skip_workflow_stage,r=void 0!==i&&i,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/publish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.unpublish=function(){var a=m()(h().mark((function a(n){var o,i,r,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,i=n.skip_workflow_stage,r=void 0!==i&&i,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),r&&(m.headers.skip_workflow_stage_check=r),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/unpublish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.delete=m()(h().mark((function a(){var n,o,i,r=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},o={},n.details&&(o=s()(n.details)),i={headers:Ne({},s()(t.stackHeaders))},a.abrupt("return",P(e,"/bulk/delete",o,i));case 5:case"end":return a.stop()}}),a)})))}function Be(e,t){this.stackHeaders=t.stackHeaders,this.urlPath="/labels",t.label?(Object.assign(this,s()(t.label)),this.urlPath="/labels/".concat(this.uid),this.update=z(e,"label"),this.delete=R(e),this.fetch=q(e,"label")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Ie}))}function Ie(e,t){return(s()(t.labels)||[]).map((function(a){return new Be(e,{label:a,stackHeaders:t.stackHeaders})}))}function Me(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function We(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.content_type={uid:t}),new X(e,n)},this.locale=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.locale={code:t}),new de(e,n)},this.asset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new pe(e,n)},this.globalField=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.global_field={uid:t}),new te(e,n)},this.environment=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.environment={name:t}),new re(e,n)},this.deliveryToken=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.token={uid:t}),new oe(e,n)},this.extension=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.extension={uid:t}),new xe(e,n)},this.workflow=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.workflow={uid:t}),new Ee(e,n)},this.webhook=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.webhook={uid:t}),new we(e,n)},this.label=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.label={uid:t}),new Be(e,n)},this.release=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.release={uid:t}),new Fe(e,n)},this.bulkOperation=function(){var t={stackHeaders:a.stackHeaders};return new Ue(e,t)},this.users=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a.urlPath,{params:{include_collaborators:!0},headers:We({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",G(e,n.data.stack));case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:We({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.settings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/settings"),{headers:We({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.resetSettings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:We({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.addSettings=m()(h().mark((function t(){var n,o,i=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},t.prev=1,t.next=4,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:We({},s()(a.stackHeaders))});case 4:if(!(o=t.sent).data){t.next=9;break}return t.abrupt("return",o.data.stack_settings);case 9:return t.abrupt("return",x(o));case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(1),t.abrupt("return",x(t.t0));case 15:case"end":return t.stop()}}),t,null,[[1,12]])}))),this.share=m()(h().mark((function t(){var n,o,i,r=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:[],o=r.length>1&&void 0!==r[1]?r[1]:{},t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/share"),{emails:n,roles:o},{headers:We({},s()(a.stackHeaders))});case 5:if(!(i=t.sent).data){t.next=10;break}return t.abrupt("return",i.data);case 10:return t.abrupt("return",x(i));case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",x(t.t0));case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),this.unShare=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/unshare"),{email:n},{headers:We({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.role=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.role={uid:t}),new F(e,n)}):(this.create=A({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=C({http:e,wrapperCollection:$e})),this}function $e(e,t){var a=t.stacks||[];return s()(a).map((function(t){return new Ge(e,{stack:t})}))}function Ve(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Je(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return t.post("/user-session",{user:e},{params:a}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(t.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new W(t,e.data)),e.data}),x)},logout:function(e){return void 0!==e?t.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):t.delete("/user-session").then((function(e){return t.defaults.headers.common&&delete t.defaults.headers.common.authtoken,delete t.defaults.headers.authtoken,delete t.httpClientParams.authtoken,delete t.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.get("/user",{params:e}).then((function(e){return new W(t,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=Je({},s()(e));return new Ge(t,{stack:a})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(t,null!==e?{organization:{uid:e}}:null)},axiosInstance:t}}var Qe=a(1362),Ye=a.n(Qe),Xe=a(903),Ze=a.n(Xe),et=a(5607),tt=a.n(et);function at(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function nt(e){for(var t=1;t0&&setTimeout((function(){e(a)}),a),new Promise((function(e){return setTimeout((function(){t.paused=!1;for(var e=0;et.config.retryLimit)return Promise.reject(r(e));if(t.config.retryDelayOptions)if(t.config.retryDelayOptions.customBackoff){if((c=t.config.retryDelayOptions.customBackoff(o,e))&&c<=0)return Promise.reject(r(e))}else t.config.retryDelayOptions.base&&(c=t.config.retryDelayOptions.base*o);else c=t.config.retryDelay;return e.config.retryCount=o,new Promise((function(t){return setTimeout((function(){return t(a(s(e,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(e,n,o){var i=e.config;return t.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==a&&void 0!==a.defaults&&(a.defaults.agent===i.agent&&delete i.agent,a.defaults.httpAgent===i.httpAgent&&delete i.httpAgent,a.defaults.httpsAgent===i.httpsAgent&&delete i.httpsAgent),i.data=c(i),i.transformRequest=[function(e){return e}],i},c=function(e){if(e.formdata){var t=e.formdata();return e.headers=nt(nt({},e.headers),t.getHeaders()),t}return e.data};this.interceptors.request=a.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=c(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var a=tt().CancelToken.source();e.cancelToken=a.token,e.source=a}return t.paused&&e.retryCount>0?new Promise((function(a){t.unshift({request:e,resolve:a})})):e.retryCount>0?e:new Promise((function(a){e.onComplete=function(){t.running.pop({request:e,resolve:a})},t.push({request:e,resolve:a})}))})),this.interceptors.response=a.interceptors.response.use(r,(function(e){var n=e.config.retryCount,o=null;if(!t.config.retryOnError||n>t.config.retryLimit)return Promise.reject(r(e));var c=t.config.retryDelay,p=e.response;if(p){if(429===p.status)return o="Error with status: ".concat(p.status),++n>t.config.retryLimit?Promise.reject(r(e)):(t.running.shift(),i(c),e.config.retryCount=n,a(s(e,o,c)))}else{if("ECONNABORTED"!==e.code)return Promise.reject(r(e));e.response=nt(nt({},e.response),{},{status:408,statusText:"timeout of ".concat(t.config.timeout,"ms exceeded")}),p=e.response}return t.config.retryCondition&&t.config.retryCondition(e)?(o=e.response?"Error with status: ".concat(p.status):"Error Code:".concat(e.code),n++,t.retry(e,o,n,c)):Promise.reject(r(e))}))}function rt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function st(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t={defaultHostName:"api.contentstack.io"},a="contentstack-management-javascript/".concat(i),n=l(a,e.application,e.integration,e.feature),o={"X-User-Agent":a,"User-Agent":n};e.authtoken&&(o.authtoken=e.authtoken),(e=ut(ut({},t),s()(e))).headers=ut(ut({},e.headers),o);var r=ct(e),c=Ke({http:r});return c}},2520:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},9087:e=>{function t(e,t,a,n,o,i,r){try{var s=e[i](r),c=s.value}catch(e){return void a(e)}s.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var a=this,n=arguments;return new Promise((function(o,i){var r=e.apply(a,n);function s(e){t(r,o,i,s,c,"next",e)}function c(e){t(r,o,i,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},1637:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},5213:e=>{e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},e.exports.default=e.exports,e.exports.__esModule=!0},8481:e=>{e.exports=function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,i=[],r=!0,s=!1;try{for(a=a.call(e);!(r=(n=a.next()).done)&&(i.push(n.value),!t||i.length!==t);r=!0);}catch(e){s=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(s)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},6743:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},1362:(e,t,a)=>{var n=a(5897),o=a(8481),i=a(4871),r=a(6743);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||r()},e.exports.default=e.exports,e.exports.__esModule=!0},5514:e=>{function t(a){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(a)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},4871:(e,t,a)=>{var n=a(2520);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},5843:(e,t,a)=>{e.exports=a(8041)},5863:(e,t,a)=>{e.exports={parallel:a(9977),serial:a(7709),serialOrdered:a(910)}},3296: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={}}},5021:(e,t,a)=>{var n=a(5393);e.exports=function(e){var t=!1;return n((function(){t=!0})),function(a,o){t?e(a,o):n((function(){e(a,o)}))}}},5393:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},5099:(e,t,a)=>{var n=a(5021),o=a(3296);e.exports=function(e,t,a,i){var r=a.keyedList?a.keyedList[a.index]:a.index;a.jobs[r]=function(e,t,a,o){return 2==e.length?e(a,n(o)):e(a,t,n(o))}(t,r,e[r],(function(e,t){r in a.jobs&&(delete a.jobs[r],e?o(a):a.results[r]=t,i(e,a.results))}))}},3929:e=>{e.exports=function(e,t){var a=!Array.isArray(e),n={index:0,keyedList:a||t?Object.keys(e):null,jobs:{},results:a?{}:[],size:a?Object.keys(e).length:e.length};return t&&n.keyedList.sort(a?t:function(a,n){return t(e[a],e[n])}),n}},4567:(e,t,a)=>{var n=a(3296),o=a(5021);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),o(e)(null,this.results))}},9977:(e,t,a)=>{var n=a(5099),o=a(3929),i=a(4567);e.exports=function(e,t,a){for(var r=o(e);r.index<(r.keyedList||e).length;)n(e,t,r,(function(e,t){e?a(e,t):0!==Object.keys(r.jobs).length||a(null,r.results)})),r.index++;return i.bind(r,a)}},7709:(e,t,a)=>{var n=a(910);e.exports=function(e,t,a){return n(e,t,null,a)}},910:(e,t,a)=>{var n=a(5099),o=a(3929),i=a(4567);function r(e,t){return et?1:0}e.exports=function(e,t,a,r){var s=o(e,a);return n(e,t,s,(function a(o,i){o?r(o,i):(s.index++,s.index<(s.keyedList||e).length?n(e,t,s,a):r(null,s.results))})),i.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,t){return-1*r(e,t)}},5607:(e,t,a)=>{e.exports=a(5353)},9e3:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),i=a(2314),r=a(8774),s=a(3685),c=a(5687),p=a(5572).http,u=a(5572).https,l=a(7310),d=a(9796),m=a(8593),f=a(8991),h=a(4418),x=/https:?/;function v(e,t,a){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=a,t.auth){var n=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+n}e.beforeRedirect=function(e){e.headers.host=e.host,v(e,t,e.href)}}e.exports=function(e){return new Promise((function(t,a){var b=function(e){t(e)},y=function(e){a(e)},g=e.data,w=e.headers;if("User-Agent"in w||"user-agent"in w?w["User-Agent"]||w["user-agent"]||(delete w["User-Agent"],delete w["user-agent"]):w["User-Agent"]="axios/"+m.version,g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return y(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}w["Content-Length"]=g.length}var k=void 0;e.auth&&(k=(e.auth.username||"")+":"+(e.auth.password||""));var j=i(e.baseURL,e.url),O=l.parse(j),_=O.protocol||"http:";if(!k&&O.auth){var S=O.auth.split(":");k=(S[0]||"")+":"+(S[1]||"")}k&&delete w.Authorization;var P=x.test(_),E=P?e.httpsAgent:e.httpAgent,A={path:r(O.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:w,agent:E,agents:{http:e.httpAgent,https:e.httpsAgent},auth:k};e.socketPath?A.socketPath=e.socketPath:(A.hostname=O.hostname,A.port=O.port);var C,z=e.proxy;if(!z&&!1!==z){var R=_.slice(0,-1)+"_proxy",q=process.env[R]||process.env[R.toUpperCase()];if(q){var H=l.parse(q),T=process.env.no_proxy||process.env.NO_PROXY,F=!0;if(T&&(F=!T.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||"."===e[0]&&O.hostname.substr(O.hostname.length-e.length)===e||O.hostname===e)}))),F&&(z={host:H.hostname,port:H.port,protocol:H.protocol},H.auth)){var D=H.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(A.headers.host=O.hostname+(O.port?":"+O.port:""),v(A,z,_+"//"+O.hostname+(O.port?":"+O.port:"")+A.path));var L=P&&(!z||x.test(z.protocol));e.transport?C=e.transport:0===e.maxRedirects?C=L?c:s:(e.maxRedirects&&(A.maxRedirects=e.maxRedirects),C=L?u:p),e.maxBodyLength>-1&&(A.maxBodyLength=e.maxBodyLength);var N=C.request(A,(function(t){if(!N.aborted){var a=t,i=t.req||N;if(204!==t.statusCode&&"HEAD"!==i.method&&!1!==e.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":a=a.pipe(d.createUnzip()),delete t.headers["content-encoding"]}var r={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:i};if("stream"===e.responseType)r.data=a,o(b,y,r);else{var s=[],c=0;a.on("data",(function(t){s.push(t),c+=t.length,e.maxContentLength>-1&&c>e.maxContentLength&&(a.destroy(),y(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,i)))})),a.on("error",(function(t){N.aborted||y(h(t,e,null,i))})),a.on("end",(function(){var t=Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=n.stripBOM(t))),r.data=t,o(b,y,r)}))}}}));if(N.on("error",(function(t){N.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||y(h(t,e,null,N))})),e.timeout){var U=parseInt(e.timeout,10);if(isNaN(U))return void y(f("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",N));N.setTimeout(U,(function(){N.abort(),y(f("timeout of "+U+"ms exceeded",e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",N))}))}e.cancelToken&&e.cancelToken.promise.then((function(e){N.aborted||(N.abort(),y(e))})),n.isStream(g)?g.on("error",(function(t){y(h(t,e,null,N))})).pipe(N):N.end(g)}))}},6156:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),i=a(9439),r=a(8774),s=a(2314),c=a(9229),p=a(7417),u=a(8991);e.exports=function(e){return new Promise((function(t,a){var l=e.data,d=e.headers,m=e.responseType;n.isFormData(l)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+x)}var v=s(e.baseURL,e.url);function b(){if(f){var n="getAllResponseHeaders"in f?c(f.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};o(t,a,i),f=null}}if(f.open(e.method.toUpperCase(),r(v,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,"onloadend"in f?f.onloadend=b:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(b)},f.onabort=function(){f&&(a(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){a(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),a(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var y=(e.withCredentials||p(v))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}"setRequestHeader"in f&&n.forEach(d,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),m&&"json"!==m&&(f.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),a(e),f=null)})),l||(l=null),f.send(l)}))}},5353:(e,t,a)=>{"use strict";var n=a(8114),o=a(5507),i=a(9080),r=a(532);function s(e){var t=new i(e),a=o(i.prototype.request,t);return n.extend(a,i.prototype,t),n.extend(a,t),a}var c=s(a(5786));c.Axios=i,c.create=function(e){return s(r(c.defaults,e))},c.Cancel=a(4183),c.CancelToken=a(637),c.isCancel=a(9234),c.all=function(e){return Promise.all(e)},c.spread=a(8620),c.isAxiosError=a(7816),e.exports=c,e.exports.default=c},4183: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},637:(e,t,a)=>{"use strict";var n=a(4183);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var a=this;e((function(e){a.reason||(a.reason=new n(e),t(a.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},9234:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},9080:(e,t,a)=>{"use strict";var n=a(8114),o=a(8774),i=a(7666),r=a(9659),s=a(532),c=a(639),p=c.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:p.transitional(p.boolean,"1.0.0"),forcedJSONParsing:p.transitional(p.boolean,"1.0.0"),clarifyTimeoutError:p.transitional(p.boolean,"1.0.0")},!1);var a=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var u=[r,void 0];for(Array.prototype.unshift.apply(u,a),u=u.concat(i),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var l=e;a.length;){var d=a.shift(),m=a.shift();try{l=d(l)}catch(e){m(e);break}}try{o=r(l)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,a){return this.request(s(a||{},{method:e,url:t,data:(a||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,a,n){return this.request(s(n||{},{method:e,url:t,data:a}))}})),e.exports=u},7666:(e,t,a)=>{"use strict";var n=a(8114);function o(){this.handlers=[]}o.prototype.use=function(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},2314:(e,t,a)=>{"use strict";var n=a(2483),o=a(8944);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},8991:(e,t,a)=>{"use strict";var n=a(4418);e.exports=function(e,t,a,o,i){var r=new Error(e);return n(r,t,a,o,i)}},9659:(e,t,a)=>{"use strict";var n=a(8114),o=a(2602),i=a(9234),r=a(5786);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||r.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4418:e=>{"use strict";e.exports=function(e,t,a,n,o){return e.config=t,a&&(e.code=a),e.request=n,e.response=o,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}},e}},532:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){t=t||{};var a={},o=["url","method","data"],i=["headers","auth","proxy","params"],r=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function p(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(a[e]=c(void 0,t[e]))})),n.forEach(i,p),n.forEach(r,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(void 0,t[o])})),n.forEach(s,(function(n){n in t?a[n]=c(e[n],t[n]):n in e&&(a[n]=c(void 0,e[n]))}));var u=o.concat(i).concat(r).concat(s),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return n.forEach(l,p),a}},5476:(e,t,a)=>{"use strict";var n=a(8991);e.exports=function(e,t,a){var o=a.config.validateStatus;a.status&&o&&!o(a.status)?t(n("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},2602:(e,t,a)=>{"use strict";var n=a(8114),o=a(5786);e.exports=function(e,t,a){var i=this||o;return n.forEach(a,(function(a){e=a.call(i,e,t)})),e}},5786:(e,t,a)=>{"use strict";var n=a(8114),o=a(678),i=a(4418),r={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,p={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?c=a(6156):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(c=a(9e3)),c),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,a){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,a=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,r=!a&&"json"===this.responseType;if(r||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(r){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, */*"}}};n.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){p.headers[e]=n.merge(r)})),e.exports=p},5507:e=>{"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),n=0;n{"use strict";var n=a(8114);function o(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,a){if(!t)return e;var i;if(a)i=a(t);else if(n.isURLSearchParams(t))i=t.toString();else{var r=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),r.push(o(t)+"="+o(e))})))})),i=r.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},8944:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9439:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,a,o,i,r){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(a)&&s.push("expires="+new Date(a).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===r&&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(){}}},2483:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7816:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(e){return"object"===t(e)&&!0===e.isAxiosError}},7417:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function o(e){var n=e;return t&&(a.setAttribute("href",n),n=a.href),a.setAttribute("href",n),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=o(window.location.href),function(t){var a=n.isString(t)?o(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return!0}},678:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){n.forEach(e,(function(a,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[n])}))}},9229:(e,t,a)=>{"use strict";var n=a(8114),o=["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,a,i,r={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),a=n.trim(e.substr(i+1)),t){if(r[t]&&o.indexOf(t)>=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([a]):r[t]?r[t]+", "+a:a}})),r):r}},8620:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},639:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(8593),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(a){return n(a)===e||"a"+(t<1?"n ":" ")+e}}));var r={},s=o.version.split(".");function c(e,t){for(var a=t?t.split("."):s,n=e.split("."),o=0;o<3;o++){if(a[o]>n[o])return!0;if(a[o]0;){var r=o[i],s=t[r];if(s){var c=e[r],p=void 0===c||s(c,r,e);if(!0!==p)throw new TypeError("option "+r+" must be "+p)}else if(!0!==a)throw Error("Unknown option "+r)}},validators:i}},8114:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(5507),i=Object.prototype.toString;function r(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===n(e)}function p(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!==n(e)&&(e=[e]),r(e))for(var a=0,o=e.length;a{"use strict";var n=a(459),o=a(5223),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var a=n(e,!!t);return"function"==typeof a&&i(e,".prototype.")>-1?o(a):a}},5223:(e,t,a)=>{"use strict";var n=a(3459),o=a(459),i=o("%Function.prototype.apply%"),r=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(r,i),c=o("%Object.getOwnPropertyDescriptor%",!0),p=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){var t=s(n,r,arguments);if(c&&p){var a=c(t,"length");a.configurable&&p(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var l=function(){return s(n,i,arguments)};p?p(e.exports,"apply",{value:l}):e.exports.apply=l},8670:(e,t,a)=>{var n=a(3837),o=a(2781).Stream,i=a(256);function r(){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=r,n.inherits(r,o),r.create=function(e){var t=new this;for(var a in e=e||{})t[a]=e[a];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.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},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.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)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},1820:e=>{function t(e){return t="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},t(e)}var a=1e3,n=60*a,o=60*n,i=24*o;function r(e,t,a,n){var o=t>=1.5*a;return Math.round(e/a)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var c,p,u=t(e);if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\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(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return r*i;case"hours":case"hour":case"hrs":case"hr":case"h":return r*o;case"minutes":case"minute":case"mins":case"min":case"m":return r*n;case"seconds":case"second":case"secs":case"sec":case"s":return r*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=i?r(c,p,i,"day"):p>=o?r(c,p,o,"hour"):p>=n?r(c,p,n,"minute"):p>=a?r(c,p,a,"second"):c+" ms"):function(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=n?Math.round(e/n)+"m":t>=a?Math.round(e/a)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},8682:(e,t,a)=>{var 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){var a="color: "+this.color;t.splice(1,0,a,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,a)}},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.destroy=(n=!1,function(){n||(n=!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||function(){},e.exports=a(3894)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3894:(e,t,a)=>{function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=a(8682):e.exports=a(6193)},6193:(e,t,a)=>{var n=a(6224),o=a(3837);t.init=function(e){e.inspectOpts={};for(var a=Object.keys(t.inspectOpts),n=0;n=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 a=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[a]=n,e}),{}),e.exports=a(3894)(t);var r=e.exports.formatters;r.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},256:(e,t,a)=>{var n=a(2781).Stream,o=a(3837);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,o.inherits(i,n),i.create=function(e,t){var a=new this;for(var n in t=t||{})a[n]=t[n];a.source=e;var o=e.emit;return e.emit=function(){return a._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),a.pauseStream&&e.pause(),a},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=n.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))}}},5600:(e,t,a)=>{var n;e.exports=function(){if(!n){try{n=a(987)("follow-redirects")}catch(e){}"function"!=typeof n&&(n=function(){})}n.apply(null,arguments)}},5572:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(7310),i=o.URL,r=a(3685),s=a(5687),c=a(2781).Writable,p=a(9491),u=a(5600),l=["abort","aborted","connect","error","socket","timeout"],d=Object.create(null);l.forEach((function(e){d[e]=function(t,a,n){this._redirectable.emit(e,t,a,n)}}));var m=k("ERR_FR_REDIRECTION_FAILURE",""),f=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),h=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),x=k("ERR_STREAM_WRITE_AFTER_END","write after end");function v(e,t){c.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 a=this;this._onNativeResponse=function(e){a._processResponse(e)},this._performRequest()}function b(e){var t={maxRedirects:21,maxBodyLength:10485760},a={};return Object.keys(e).forEach((function(n){var r=n+":",s=a[r]=e[n],c=t[n]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,n,s){if("string"==typeof e){var c=e;try{e=g(new i(c))}catch(t){e=o.parse(c)}}else i&&e instanceof i?e=g(e):(s=n,n=e,e={protocol:r});return"function"==typeof n&&(s=n,n=null),(n=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,n)).nativeProtocols=a,p.equal(n.protocol,r,"protocol mismatch"),u("options",n),new v(n,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,a){var n=c.request(e,t,a);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),t}function y(){}function g(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 a;for(var n in t)e.test(n)&&(a=t[n],delete t[n]);return a}function k(e,t){function a(e){Error.captureStackTrace(this,this.constructor),this.message=e||t}return a.prototype=new Error,a.prototype.constructor=a,a.prototype.name="Error ["+e+"]",a.prototype.code=e,a}function j(e){for(var t=0;t=300&&t<400){if(j(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new f);((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 n=w(/^host$/i,this._options.headers)||o.parse(this._currentUrl).hostname,i=o.resolve(this._currentUrl,a);u("redirecting to",i),this._isRedirect=!0;var r=o.parse(i);if(Object.assign(this._options,r),r.hostname!==n&&w(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new m("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=b({http:r,https:s}),e.exports.wrap=b},2876:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(8670),i=a(3837),r=a(1017),s=a(3685),c=a(5687),p=a(7310).parse,u=a(6231),l=a(5038),d=a(5863),m=a(3829);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,i.inherits(f,o),f.LINE_BREAK="\r\n",f.DEFAULT_CONTENT_TYPE="application/octet-stream",f.prototype.append=function(e,t,a){"string"==typeof(a=a||{})&&(a={filename:a});var n=o.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),i.isArray(t))this._error(new Error("Arrays are not supported."));else{var r=this._multiPartHeader(e,t,a),s=this._multiPartFooter();n(r),n(t),n(s),this._trackLength(r,t,a)}},f.prototype._trackLength=function(e,t,a){var n=0;null!=a.knownLength?n+=+a.knownLength:Buffer.isBuffer(t)?n=t.length:"string"==typeof t&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+f.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(a.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)):u.stat(e.path,(function(a,n){var o;a?t(a):(o=n.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(a){e.pause(),t(null,+a.headers["content-length"])})),e.resume()):t("Unknown stream")},f.prototype._multiPartHeader=function(e,t,a){if("string"==typeof a.header)return a.header;var o,i=this._getContentDisposition(t,a),r=this._getContentType(t,a),s="",c={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};for(var p in"object"==n(a.header)&&m(c,a.header),c)c.hasOwnProperty(p)&&null!=(o=c[p])&&(Array.isArray(o)||(o=[o]),o.length&&(s+=p+": "+o.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+s+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var a,n;return"string"==typeof t.filepath?a=r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?a=r.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=r.basename(e.client._httpMessage.path||"")),a&&(n='filename="'+a+'"'),n},f.prototype._getContentType=function(e,t){var a=t.contentType;return!a&&e.name&&(a=l.lookup(e.name)),!a&&e.path&&(a=l.lookup(e.path)),!a&&e.readable&&e.hasOwnProperty("httpVersion")&&(a=e.headers["content-type"]),a||!t.filepath&&!t.filename||(a=l.lookup(t.filepath||t.filename)),a||"object"!=n(e)||(a=f.DEFAULT_CONTENT_TYPE),a},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,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(a[t.toLowerCase()]=e[t]);return a},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(),a=0,n=this._streams.length;a{e.exports=function(e,t){return Object.keys(t).forEach((function(a){e[a]=e[a]||t[a]})),e}},5770:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",a=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var r,s=a.call(arguments,1),c=function(){if(this instanceof r){var t=i.apply(this,s.concat(a.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(a.call(arguments)))},p=Math.max(0,i.length-s.length),u=[],l=0;l{"use strict";var n=a(5770);e.exports=Function.prototype.bind||n},459:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o,i=SyntaxError,r=Function,s=TypeError,c=function(e){try{return r('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var u=function(){throw new s},l=p?function(){try{return u}catch(e){try{return p(arguments,"callee").get}catch(e){return u}}}():u,d=a(8681)(),m=Object.getPrototypeOf||function(e){return e.__proto__},f={},h="undefined"==typeof Uint8Array?o:m(Uint8Array),x={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":d?m([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%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%":r,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?m(m([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?m((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&&d?m((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?m(""[Symbol.iterator]()):o,"%Symbol%":d?Symbol:o,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":s,"%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},v=function e(t){var a;if("%AsyncFunction%"===t)a=c("async function () {}");else if("%GeneratorFunction%"===t)a=c("function* () {}");else if("%AsyncGeneratorFunction%"===t)a=c("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(a=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(a=m(o.prototype))}return x[t]=a,a},b={"%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"]},y=a(3459),g=a(8482),w=y.call(Function.call,Array.prototype.concat),k=y.call(Function.apply,Array.prototype.splice),j=y.call(Function.call,String.prototype.replace),O=y.call(Function.call,String.prototype.slice),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,P=function(e){var t=O(e,0,1),a=O(e,-1);if("%"===t&&"%"!==a)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===a&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,_,(function(e,t,a,o){n[n.length]=a?j(o,S,"$1"):t||e})),n},E=function(e,t){var a,n=e;if(g(b,n)&&(n="%"+(a=b[n])[0]+"%"),g(x,n)){var o=x[n];if(o===f&&(o=v(n)),void 0===o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');var a=P(e),n=a.length>0?a[0]:"",o=E("%"+n+"%",t),r=o.name,c=o.value,u=!1,l=o.alias;l&&(n=l[0],k(a,w([0,1],l)));for(var d=1,m=!0;d=a.length){var b=p(c,f);c=(m=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[f]}else m=g(c,f),c=c[f];m&&!u&&(x[r]=c)}}return c}},7222:e=>{"use strict";e.exports=function(e,t){t=t||process.argv;var a=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(a+e),o=t.indexOf("--");return-1!==n&&(-1===o||n{"use strict";function n(e){return n="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},n(e)}var o=global.Symbol,i=a(2636);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&i()}},2636:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===t(Symbol.iterator))return!0;var e={},a=Symbol("test"),n=Object(a);if("string"==typeof a)return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(a in e[a]=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]!==a)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,a))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,a);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},8482:(e,t,a)=>{"use strict";var n=a(3459);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(e,t,a)=>{var n=a(8842)(a(6378),"DataView");e.exports=n},9985:(e,t,a)=>{var n=a(4494),o=a(8002),i=a(6984),r=a(9930),s=a(1556);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(4160),o=a(4389),i=a(1710),r=a(4102),s=a(8594);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Map");e.exports=n},3648:(e,t,a)=>{var n=a(6518),o=a(7734),i=a(9781),r=a(7318),s=a(3882);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Promise");e.exports=n},658:(e,t,a)=>{var n=a(8842)(a(6378),"Set");e.exports=n},9306:(e,t,a)=>{var n=a(4619),o=a(1511),i=a(9931),r=a(875),s=a(2603),c=a(3926);function p(e){var t=this.__data__=new n(e);this.size=t.size}p.prototype.clear=o,p.prototype.delete=i,p.prototype.get=r,p.prototype.has=s,p.prototype.set=c,e.exports=p},698:(e,t,a)=>{var n=a(6378).Symbol;e.exports=n},7474:(e,t,a)=>{var n=a(6378).Uint8Array;e.exports=n},4592:(e,t,a)=>{var n=a(8842)(a(6378),"WeakMap");e.exports=n},6878:e=>{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length;++a{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length,o=0,i=[];++a{var n=a(2916),o=a(9028),i=a(1380),r=a(6288),s=a(9345),c=a(3634),p=Object.prototype.hasOwnProperty;e.exports=function(e,t){var a=i(e),u=!a&&o(e),l=!a&&!u&&r(e),d=!a&&!u&&!l&&c(e),m=a||u||l||d,f=m?n(e.length,String):[],h=f.length;for(var x in e)!t&&!p.call(e,x)||m&&("length"==x||l&&("offset"==x||"parent"==x)||d&&("buffer"==x||"byteLength"==x||"byteOffset"==x)||s(x,h))||f.push(x);return f}},1659:e=>{e.exports=function(e,t){for(var a=-1,n=t.length,o=e.length;++a{var n=a(9372),o=a(5032),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,a){var r=e[t];i.call(e,t)&&o(r,a)&&(void 0!==a||t in e)||n(e,t,a)}},1694:(e,t,a)=>{var n=a(5032);e.exports=function(e,t){for(var a=e.length;a--;)if(n(e[a][0],t))return a;return-1}},7784:(e,t,a)=>{var n=a(1893),o=a(19);e.exports=function(e,t){return e&&n(t,o(t),e)}},4741:(e,t,a)=>{var n=a(1893),o=a(5168);e.exports=function(e,t){return e&&n(t,o(t),e)}},9372:(e,t,a)=>{var n=a(2626);e.exports=function(e,t,a){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}},3546:(e,t,a)=>{var n=a(9306),o=a(6878),i=a(8936),r=a(7784),s=a(4741),c=a(2037),p=a(6947),u=a(696),l=a(9193),d=a(2645),m=a(1391),f=a(1863),h=a(1208),x=a(2428),v=a(9662),b=a(1380),y=a(6288),g=a(3718),w=a(9294),k=a(4496),j=a(19),O=a(5168),_="[object Arguments]",S="[object Function]",P="[object Object]",E={};E[_]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E[P]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E[S]=E["[object WeakMap]"]=!1,e.exports=function e(t,a,A,C,z,R){var q,H=1&a,T=2&a,F=4&a;if(A&&(q=z?A(t,C,z,R):A(t)),void 0!==q)return q;if(!w(t))return t;var D=b(t);if(D){if(q=h(t),!H)return p(t,q)}else{var L=f(t),N=L==S||"[object GeneratorFunction]"==L;if(y(t))return c(t,H);if(L==P||L==_||N&&!z){if(q=T||N?{}:v(t),!H)return T?l(t,s(q,t)):u(t,r(q,t))}else{if(!E[L])return z?t:{};q=x(t,L,H)}}R||(R=new n);var U=R.get(t);if(U)return U;R.set(t,q),k(t)?t.forEach((function(n){q.add(e(n,a,A,n,t,R))})):g(t)&&t.forEach((function(n,o){q.set(o,e(n,a,A,o,t,R))}));var B=D?void 0:(F?T?m:d:T?O:j)(t);return o(B||t,(function(n,o){B&&(n=t[o=n]),i(q,o,e(n,a,A,o,t,R))})),q}},1843:(e,t,a)=>{var n=a(9294),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}();e.exports=i},523:(e,t,a)=>{var n=a(1659),o=a(1380);e.exports=function(e,t,a){var i=t(e);return o(e)?i:n(i,a(e))}},5822:(e,t,a)=>{var n=a(698),o=a(7389),i=a(5891),r=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?o(e):i(e)}},1325:(e,t,a)=>{var n=a(5822),o=a(9730);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},5959:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},517:(e,t,a)=>{var n=a(3081),o=a(2674),i=a(9294),r=a(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(r(e))}},5534:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},6750:(e,t,a)=>{var n=a(5822),o=a(4509),i=a(9730),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!r[n(e)]}},3148:(e,t,a)=>{var n=a(2053),o=a(2901),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var a in Object(e))i.call(e,a)&&"constructor"!=a&&t.push(a);return t}},3864:(e,t,a)=>{var n=a(9294),o=a(2053),i=a(476),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),a=[];for(var s in e)("constructor"!=s||!t&&r.call(e,s))&&a.push(s);return a}},2916:e=>{e.exports=function(e,t){for(var a=-1,n=Array(e);++a{e.exports=function(e){return function(t){return e(t)}}},4033:(e,t,a)=>{var n=a(7474);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},2037:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),i="object"==n(t)&&t&&!t.nodeType&&t,r=i&&"object"==n(e)&&e&&!e.nodeType&&e,s=r&&r.exports===i?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var a=e.length,n=c?c(a):new e.constructor(a);return e.copy(n),n}},3412:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}},7245:e=>{var t=/\w*$/;e.exports=function(e){var a=new e.constructor(e.source,t.exec(e));return a.lastIndex=e.lastIndex,a}},4683:(e,t,a)=>{var n=a(698),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},6985:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}},6947:e=>{e.exports=function(e,t){var a=-1,n=e.length;for(t||(t=Array(n));++a{var n=a(8936),o=a(9372);e.exports=function(e,t,a,i){var r=!a;a||(a={});for(var s=-1,c=t.length;++s{var n=a(1893),o=a(1399);e.exports=function(e,t){return n(e,o(e),t)}},9193:(e,t,a)=>{var n=a(1893),o=a(5716);e.exports=function(e,t){return n(e,o(e),t)}},1006:(e,t,a)=>{var n=a(6378)["__core-js_shared__"];e.exports=n},2626:(e,t,a)=>{var n=a(8842),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},4482:e=>{function t(e){return t="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},t(e)}var a="object"==("undefined"==typeof global?"undefined":t(global))&&global&&global.Object===Object&&global;e.exports=a},2645:(e,t,a)=>{var n=a(523),o=a(1399),i=a(19);e.exports=function(e){return n(e,i,o)}},1391:(e,t,a)=>{var n=a(523),o=a(5716),i=a(5168);e.exports=function(e){return n(e,i,o)}},320:(e,t,a)=>{var n=a(8474);e.exports=function(e,t){var a=e.__data__;return n(t)?a["string"==typeof t?"string":"hash"]:a.map}},8842:(e,t,a)=>{var n=a(517),o=a(6930);e.exports=function(e,t){var a=o(e,t);return n(a)?a:void 0}},7109:(e,t,a)=>{var n=a(839)(Object.getPrototypeOf,Object);e.exports=n},7389:(e,t,a)=>{var n=a(698),o=Object.prototype,i=o.hasOwnProperty,r=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),a=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=r.call(e);return n&&(t?e[s]=a:delete e[s]),o}},1399:(e,t,a)=>{var n=a(9501),o=a(4959),i=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,s=r?function(e){return null==e?[]:(e=Object(e),n(r(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},5716:(e,t,a)=>{var n=a(1659),o=a(7109),i=a(1399),r=a(4959),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:r;e.exports=s},1863:(e,t,a)=>{var n=a(1833),o=a(5914),i=a(9180),r=a(658),s=a(4592),c=a(5822),p=a(110),u="[object Map]",l="[object Promise]",d="[object Set]",m="[object WeakMap]",f="[object DataView]",h=p(n),x=p(o),v=p(i),b=p(r),y=p(s),g=c;(n&&g(new n(new ArrayBuffer(1)))!=f||o&&g(new o)!=u||i&&g(i.resolve())!=l||r&&g(new r)!=d||s&&g(new s)!=m)&&(g=function(e){var t=c(e),a="[object Object]"==t?e.constructor:void 0,n=a?p(a):"";if(n)switch(n){case h:return f;case x:return u;case v:return l;case b:return d;case y:return m}return t}),e.exports=g},6930:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},4494:(e,t,a)=>{var n=a(1303);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6984:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return o.call(t,e)?t[e]:void 0}},9930:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},1556:(e,t,a)=>{var n=a(1303);e.exports=function(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},1208:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var a=e.length,n=new e.constructor(a);return a&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},2428:(e,t,a)=>{var n=a(4033),o=a(3412),i=a(7245),r=a(4683),s=a(6985);e.exports=function(e,t,a){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,a);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,a);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return i(e);case"[object Symbol]":return r(e)}}},9662:(e,t,a)=>{var n=a(1843),o=a(7109),i=a(2053);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},9345:e=>{function t(e){return t="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},t(e)}var a=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=t(e);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&a.test(e))&&e>-1&&e%1==0&&e{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==e:null===e}},2674:(e,t,a)=>{var n,o=a(1006),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},2053:e=>{var t=Object.prototype;e.exports=function(e){var a=e&&e.constructor;return e===("function"==typeof a&&a.prototype||t)}},4160:e=>{e.exports=function(){this.__data__=[],this.size=0}},4389:(e,t,a)=>{var n=a(1694),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,a=n(t,e);return!(a<0||(a==t.length-1?t.pop():o.call(t,a,1),--this.size,0))}},1710:(e,t,a)=>{var n=a(1694);e.exports=function(e){var t=this.__data__,a=n(t,e);return a<0?void 0:t[a][1]}},4102:(e,t,a)=>{var n=a(1694);e.exports=function(e){return n(this.__data__,e)>-1}},8594:(e,t,a)=>{var n=a(1694);e.exports=function(e,t){var a=this.__data__,o=n(a,e);return o<0?(++this.size,a.push([e,t])):a[o][1]=t,this}},6518:(e,t,a)=>{var n=a(9985),o=a(4619),i=a(5914);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},7734:(e,t,a)=>{var n=a(320);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},9781:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).get(e)}},7318:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).has(e)}},3882:(e,t,a)=>{var n=a(320);e.exports=function(e,t){var a=n(this,e),o=a.size;return a.set(e,t),this.size+=a.size==o?0:1,this}},1303:(e,t,a)=>{var n=a(8842)(Object,"create");e.exports=n},2901:(e,t,a)=>{var n=a(839)(Object.keys,Object);e.exports=n},476:e=>{e.exports=function(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}},7873:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(4482),i="object"==n(t)&&t&&!t.nodeType&&t,r=i&&"object"==n(e)&&e&&!e.nodeType&&e,s=r&&r.exports===i&&o.process,c=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=c},5891:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},839:e=>{e.exports=function(e,t){return function(a){return e(t(a))}}},6378:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(4482),i="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},1511:(e,t,a)=>{var n=a(4619);e.exports=function(){this.__data__=new n,this.size=0}},9931:e=>{e.exports=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}},875:e=>{e.exports=function(e){return this.__data__.get(e)}},2603:e=>{e.exports=function(e){return this.__data__.has(e)}},3926:(e,t,a)=>{var n=a(4619),o=a(5914),i=a(3648);e.exports=function(e,t){var a=this.__data__;if(a instanceof n){var r=a.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++a.size,this;a=this.__data__=new i(r)}return a.set(e,t),this.size=a.size,this}},110:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7780:(e,t,a)=>{var n=a(3546);e.exports=function(e){return n(e,5)}},5032:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9028:(e,t,a)=>{var n=a(1325),o=a(9730),i=Object.prototype,r=i.hasOwnProperty,s=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&r.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1380:e=>{var t=Array.isArray;e.exports=t},6214:(e,t,a)=>{var n=a(3081),o=a(4509);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},6288:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),i=a(6408),r="object"==n(t)&&t&&!t.nodeType&&t,s=r&&"object"==n(e)&&e&&!e.nodeType&&e,c=s&&s.exports===r?o.Buffer:void 0,p=(c?c.isBuffer:void 0)||i;e.exports=p},3081:(e,t,a)=>{var n=a(5822),o=a(9294);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4509:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3718:(e,t,a)=>{var n=a(5959),o=a(3184),i=a(7873),r=i&&i.isMap,s=r?o(r):n;e.exports=s},9294:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return null!=e&&("object"==a||"function"==a)}},9730:e=>{function t(e){return t="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},t(e)}e.exports=function(e){return null!=e&&"object"==t(e)}},4496:(e,t,a)=>{var n=a(5534),o=a(3184),i=a(7873),r=i&&i.isSet,s=r?o(r):n;e.exports=s},3634:(e,t,a)=>{var n=a(6750),o=a(3184),i=a(7873),r=i&&i.isTypedArray,s=r?o(r):n;e.exports=s},19:(e,t,a)=>{var n=a(1832),o=a(3148),i=a(6214);e.exports=function(e){return i(e)?n(e):o(e)}},5168:(e,t,a)=>{var n=a(1832),o=a(3864),i=a(6214);e.exports=function(e){return i(e)?n(e,!0):o(e)}},4959:e=>{e.exports=function(){return[]}},6408:e=>{e.exports=function(){return!1}},5718:(e,t,a)=>{e.exports=a(3765)},5038:(e,t,a)=>{"use strict";var n,o,i,r=a(5718),s=a(1017).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),a=t&&r[t[1].toLowerCase()];return a&&a.charset?a.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var a=-1===e.indexOf("/")?t.lookup(e):e;if(!a)return!1;if(-1===a.indexOf("charset")){var n=t.charset(a);n&&(a+="; charset="+n.toLowerCase())}return a},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var a=c.exec(e),n=a&&t.extensions[a[1].toLowerCase()];return!(!n||!n.length)&&n[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var a=s("x."+e).toLowerCase().substr(1);return a&&t.types[a]||!1},t.types=Object.create(null),n=t.extensions,o=t.types,i=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var t=r[e],a=t.extensions;if(a&&a.length){n[e]=a;for(var s=0;su||p===u&&"application/"===o[c].substr(0,12)))continue}o[c]=e}}}))},266:e=>{"use strict";var t=String.prototype.replace,a=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},903:(e,t,a)=>{"use strict";var n=a(4479),o=a(7877),i=a(266);e.exports={formats:i,parse:o,stringify:n}},7877:(e,t,a)=>{"use strict";var n=a(1640),o=Object.prototype.hasOwnProperty,i=Array.isArray,r={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,t,a,n){if(e){var i=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,r=/(\[[^[\]]*])/g,s=a.depth>0&&/(\[[^[\]]*])/.exec(i),p=s?i.slice(0,s.index):i,u=[];if(p){if(!a.plainObjects&&o.call(Object.prototype,p)&&!a.allowPrototypes)return;u.push(p)}for(var l=0;a.depth>0&&null!==(s=r.exec(i))&&l=0;--i){var r,s=e[i];if("[]"===s&&a.parseArrays)r=[].concat(o);else{r=a.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);a.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&a.parseArrays&&u<=a.arrayLimit?(r=[])[u]=o:r[p]=o:r={0:o}}o=r}return o}(u,t,a,n)}};e.exports=function(e,t){var a=function(e){if(!e)return r;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?r.charset:e.charset;return{allowDots:void 0===e.allowDots?r.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:r.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling}}(t);if(""===e||null==e)return a.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var a,p={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,l),m=-1,f=t.charset;if(t.charsetSentinel)for(a=0;a-1&&(x=i(x)?[x]:x),o.call(p,h)?p[h]=n.combine(p[h],x):p[h]=x}return p}(e,a):e,l=a.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m{"use strict";function n(e){return n="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},n(e)}var o=a(3796),i=a(1640),r=a(266),s=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},p=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,p(t)?t:[t])},d=Date.prototype.toISOString,m=r.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:m,formatter:r.formatters[m],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h=function e(t,a,r,s,c,u,d,m,h,x,v,b,y,g,w){var k,j=t;if(w.has(t))throw new RangeError("Cyclic object value");if("function"==typeof d?j=d(a,j):j instanceof Date?j=x(j):"comma"===r&&p(j)&&(j=i.maybeMap(j,(function(e){return e instanceof Date?x(e):e}))),null===j){if(s)return u&&!y?u(a,f.encoder,g,"key",v):a;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||i.isBuffer(j))return u?[b(y?a:u(a,f.encoder,g,"key",v))+"="+b(u(j,f.encoder,g,"value",v))]:[b(a)+"="+b(String(j))];var O,_=[];if(void 0===j)return _;if("comma"===r&&p(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(p(d))O=d;else{var S=Object.keys(j);O=m?S.sort(m):S}for(var P=0;P0?w+g:""}},1640:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(266),i=Object.prototype.hasOwnProperty,r=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var a=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),a=t.obj[t.prop];if(r(a)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||r===o.RFC1738&&(40===l||41===l)?p+=c.charAt(u):l<128?p+=s[l]:l<2048?p+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?p+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),p+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return p},isBuffer:function(e){return!(!e||"object"!==n(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(r(e)){for(var a=[],n=0;n{function n(e){return n="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},n(e)}var o=function(e){"use strict";var t,a=Object.prototype,o=a.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function p(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,a){return e[t]=a}}function u(e,t,a,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),r=new A(n||[]);return i._invoke=function(e,t,a){var n=d;return function(o,i){if(n===f)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return z()}for(a.method=o,a.arg=i;;){var r=a.delegate;if(r){var s=S(r,a);if(s){if(s===x)continue;return s}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===d)throw n=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=f;var c=l(e,t,a);if("normal"===c.type){if(n=a.done?h:m,c.arg===x)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(n=h,a.method="throw",a.arg=c.arg)}}}(e,a,r),i}function l(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",m="suspendedYield",f="executing",h="completed",x={};function v(){}function b(){}function y(){}var g={};p(g,r,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(C([])));k&&k!==a&&o.call(k,r)&&(g=k);var j=y.prototype=v.prototype=Object.create(g);function O(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function a(i,r,s,c){var p=l(e[i],e,r);if("throw"!==p.type){var u=p.arg,d=u.value;return d&&"object"===n(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){a("next",e,s,c)}),(function(e){a("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return a("throw",e,s,c)}))}c(p.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,o){a(e,n,t,o)}))}return i=i?i.then(o,o):o()}}function S(e,a){var n=e.iterator[a.method];if(n===t){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=t,S(e,a),"throw"===a.method))return x;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return x}var o=l(n,e.iterator,a.arg);if("throw"===o.type)return a.method="throw",a.arg=o.arg,a.delegate=null,x;var i=o.arg;return i?i.done?(a[e.resultName]=i.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,x):i:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,x)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function C(e){if(e){var a=e[r];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function a(){for(;++n=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=o.call(r,"catchLoc"),p=o.call(r,"finallyLoc");if(c&&p){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),E(a),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var o=n.arg;E(a)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,n){return this.delegate={iterator:C(e),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=t),x}},e}("object"===n(e=a.nmd(e))?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(459),i=a(2639),r=a(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),p=o("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),m=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),x=function(e,t){for(var a,n=e;null!==(a=n.next);n=a)if(a.key===t)return n.next=a.next,a.next=e.next,e.next=a,a};e.exports=function(){var e,t,a,o={assert:function(e){if(!o.has(e))throw new s("Side channel does not contain "+r(e))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return u(e,o)}else if(p){if(t)return m(t,o)}else if(a)return function(e,t){var a=x(e,t);return a&&a.value}(a,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return d(e,o)}else if(p){if(t)return h(t,o)}else if(a)return function(e,t){return!!x(e,t)}(a,o);return!1},set:function(o,i){c&&o&&("object"===n(o)||"function"==typeof o)?(e||(e=new c),l(e,o,i)):p?(t||(t=new p),f(t,o,i)):(a||(a={key:{},next:null}),function(e,t,a){var n=x(e,t);n?n.value=a:e.next={key:t,next:e.next,value:a}}(a,o,i))}};return o}},4562:(e,t,a)=>{function n(e){return n="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},n(e)}var o="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=o&&i&&"function"==typeof i.get?i.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&p&&"function"==typeof p.get?p.get:null,l=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,x=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,y="function"==typeof BigInt?BigInt.prototype.valueOf:null,g=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),_=a(7075).custom,S=_&&z(_)?_:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function E(e,t,a){var n="double"===(a.quoteStyle||t)?'"':"'";return n+e+n}function A(e){return String(e).replace(/"/g,""")}function C(e){return!("[object Array]"!==H(e)||P&&"object"===n(e)&&P in e)}function z(e){if(k)return e&&"object"===n(e)&&e instanceof Symbol;if("symbol"===n(e))return!0;if(!e||"object"!==n(e)||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}e.exports=function e(t,a,o,i){var c=a||{};if(q(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=!q(c,"customInspect")||c.customInspect;if("boolean"!=typeof p&&"symbol"!==p)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return F(t,c);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var x=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=x&&x>0&&"object"===n(t))return C(t)?"[Array]":"[Object]";var g,j=function(e,t){var a;if("\t"===e.indent)a="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;a=Array(e.indent+1).join(" ")}return{base:a,prev:Array(t+1).join(a)}}(c,o);if(void 0===i)i=[];else if(T(i,t)>=0)return"[Circular]";function _(t,a,n){if(a&&(i=i.slice()).push(a),n){var r={depth:c.depth};return q(c,"quoteStyle")&&(r.quoteStyle=c.quoteStyle),e(t,r,o+1,i)}return e(t,c,o+1,i)}if("function"==typeof t){var R=function(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),D=I(t,_);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(D.length>0?" { "+D.join(", ")+" }":"")}if(z(t)){var M=k?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(t);return"object"!==n(t)||k?M:L(M)}if((g=t)&&"object"===n(g)&&("undefined"!=typeof HTMLElement&&g instanceof HTMLElement||"string"==typeof g.nodeName&&"function"==typeof g.getAttribute)){for(var W="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],$=0;$"}if(C(t)){if(0===t.length)return"[]";var V=I(t,_);return j&&!function(e){for(var t=0;t=0)return!1;return!0}(V)?"["+B(V,j)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||P&&"object"===n(e)&&P in e)}(t)){var J=I(t,_);return 0===J.length?"["+String(t)+"]":"{ ["+String(t)+"] "+J.join(", ")+" }"}if("object"===n(t)&&p){if(S&&"function"==typeof t[S])return t[S]();if("symbol"!==p&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!==n(e))return!1;try{r.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var K=[];return s.call(t,(function(e,a){K.push(_(a,t,!0)+" => "+_(e,t))})),U("Map",r.call(t),K,j)}if(function(e){if(!u||!e||"object"!==n(e))return!1;try{u.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var Q=[];return l.call(t,(function(e){Q.push(_(e,t))})),U("Set",u.call(t),Q,j)}if(function(e){if(!d||!e||"object"!==n(e))return!1;try{d.call(e,d);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return N("WeakMap");if(function(e){if(!m||!e||"object"!==n(e))return!1;try{m.call(e,m);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return N("WeakSet");if(function(e){if(!f||!e||"object"!==n(e))return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return N("WeakRef");if(function(e){return!("[object Number]"!==H(e)||P&&"object"===n(e)&&P in e)}(t))return L(_(Number(t)));if(function(e){if(!e||"object"!==n(e)||!y)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return L(_(y.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||P&&"object"===n(e)&&P in e)}(t))return L(h.call(t));if(function(e){return!("[object String]"!==H(e)||P&&"object"===n(e)&&P in e)}(t))return L(_(String(t)));if(!function(e){return!("[object Date]"!==H(e)||P&&"object"===n(e)&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==H(e)||P&&"object"===n(e)&&P in e)}(t)){var Y=I(t,_),X=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,Z=t instanceof Object?"":"null prototype",ee=!X&&P&&Object(t)===t&&P in t?H(t).slice(8,-1):Z?"Object":"",te=(X||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ee||Z?"["+[].concat(ee||[],Z||[]).join(": ")+"] ":"");return 0===Y.length?te+"{}":j?te+"{"+B(Y,j)+"}":te+"{ "+Y.join(", ")+" }"}return String(t)};var R=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return R.call(e,t)}function H(e){return x.call(e)}function T(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,n=e.length;at.maxStringLength){var a=e.length-t.maxStringLength,n="... "+a+" more character"+(a>1?"s":"");return F(e.slice(0,t.maxStringLength),t)+n}return E(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,D),"single",t)}function D(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function L(e){return"Object("+e+")"}function N(e){return e+" { ? }"}function U(e,t,a,n){return e+" ("+t+") {"+(n?B(a,n):a.join(", "))+"}"}function B(e,t){if(0===e.length)return"";var a="\n"+t.prev+t.base;return a+e.join(","+a)+"\n"+t.prev}function I(e,t){var a=C(e),n=[];if(a){n.length=e.length;for(var o=0;o{e.exports=a(3837).inspect},346:(e,t,a)=>{"use strict";var n,o=a(9563),i=a(7222),r=process.env;function s(e){var t=function(e){if(!1===n)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==n)return 0;var t=n?1:0;if("win32"===process.platform){var a=o.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:t;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){var s=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:(r.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}i("no-color")||i("no-colors")||i("color=false")?n=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(n=!0),"FORCE_COLOR"in r&&(n=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},6231:e=>{"use strict";e.exports=require("fs")},9491:e=>{"use strict";e.exports=require("assert")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},9563:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},8593:e=>{"use strict";e.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')},3765: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/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/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/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},"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/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/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":{"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},"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/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/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/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"},"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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"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.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.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.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.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.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.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.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.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.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.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.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.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},"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-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"},"image/avcs":{"source":"iana"},"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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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/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.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/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/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}}')}},t={};function a(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n](i,i.exports,a),i.loaded=!0,i.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n=a(6005);module.exports=n})(); \ No newline at end of file diff --git a/dist/react-native/contentstack-management.js b/dist/react-native/contentstack-management.js index e36447f6..89fd1929 100644 --- a/dist/react-native/contentstack-management.js +++ b/dist/react-native/contentstack-management.js @@ -1 +1 @@ -(()=>{var t={3785:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>se});const o="1.2.4";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,N(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},E=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,N(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},H=function(t){return f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},i()(this.stackHeaders)),params:k({},i()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,N(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function N(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=E(t,"role"),this.delete=H(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,zt));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,I)}function I(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=E(t,"content_type"),this.delete=H(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=E(t,"global_field"),this.delete=H(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=E(t,"token"),this.delete=H(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=E(t,"environment"),this.delete=H(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=E(t,"locale"),this.delete=H(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=E(t,"extension"),this.delete=H(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=E(t,"webhook"),this.delete=H(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,N(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=E(t,"publishing_rule"),this.delete=H(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,kt))}function kt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=E(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=H(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,kt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Nt(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Nt(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Ht));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=E(t,"release"),this.fetch=D(t,"release"),this.delete=H(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Nt(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Ct})),this}function Ct(t,e){return(i()(e.releases)||[]).map((function(r){return new Nt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=E(t,"label"),this.delete=H(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:It}))}function It(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Nt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Mt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Mt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Gt({},i()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=Zt(Zt({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Xt().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=Zt(Zt({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=ie(ie({},e),i()(t))).headers=ie(ie({},t.headers),a);var s=oe(t),c=Vt({http:s});return c}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),x=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],k(r,x([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),x=r(9294),k=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,E,H,D,R){var N,C=1&r,T=2&r,U=4&r;if(E&&(N=D?E(e,H,D,R):E(e)),void 0!==N)return N;if(!x(e))return e;var L=m(e);if(L){if(N=y(e),!C)return u(e,N)}else{var F=d(e),I=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,C);if(F==_||F==S||I&&!D){if(N=T||I?{}:v(e),!C)return T?l(e,s(N,e)):p(e,i(N,e))}else{if(!A[F])return D?e:{};N=b(e,F,C)}}R||(R=new n);var q=R.get(e);if(q)return q;R.set(e,N),k(e)?e.forEach((function(n){N.add(t(n,r,E,n,e,R))})):w(e)&&e.forEach((function(n,o){N.set(o,t(n,r,E,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(N,o,t(n,r,E,o,e,R))})),N}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,l=function(t,e){p.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,f,h,y,b,v,m,g,w,x){var k,j=e;if(x.has(e))throw new RangeError("Cyclic object value");if("function"==typeof f?j=f(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,S=[];if(void 0===j)return S;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(f))O=f;else{var P=Object.keys(j);O=h?P.sort(h):P}for(var _=0;_0?x+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(H([])));k&&k!==r&&o.call(k,i)&&(w=k);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function H(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:H(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),S=r(7165).custom,P=S&&D(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==C(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(N(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!N(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function S(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return N(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,S);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var J=B(e,S);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,S);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(S(r,e,!0)+" => "+S(t,e))})),q("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(S(t,e))})),q("Set",p.call(e),K,j)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return I("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return I("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return I("WeakRef");if(function(t){return!("[object Number]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(S(g.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(String(e)));if(!function(t){return!("[object Date]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,S),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?C(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function N(t,e){return R.call(t,e)}function C(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function I(t){return t+" { ? }"}function q(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#USER","/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(3785);module.exports=n})(); \ No newline at end of file +(()=>{var t={3785:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>se});const o="1.2.4";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,N(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},E=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,N(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},H=function(t){return f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},i()(this.stackHeaders)),params:k({},i()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,N(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function N(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=E(t,"role"),this.delete=H(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,zt));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,I)}function I(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=E(t,"content_type"),this.delete=H(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=E(t,"global_field"),this.delete=H(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=E(t,"token"),this.delete=H(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=E(t,"environment"),this.delete=H(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=E(t,"locale"),this.delete=H(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=E(t,"extension"),this.delete=H(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=E(t,"webhook"),this.delete=H(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,N(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=E(t,"publishing_rule"),this.delete=H(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,kt))}function kt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=E(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=H(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,kt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Nt(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Nt(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Ht));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=E(t,"release"),this.fetch=D(t,"release"),this.delete=H(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Nt(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Ct})),this}function Ct(t,e){return(i()(e.releases)||[]).map((function(r){return new Nt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=E(t,"label"),this.delete=H(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:It}))}function It(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Nt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Mt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Mt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Gt({},i()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=Zt(Zt({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Xt().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=Zt(Zt({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=ie(ie({},e),i()(t))).headers=ie(ie({},t.headers),a);var s=oe(t),c=Vt({http:s});return c}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),x=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],k(r,x([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),x=r(9294),k=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,E,H,D,R){var N,C=1&r,T=2&r,U=4&r;if(E&&(N=D?E(e,H,D,R):E(e)),void 0!==N)return N;if(!x(e))return e;var L=m(e);if(L){if(N=y(e),!C)return u(e,N)}else{var F=d(e),I=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,C);if(F==_||F==S||I&&!D){if(N=T||I?{}:v(e),!C)return T?l(e,s(N,e)):p(e,i(N,e))}else{if(!A[F])return D?e:{};N=b(e,F,C)}}R||(R=new n);var q=R.get(e);if(q)return q;R.set(e,N),k(e)?e.forEach((function(n){N.add(t(n,r,E,n,e,R))})):w(e)&&e.forEach((function(n,o){N.set(o,t(n,r,E,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(N,o,t(n,r,E,o,e,R))})),N}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,l=function(t,e){p.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,f,h,y,b,v,m,g,w,x){var k,j=e;if(x.has(e))throw new RangeError("Cyclic object value");if("function"==typeof f?j=f(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,S=[];if(void 0===j)return S;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(f))O=f;else{var P=Object.keys(j);O=h?P.sort(h):P}for(var _=0;_0?x+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(H([])));k&&k!==r&&o.call(k,i)&&(w=k);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function H(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:H(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),S=r(7165).custom,P=S&&D(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==C(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(N(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!N(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function S(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return N(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,S);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var J=B(e,S);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,S);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(S(r,e,!0)+" => "+S(t,e))})),q("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(S(t,e))})),q("Set",p.call(e),K,j)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return I("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return I("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return I("WeakRef");if(function(t){return!("[object Number]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(S(g.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(String(e)));if(!function(t){return!("[object Date]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,S),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?C(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function N(t,e){return R.call(t,e)}function C(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function I(t){return t+" { ? }"}function q(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(3785);module.exports=n})(); \ No newline at end of file diff --git a/dist/web/contentstack-management.js b/dist/web/contentstack-management.js index fddaa4e9..f27315e1 100644 --- a/dist/web/contentstack-management.js +++ b/dist/web/contentstack-management.js @@ -1 +1 @@ -!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,(function(){return(()=>{var t={3785:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>se});const o="1.2.4";var a=r(7780),i=r.n(a),s=r(5182),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.Jv)()||"linux",e=(0,s.Ar)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function f(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){f(a,n,o,i,s,"next",t)}function s(t){f(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=l(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,N(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},E=function(t,e){return l(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,N(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},H=function(t){return l(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},i()(this.stackHeaders)),params:k({},i()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},D=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,N(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function N(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=E(t,"role"),this.delete=H(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,zt));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,I)}function I(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=E(t,"content_type"),this.delete=H(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=E(t,"global_field"),this.delete=H(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=E(t,"token"),this.delete=H(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=E(t,"environment"),this.delete=H(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset"),this.replace=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=E(t,"locale"),this.delete=H(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function lt(t){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=E(t,"extension"),this.delete=H(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=E(t,"webhook"),this.delete=H(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=l(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,N(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=E(t,"publishing_rule"),this.delete=H(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,kt))}function kt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=E(t,"workflow"),this.disable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=H(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=l(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,kt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Nt(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Nt(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Ht));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=E(t,"release"),this.fetch=D(t,"release"),this.delete=H(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw y(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Nt(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Ct})),this}function Ct(t,e){return(i()(e.releases)||[]).map((function(r){return new Nt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=E(t,"label"),this.delete=H(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:It}))}function It(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Nt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Mt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Mt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Gt({},i()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=Zt(Zt({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Xt().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=Zt(Zt({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=ie(ie({},e),i()(t))).headers=ie(ie({},t.headers),a);var s=oe(t),c=Vt({http:s});return c}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers,h=t.responseType;n.isFormData(f)&&delete l["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(l[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),f||(f=null),d.send(f)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var f=t;r.length;){var l=r.shift(),h=r.shift();try{f=l(f)}catch(t){h(t);break}}try{o=i(f)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],f=0;f{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},f=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,l=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":l?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?h((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&&l?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?h(""[Symbol.iterator]()):o,"%Symbol%":l?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":f,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),x=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,f=o.alias;f&&(n=f[0],k(r,x([0,1],f)));for(var l=1,h=!0;l=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),f=r(9193),l=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),x=r(9294),k=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,E,H,D,R){var N,C=1&r,T=2&r,U=4&r;if(E&&(N=D?E(e,H,D,R):E(e)),void 0!==N)return N;if(!x(e))return e;var L=m(e);if(L){if(N=y(e),!C)return u(e,N)}else{var F=d(e),I=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,C);if(F==_||F==S||I&&!D){if(N=T||I?{}:v(e),!C)return T?f(e,s(N,e)):p(e,i(N,e))}else{if(!A[F])return D?e:{};N=b(e,F,C)}}R||(R=new n);var q=R.get(e);if(q)return q;R.set(e,N),k(e)?e.forEach((function(n){N.add(t(n,r,E,n,e,R))})):w(e)&&e.forEach((function(n,o){N.set(o,t(n,r,E,o,e,R))}));var M=L?void 0:(U?T?h:l:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(N,o,t(n,r,E,o,e,R))})),N}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",f="[object Promise]",l="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=f||i&&w(new i)!=l||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return f;case m:return l;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,f=function(t,e){p.apply(t,u(e)?e:[e])},l=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,l,h,y,b,v,m,g,w,x){var k,j=e;if(x.has(e))throw new RangeError("Cyclic object value");if("function"==typeof l?j=l(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,S=[];if(void 0===j)return S;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var P=Object.keys(j);O=h?P.sort(h):P}for(var _=0;_0?x+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n=l;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var l="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(H([])));k&&k!==r&&o.call(k,i)&&(w=k);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=f(t[a],t,i);if("throw"!==u.type){var p=u.arg,l=p.value;return l&&"object"===n(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(l).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function H(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:H(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),S=r(7165).custom,P=S&&D(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==C(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(N(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!N(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function S(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return N(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,S);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var J=B(e,S);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,S);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(S(r,e,!0)+" => "+S(t,e))})),q("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return f.call(e,(function(t){K.push(S(t,e))})),q("Set",p.call(e),K,j)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return I("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return I("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return I("WeakRef");if(function(t){return!("[object Number]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(S(g.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(String(e)));if(!function(t){return!("[object Date]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,S),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?C(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function N(t,e){return R.call(t,e)}function C(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function I(t){return t+" { ? }"}function q(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o{e.Ar=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.Jv=function(){return"browser"}},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#USER","/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}return r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r(3785)})()})); \ No newline at end of file +!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,(function(){return(()=>{var t={3785:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>se});const o="1.2.4";var a=r(7780),i=r.n(a),s=r(9956),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.Jv)()||"linux",e=(0,s.Ar)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function f(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){f(a,n,o,i,s,"next",t)}function s(t){f(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=l(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:k(k({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:k(k({},i()(r)),i()(this.stackHeaders)),params:k({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,N(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},E=function(t,e){return l(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:k({},i()(this.stackHeaders)),params:k({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,N(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},H=function(t){return l(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:k({},i()(this.stackHeaders)),params:k({},i()(r))}||{},e.next=5,t.delete(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",o.data);case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))},D=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:k({},i()(this.stackHeaders)),params:k({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,N(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=k({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function N(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function C(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=E(t,"role"),this.delete=H(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new C(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,zt));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,I)}function I(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=E(t,"content_type"),this.delete=H(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=E(t,"global_field"),this.delete=H(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=E(t,"token"),this.delete=H(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=E(t,"environment"),this.delete=H(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=E(t,"asset"),this.delete=H(t),this.fetch=D(t,"asset"),this.replace=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=E(t,"locale"),this.delete=H(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function lt(t){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=E(t,"extension"),this.delete=H(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,N(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=E(t,"webhook"),this.delete=H(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=l(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,N(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=E(t,"publishing_rule"),this.delete=H(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,kt))}function kt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new xt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=E(t,"workflow"),this.disable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=H(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=l(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,kt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new xt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Nt(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Nt(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Ht));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Ht(t,e,r){return(i()(e.items)||[]).map((function(n){return new Et(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Ht(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=E(t,"release"),this.fetch=D(t,"release"),this.delete=H(t),this.item=function(){return new Et(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw y(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Nt(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Ct})),this}function Ct(t,e){return(i()(e.releases)||[]).map((function(r){return new Nt(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=E(t,"label"),this.delete=H(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:It}))}function It(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Nt(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Mt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Mt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Mt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new C(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:zt})),this}function zt(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Bt(t,{stack:e})}))}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Gt({},i()(t));return new Bt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=Zt(Zt({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=Xt().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=Zt(Zt({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=ie(ie({},e),i()(t))).headers=ie(ie({},t.headers),a);var s=oe(t),c=Vt({http:s});return c}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers,h=t.responseType;n.isFormData(f)&&delete l["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(l[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),f||(f=null),d.send(f)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var f=t;r.length;){var l=r.shift(),h=r.shift();try{f=l(f)}catch(t){h(t);break}}try{o=i(f)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],f=0;f{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},f=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,l=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":l?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?h((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&&l?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?h(""[Symbol.iterator]()):o,"%Symbol%":l?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":f,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),x=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,f=o.alias;f&&(n=f[0],k(r,x([0,1],f)));for(var l=1,h=!0;l=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),f=r(9193),l=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),x=r(9294),k=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,E,H,D,R){var N,C=1&r,T=2&r,U=4&r;if(E&&(N=D?E(e,H,D,R):E(e)),void 0!==N)return N;if(!x(e))return e;var L=m(e);if(L){if(N=y(e),!C)return u(e,N)}else{var F=d(e),I=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,C);if(F==_||F==S||I&&!D){if(N=T||I?{}:v(e),!C)return T?f(e,s(N,e)):p(e,i(N,e))}else{if(!A[F])return D?e:{};N=b(e,F,C)}}R||(R=new n);var q=R.get(e);if(q)return q;R.set(e,N),k(e)?e.forEach((function(n){N.add(t(n,r,E,n,e,R))})):w(e)&&e.forEach((function(n,o){N.set(o,t(n,r,E,o,e,R))}));var M=L?void 0:(U?T?h:l:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(N,o,t(n,r,E,o,e,R))})),N}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",f="[object Promise]",l="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=f||i&&w(new i)!=l||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return f;case m:return l;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},9956:(t,e)=>{e.Ar=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.Jv=function(){return"browser"}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,f=function(t,e){p.apply(t,u(e)?e:[e])},l=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,l,h,y,b,v,m,g,w,x){var k,j=e;if(x.has(e))throw new RangeError("Cyclic object value");if("function"==typeof l?j=l(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,S=[];if(void 0===j)return S;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var P=Object.keys(j);O=h?P.sort(h):P}for(var _=0;_0?x+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n=l;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var l="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(H([])));k&&k!==r&&o.call(k,i)&&(w=k);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=f(t[a],t,i);if("throw"!==u.type){var p=u.arg,l=p.value;return l&&"object"===n(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(l).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function H(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:H(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,x="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),S=r(7165).custom,P=S&&D(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function E(t){return String(t).replace(/"/g,""")}function H(t){return!("[object Array]"!==C(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(k)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(N(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!N(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return H(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function S(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return N(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,S);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=k?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==n(e)||k?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(H(e)){if(0===e.length)return"[]";var J=B(e,S);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,S);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(S(r,e,!0)+" => "+S(t,e))})),q("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return f.call(e,(function(t){K.push(S(t,e))})),q("Set",p.call(e),K,j)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return I("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return I("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return I("WeakRef");if(function(t){return!("[object Number]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(S(g.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e))return F(S(String(e)));if(!function(t){return!("[object Date]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,S),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?C(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function N(t,e){return R.call(t,e)}function C(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function I(t){return t+" { ? }"}function q(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o{},8593:t=>{"use strict";t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}return r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r(3785)})()})); \ No newline at end of file diff --git a/jsdocs/Asset.html b/jsdocs/Asset.html index 7e435fe5..5b5d1bb2 100644 --- a/jsdocs/Asset.html +++ b/jsdocs/Asset.html @@ -1354,7 +1354,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BulkOperation.html b/jsdocs/BulkOperation.html index c5c623c8..7da3fbd4 100644 --- a/jsdocs/BulkOperation.html +++ b/jsdocs/BulkOperation.html @@ -848,7 +848,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentType.html b/jsdocs/ContentType.html index 74af85d8..b6399582 100644 --- a/jsdocs/ContentType.html +++ b/jsdocs/ContentType.html @@ -1317,7 +1317,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Contentstack.html b/jsdocs/Contentstack.html index abb58231..98a0aafd 100644 --- a/jsdocs/Contentstack.html +++ b/jsdocs/Contentstack.html @@ -829,7 +829,7 @@
Examples

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentstackClient.html b/jsdocs/ContentstackClient.html index 03b1c54f..45c37d83 100644 --- a/jsdocs/ContentstackClient.html +++ b/jsdocs/ContentstackClient.html @@ -1077,7 +1077,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/DeliveryToken.html b/jsdocs/DeliveryToken.html index 5fdaaf94..a9ca13a2 100644 --- a/jsdocs/DeliveryToken.html +++ b/jsdocs/DeliveryToken.html @@ -763,7 +763,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Entry.html b/jsdocs/Entry.html index d356a628..62929e6b 100644 --- a/jsdocs/Entry.html +++ b/jsdocs/Entry.html @@ -1693,7 +1693,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Environment.html b/jsdocs/Environment.html index 84cd2ca8..508e140b 100644 --- a/jsdocs/Environment.html +++ b/jsdocs/Environment.html @@ -766,7 +766,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Extension.html b/jsdocs/Extension.html index 6fa7135b..97f7954f 100644 --- a/jsdocs/Extension.html +++ b/jsdocs/Extension.html @@ -944,7 +944,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Folder.html b/jsdocs/Folder.html index 9e051a85..21916e2c 100644 --- a/jsdocs/Folder.html +++ b/jsdocs/Folder.html @@ -633,7 +633,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/GlobalField.html b/jsdocs/GlobalField.html index b3485a0c..4644b35f 100644 --- a/jsdocs/GlobalField.html +++ b/jsdocs/GlobalField.html @@ -908,7 +908,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Label.html b/jsdocs/Label.html index 0a62062f..61e6db90 100644 --- a/jsdocs/Label.html +++ b/jsdocs/Label.html @@ -855,7 +855,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Locale.html b/jsdocs/Locale.html index c58f00b6..7f011303 100644 --- a/jsdocs/Locale.html +++ b/jsdocs/Locale.html @@ -850,7 +850,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Organization.html b/jsdocs/Organization.html index 2878beb8..ee0efc82 100644 --- a/jsdocs/Organization.html +++ b/jsdocs/Organization.html @@ -1691,7 +1691,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/PublishRules.html b/jsdocs/PublishRules.html index 50460d46..e845cbb5 100644 --- a/jsdocs/PublishRules.html +++ b/jsdocs/PublishRules.html @@ -287,7 +287,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Release.html b/jsdocs/Release.html index 3db58f64..06af2ec6 100644 --- a/jsdocs/Release.html +++ b/jsdocs/Release.html @@ -1503,7 +1503,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Role.html b/jsdocs/Role.html index c4a9cc11..403be7e3 100644 --- a/jsdocs/Role.html +++ b/jsdocs/Role.html @@ -1125,7 +1125,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Stack.html b/jsdocs/Stack.html index 325609c5..1e90078f 100644 --- a/jsdocs/Stack.html +++ b/jsdocs/Stack.html @@ -3967,7 +3967,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/User.html b/jsdocs/User.html index 9b5d74fa..cf970aae 100644 --- a/jsdocs/User.html +++ b/jsdocs/User.html @@ -883,7 +883,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Webhook.html b/jsdocs/Webhook.html index 42e7f5b1..c60eb760 100644 --- a/jsdocs/Webhook.html +++ b/jsdocs/Webhook.html @@ -1410,7 +1410,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Workflow.html b/jsdocs/Workflow.html index 8ddb87b7..30ed0170 100644 --- a/jsdocs/Workflow.html +++ b/jsdocs/Workflow.html @@ -1544,7 +1544,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstack.js.html b/jsdocs/contentstack.js.html index 1cfc87a4..9bd7125b 100644 --- a/jsdocs/contentstack.js.html +++ b/jsdocs/contentstack.js.html @@ -216,7 +216,7 @@

contentstack.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstackClient.js.html b/jsdocs/contentstackClient.js.html index 955e6caf..43731fd5 100644 --- a/jsdocs/contentstackClient.js.html +++ b/jsdocs/contentstackClient.js.html @@ -237,7 +237,7 @@

contentstackClient.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/index.html b/jsdocs/index.html index dec8823d..cb0d03a2 100644 --- a/jsdocs/index.html +++ b/jsdocs/index.html @@ -171,7 +171,7 @@

The MIT License (MIT)


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/organization_index.js.html b/jsdocs/organization_index.js.html index 9fcefda0..8c89cb99 100644 --- a/jsdocs/organization_index.js.html +++ b/jsdocs/organization_index.js.html @@ -301,7 +301,7 @@

organization/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/query_index.js.html b/jsdocs/query_index.js.html index c8ae6374..db34d955 100644 --- a/jsdocs/query_index.js.html +++ b/jsdocs/query_index.js.html @@ -195,7 +195,7 @@

query/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_folders_index.js.html b/jsdocs/stack_asset_folders_index.js.html index 7d43e5f5..adc945d3 100644 --- a/jsdocs/stack_asset_folders_index.js.html +++ b/jsdocs/stack_asset_folders_index.js.html @@ -162,7 +162,7 @@

stack/asset/folders/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_index.js.html b/jsdocs/stack_asset_index.js.html index d67768ea..bd3b861b 100644 --- a/jsdocs/stack_asset_index.js.html +++ b/jsdocs/stack_asset_index.js.html @@ -324,7 +324,7 @@

stack/asset/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_bulkOperation_index.js.html b/jsdocs/stack_bulkOperation_index.js.html index cfc8ea10..1c3696ee 100644 --- a/jsdocs/stack_bulkOperation_index.js.html +++ b/jsdocs/stack_bulkOperation_index.js.html @@ -286,7 +286,7 @@

stack/bulkOperation/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_entry_index.js.html b/jsdocs/stack_contentType_entry_index.js.html index 387e0e16..8ebf365d 100644 --- a/jsdocs/stack_contentType_entry_index.js.html +++ b/jsdocs/stack_contentType_entry_index.js.html @@ -353,7 +353,7 @@

stack/contentType/entry/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_index.js.html b/jsdocs/stack_contentType_index.js.html index 0a794a1a..b392d756 100644 --- a/jsdocs/stack_contentType_index.js.html +++ b/jsdocs/stack_contentType_index.js.html @@ -275,7 +275,7 @@

stack/contentType/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_deliveryToken_index.js.html b/jsdocs/stack_deliveryToken_index.js.html index f9fa58e9..543b1a43 100644 --- a/jsdocs/stack_deliveryToken_index.js.html +++ b/jsdocs/stack_deliveryToken_index.js.html @@ -178,7 +178,7 @@

stack/deliveryToken/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_environment_index.js.html b/jsdocs/stack_environment_index.js.html index 04baa5bb..4c4d8666 100644 --- a/jsdocs/stack_environment_index.js.html +++ b/jsdocs/stack_environment_index.js.html @@ -183,7 +183,7 @@

stack/environment/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_extension_index.js.html b/jsdocs/stack_extension_index.js.html index 9009e240..4df5c179 100644 --- a/jsdocs/stack_extension_index.js.html +++ b/jsdocs/stack_extension_index.js.html @@ -256,7 +256,7 @@

stack/extension/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_globalField_index.js.html b/jsdocs/stack_globalField_index.js.html index 7fda5ee0..6146d5d4 100644 --- a/jsdocs/stack_globalField_index.js.html +++ b/jsdocs/stack_globalField_index.js.html @@ -225,7 +225,7 @@

stack/globalField/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_index.js.html b/jsdocs/stack_index.js.html index e83797ee..0cda4d2b 100644 --- a/jsdocs/stack_index.js.html +++ b/jsdocs/stack_index.js.html @@ -708,7 +708,7 @@

stack/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_label_index.js.html b/jsdocs/stack_label_index.js.html index 597d7ef0..0ade7b1c 100644 --- a/jsdocs/stack_label_index.js.html +++ b/jsdocs/stack_label_index.js.html @@ -178,7 +178,7 @@

stack/label/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_locale_index.js.html b/jsdocs/stack_locale_index.js.html index 53f54f0e..3754e505 100644 --- a/jsdocs/stack_locale_index.js.html +++ b/jsdocs/stack_locale_index.js.html @@ -173,7 +173,7 @@

stack/locale/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_release_index.js.html b/jsdocs/stack_release_index.js.html index f95f5267..8e19360e 100644 --- a/jsdocs/stack_release_index.js.html +++ b/jsdocs/stack_release_index.js.html @@ -313,7 +313,7 @@

stack/release/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_roles_index.js.html b/jsdocs/stack_roles_index.js.html index cb3140bd..9b6e2d83 100644 --- a/jsdocs/stack_roles_index.js.html +++ b/jsdocs/stack_roles_index.js.html @@ -231,7 +231,7 @@

stack/roles/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_webhook_index.js.html b/jsdocs/stack_webhook_index.js.html index fa2b4083..cdb7f505 100644 --- a/jsdocs/stack_webhook_index.js.html +++ b/jsdocs/stack_webhook_index.js.html @@ -308,7 +308,7 @@

stack/webhook/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_index.js.html b/jsdocs/stack_workflow_index.js.html index 60b87f24..1a7e2b92 100644 --- a/jsdocs/stack_workflow_index.js.html +++ b/jsdocs/stack_workflow_index.js.html @@ -371,7 +371,7 @@

stack/workflow/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_publishRules_index.js.html b/jsdocs/stack_workflow_publishRules_index.js.html index 861b1213..66854481 100644 --- a/jsdocs/stack_workflow_publishRules_index.js.html +++ b/jsdocs/stack_workflow_publishRules_index.js.html @@ -195,7 +195,7 @@

stack/workflow/publishRules/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/user_index.js.html b/jsdocs/user_index.js.html index 607fc98e..a7f48e18 100644 --- a/jsdocs/user_index.js.html +++ b/jsdocs/user_index.js.html @@ -225,7 +225,7 @@

user/index.js


- Documentation generated by JSDoc 3.6.7 on Tue Oct 26 2021 12:27:13 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:35:32 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/package-lock.json b/package-lock.json index e219e24c..7cad4cf0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6493,6 +6493,12 @@ "word-wrap": "^1.2.3" } }, + "os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", + "dev": true + }, "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", diff --git a/package.json b/package.json index 4ac27462..16d711f8 100644 --- a/package.json +++ b/package.json @@ -86,6 +86,7 @@ "multiparty": "^4.2.2", "nock": "^10.0.6", "nyc": "^14.1.1", + "os-browserify": "^0.3.0", "rimraf": "^2.7.1", "sinon": "^7.3.2", "string-replace-loader": "^2.3.0", From dc0acf1e555b48aadddff236b918d94ea17d929f Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Wed, 27 Oct 2021 10:51:56 +0530 Subject: [PATCH 15/16] :memo: docs update and Content branching merged --- jsdocs/Branch.html | 6 +- jsdocs/BranchAlias.html | 14 +- jsdocs/ReleaseItem.html | 121 ++++++---- jsdocs/stack_branchAlias_index.js.html | 11 +- jsdocs/stack_branch_index.js.html | 6 +- jsdocs/stack_release_items_index.js.html | 284 +++++++++++++---------- 6 files changed, 247 insertions(+), 195 deletions(-) diff --git a/jsdocs/Branch.html b/jsdocs/Branch.html index 86c210c2..fbb5251f 100644 --- a/jsdocs/Branch.html +++ b/jsdocs/Branch.html @@ -26,7 +26,7 @@ - + @@ -38,7 +38,7 @@
@@ -630,7 +630,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BranchAlias.html b/jsdocs/BranchAlias.html index 9b42e916..a7bd59df 100644 --- a/jsdocs/BranchAlias.html +++ b/jsdocs/BranchAlias.html @@ -26,7 +26,7 @@ - + @@ -38,7 +38,7 @@
@@ -510,7 +510,7 @@

(static) fet
Source:
@@ -575,14 +575,14 @@

Example
Parameters:
-
NameNameTypeType
+
- + - + @@ -726,7 +726,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ReleaseItem.html b/jsdocs/ReleaseItem.html index 8be23766..74f7420e 100644 --- a/jsdocs/ReleaseItem.html +++ b/jsdocs/ReleaseItem.html @@ -22,12 +22,11 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WGP99J7'); - - + - + @@ -39,7 +38,7 @@
@@ -74,7 +73,7 @@

Source:
@@ -143,7 +142,7 @@

Methods

-

(static) create() → {Promise.<Release.Release>}

+

(static) delete() → {Object}

@@ -155,7 +154,7 @@

(static) creat
Source:
@@ -195,7 +194,7 @@

(static) creat
- The Create method allows you to add an one or more items items (entry or asset) to a Release. + The Delete method request deletes one or more items (entries and/or assets) from a specific Release.
@@ -210,19 +209,14 @@

Examples
import * as contentstack from '@contentstack/management'
 const client = contentstack.client()
+// To delete all the items from release
+client.stack({ api_key: 'api_key'}).release('release_uid').delete()
+.then((response) => console.log(response.notice))
+     
-const item = { - version: 1, - uid: "entry_or_asset_uid", - content_type_uid: "your_content_type_uid", - action: "publish", - locale: "en-us" -} -client.stack({ api_key: 'api_key'}).release('release_uid').item().create({ item }) -.then((release) => console.log(release)) - -
import * as contentstack from '@contentstack/management'
-const client = contentstack.client()
+    
// Delete specific items from delete
+import * as contentstack from '@contentstack/management'
+const client = contentstack.client() 
 
 const items =  [
     {
@@ -240,8 +234,8 @@ 
Examples
action: "publish" } ] -client.stack({ api_key: 'api_key'}).release('release_uid').item().create({ items }) -.then((release) => console.log(release))
+client.stack({ api_key: 'api_key'}).release('release_uid').delete({items}) +.then((response) => console.log(response.notice))
@@ -249,14 +243,14 @@
Examples
Parameters:
-
NameNameTypeType
+
- + - + @@ -271,7 +265,7 @@
Parameters:
- + + @@ -336,7 +330,7 @@
Returns:
- Promise for Release instance + Response Object.
@@ -347,7 +341,7 @@
Returns:
-Promise.<Release.Release> +Object
@@ -362,7 +356,7 @@
Returns:
-

(static) delete() → {Object}

+

(static) create() → {Promise.<Release.Release>}

@@ -374,7 +368,7 @@

(static) delet
Source:
@@ -414,7 +408,7 @@

(static) delet
- The Delete method request deletes one or more items (entries and/or assets) from a specific Release. + The Create method allows you to add an one or more items items (entry or asset) to a Release.
@@ -425,13 +419,42 @@

(static) delet -

Example
+
Examples
import * as contentstack from '@contentstack/management'
 const client = contentstack.client()
 
-client.stack({ api_key: 'api_key'}).release('release_uid').delete()
-.then((notice) => console.log(notice))
+const item = { + version: 1, + uid: "entry_or_asset_uid", + content_type_uid: "your_content_type_uid", + action: "publish", + locale: "en-us" +} +client.stack({ api_key: 'api_key'}).release('release_uid').item().create({ item }) +.then((release) => console.log(release)) + +
import * as contentstack from '@contentstack/management'
+const client = contentstack.client()
+
+const items =  [
+    {
+       uid: "entry_or_asset_uid1",
+       version: 1,
+       locale: "en-us",
+       content_type_uid: "demo1",
+       action: "publish"
+    },
+    {
+       uid: "entry_or_asset_uid2",
+       version: 4,
+       locale: "fr-fr",
+       content_type_uid: "demo2",
+       action: "publish"
+     }
+]
+client.stack({ api_key: 'api_key'}).release('release_uid').item().create({ items })
+.then((release) => console.log(release))
@@ -439,14 +462,14 @@
Example
Parameters:
-
NameNameTypeType
param.itemparam.items @@ -287,7 +281,7 @@
Parameters:
-
Add a single item to a ReleaseAdd multiple items to a Release
+
- + - + @@ -461,7 +484,7 @@
Parameters:
- + + @@ -526,7 +549,7 @@
Returns:
- Response Object. + Promise for Release instance
@@ -537,7 +560,7 @@
Returns:
-Object +Promise.<Release.Release>
@@ -552,7 +575,7 @@
Returns:
-

(static) findAll() → {Promise.<ReleaseItem.ReleaseItem>}

+

(static) findAll() → {Promise.<ContentstackCollection.ContentstackCollection>}

@@ -564,7 +587,7 @@

(static) find
Source:
@@ -629,14 +652,14 @@

Example
Parameters:
-
NameNameTypeType
param.itemsparam.item @@ -477,7 +500,7 @@
Parameters:
-
Add multiple items to a ReleaseAdd a single item to a Release
+
- + - + @@ -750,7 +773,7 @@
Returns:
-Promise.<ReleaseItem.ReleaseItem> +Promise.<ContentstackCollection.ContentstackCollection>
@@ -780,7 +803,7 @@
Returns:

- Documentation generated by JSDoc 3.6.5 on Wed Sep 09 2020 13:08:18 GMT+0530 (IST) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_branchAlias_index.js.html b/jsdocs/stack_branchAlias_index.js.html index a87b3d65..98bf32d4 100644 --- a/jsdocs/stack_branchAlias_index.js.html +++ b/jsdocs/stack_branchAlias_index.js.html @@ -26,7 +26,7 @@ - + @@ -38,7 +38,7 @@
@@ -131,7 +131,10 @@

stack/branchAlias/index.js

this.fetch = async function (param = {}) { try { const headers = { - headers: { ...cloneDeep(this.stackHeaders) } + headers: { ...cloneDeep(this.stackHeaders) }, + params: { + ...cloneDeep(param) + } } || {} const response = await http.get(this.urlPath, headers) if (response.data) { @@ -178,7 +181,7 @@

stack/branchAlias/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_branch_index.js.html b/jsdocs/stack_branch_index.js.html index 758b3340..bb08107e 100644 --- a/jsdocs/stack_branch_index.js.html +++ b/jsdocs/stack_branch_index.js.html @@ -26,7 +26,7 @@ - + @@ -38,7 +38,7 @@
@@ -157,7 +157,7 @@

stack/branch/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Aug 11 2021 15:49:59 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_release_items_index.js.html b/jsdocs/stack_release_items_index.js.html index 275c20d4..bd5d1d7f 100644 --- a/jsdocs/stack_release_items_index.js.html +++ b/jsdocs/stack_release_items_index.js.html @@ -22,12 +22,11 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WGP99J7'); - - + - + @@ -39,7 +38,7 @@
@@ -56,6 +55,7 @@

stack/release/items/index.js

import cloneDeep from 'lodash/cloneDeep'
 import error from '../../../core/contentstackError'
+import ContentstackCollection from '../../../contentstackCollection'
 import { Release } from '..'
 /**
  * A ReleaseItem is a set of entries and assets that needs to be deployed (published or unpublished) all at once to a particular environment.
@@ -64,146 +64,172 @@ 

stack/release/items/index.js

export function ReleaseItem (http, data = {}) { this.stackHeaders = data.stackHeaders + if (data.item) { + Object.assign(this, cloneDeep(data.item)) + } if (data.releaseUid) { this.urlPath = `releases/${data.releaseUid}/items` - if (data.item) { - Object.assign(this, cloneDeep(data.item)) - } else { - /** - * @description The Delete method request deletes one or more items (entries and/or assets) from a specific Release. - * @memberof ReleaseItem - * @func delete - * @param {Object} param.items Add multiple items to a Release - * @param {Object} param.items Add multiple items to a Release - * @returns {Object} Response Object. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).release('release_uid').delete() - * .then((notice) => console.log(notice)) - */ - this.delete = async (param) => { - try { - const headers = { - headers: { ...cloneDeep(this.stackHeaders) }, - params: { - all: true, - ...cloneDeep(param) - } - } || {} - - const response = await http.delete(this.urlPath, headers) - if (response.data) { - return response.data - } else { - throw error(response) - } - } catch (err) { - throw error(err) - } + /** + * @description The Delete method request deletes one or more items (entries and/or assets) from a specific Release. + * @memberof ReleaseItem + * @func delete + * @param {Object} param.items Add multiple items to a Release + * @param {Object} param.items Add multiple items to a Release + * @returns {Object} Response Object. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * // To delete all the items from release + * client.stack({ api_key: 'api_key'}).release('release_uid').delete() + * .then((response) => console.log(response.notice)) + * + * @example + * // Delete specific items from delete + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * const items = [ + * { + * uid: "entry_or_asset_uid1", + * version: 1, + * locale: "en-us", + * content_type_uid: "demo1", + * action: "publish" + * }, + * { + * uid: "entry_or_asset_uid2", + * version: 4, + * locale: "fr-fr", + * content_type_uid: "demo2", + * action: "publish" + * } + * ] + * client.stack({ api_key: 'api_key'}).release('release_uid').delete({items}) + * .then((response) => console.log(response.notice)) + */ + this.delete = async (items) => { + let param = {} + if (items === undefined) { + param = {all: true} } - - /** - * @description The Create method allows you to add an one or more items items (entry or asset) to a Release. - * @memberof ReleaseItem - * @func create - * @param {Object} param.item Add a single item to a Release - * @param {Object} param.items Add multiple items to a Release - * @returns {Promise<Release.Release>} Promise for Release instance - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * const item = { - * version: 1, - * uid: "entry_or_asset_uid", - * content_type_uid: "your_content_type_uid", - * action: "publish", - * locale: "en-us" - * } - * client.stack({ api_key: 'api_key'}).release('release_uid').item().create({ item }) - * .then((release) => console.log(release)) - * - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * const items = [ - * { - * uid: "entry_or_asset_uid1", - * version: 1, - * locale: "en-us", - * content_type_uid: "demo1", - * action: "publish" - * }, - * { - * uid: "entry_or_asset_uid2", - * version: 4, - * locale: "fr-fr", - * content_type_uid: "demo2", - * action: "publish" - * } - * ] - * client.stack({ api_key: 'api_key'}).release('release_uid').item().create({ items }) - * .then((release) => console.log(release)) - */ - this.create = async (param) => { + try { const headers = { - headers: { - ...cloneDeep(this.stackHeaders) + headers: { ...cloneDeep(this.stackHeaders) }, + data: { + ...cloneDeep(items) }, params: { ...cloneDeep(param) } } || {} - try { - const response = await http.post(param.item ? `releases/${data.releaseUid}/item` : this.urlPath, data, headers) + const response = await http.delete(this.urlPath, headers) + if (response.data) { + return new Release(http, { ...response.data, stackHeaders: data.stackHeaders }) + } else { + throw error(response) + } + } catch (err) { + throw error(err) + } + } + + /** + * @description The Create method allows you to add an one or more items items (entry or asset) to a Release. + * @memberof ReleaseItem + * @func create + * @param {Object} param.item Add a single item to a Release + * @param {Object} param.items Add multiple items to a Release + * @returns {Promise<Release.Release>} Promise for Release instance + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * const item = { + * version: 1, + * uid: "entry_or_asset_uid", + * content_type_uid: "your_content_type_uid", + * action: "publish", + * locale: "en-us" + * } + * client.stack({ api_key: 'api_key'}).release('release_uid').item().create({ item }) + * .then((release) => console.log(release)) + * + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * const items = [ + * { + * uid: "entry_or_asset_uid1", + * version: 1, + * locale: "en-us", + * content_type_uid: "demo1", + * action: "publish" + * }, + * { + * uid: "entry_or_asset_uid2", + * version: 4, + * locale: "fr-fr", + * content_type_uid: "demo2", + * action: "publish" + * } + * ] + * client.stack({ api_key: 'api_key'}).release('release_uid').item().create({ items }) + * .then((release) => console.log(release)) + */ + this.create = async (param) => { + const headers = { + headers: { + ...cloneDeep(this.stackHeaders) + } + } || {} + + try { + const response = await http.post(param.item ? `releases/${data.releaseUid}/item` : this.urlPath, param, headers) + if (response.data) { if (response.data) { - if (response.data) { - return new Release(http, response.data) - } - } else { - throw error(response) + return new Release(http, { ...response.data, stackHeaders: data.stackHeaders }) } - } catch (err) { - throw error(err) + } else { + throw error(response) } + } catch (err) { + throw error(err) } - /** - * @description The Get all items in a Release request retrieves a list of all items (entries and assets) that are part of a specific Release. - * @memberof ReleaseItem - * @func findAll - * @returns {Promise<ReleaseItem.ReleaseItem>} Promise for ContentType instance - * @param {Boolean} param.include_count ‘include_count’ parameter includes the count of total number of items in Release, along with the details of each items. - * @param {Int} param.limit The ‘limit’ parameter will return a specific number of release items in the output. - * @param {Int} param.skip The ‘skip’ parameter will skip a specific number of release items in the response. - * @example - * import * as contentstack from '@contentstack/management' - * const client = contentstack.client() - * - * client.stack({ api_key: 'api_key'}).release('release_uid').item().fetchAll() - * .then((items) => console.log(items)) - */ - this.findAll = async (param = {}) => { - try { - const headers = { - headers: { ...cloneDeep(this.stackHeaders) }, - params: { - ...cloneDeep(param) - } - } || {} - - const response = await http.get(this.urlPath, headers) - if (response.data) { - return ReleaseItemCollection(http, response.data, this.releaseUID) - } else { - throw error(response) + } + /** + * @description The Get all items in a Release request retrieves a list of all items (entries and assets) that are part of a specific Release. + * @memberof ReleaseItem + * @func findAll + * @returns {Promise<ContentstackCollection.ContentstackCollection>} Promise for ContentType instance + * @param {Boolean} param.include_count ‘include_count’ parameter includes the count of total number of items in Release, along with the details of each items. + * @param {Int} param.limit The ‘limit’ parameter will return a specific number of release items in the output. + * @param {Int} param.skip The ‘skip’ parameter will skip a specific number of release items in the response. + * @example + * import * as contentstack from '@contentstack/management' + * const client = contentstack.client() + * + * client.stack({ api_key: 'api_key'}).release('release_uid').item().fetchAll() + * .then((items) => console.log(items)) + */ + this.findAll = async (param = {}) => { + try { + const headers = { + headers: { ...cloneDeep(this.stackHeaders) }, + params: { + ...cloneDeep(param) } - } catch (err) { - error(err) + } || {} + + const response = await http.get(this.urlPath, headers) + if (response.data) { + return new ContentstackCollection(response, http, this.stackHeaders, ReleaseItemCollection) + } else { + throw error(response) } + } catch (err) { + error(err) } } } @@ -231,7 +257,7 @@

stack/release/items/index.js


- Documentation generated by JSDoc 3.6.5 on Wed Sep 09 2020 13:08:17 GMT+0530 (IST) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme.
From 1c8a343298c2d002815926791048a511468632d9 Mon Sep 17 00:00:00 2001 From: Uttam Krishna Ukkoji Date: Wed, 8 Dec 2021 11:10:31 +0530 Subject: [PATCH 16/16] Package Update --- .npmignore | 3 +- .talismanrc | 18 +- dist/nativescript/contentstack-management.js | 2 +- dist/node/contentstack-management.js | 2 +- dist/react-native/contentstack-management.js | 2 +- dist/web/contentstack-management.js | 2 +- jsdocs/Asset.html | 2 +- jsdocs/Branch.html | 2 +- jsdocs/BranchAlias.html | 2 +- jsdocs/BulkOperation.html | 2 +- jsdocs/ContentType.html | 2 +- jsdocs/Contentstack.html | 2 +- jsdocs/ContentstackClient.html | 2 +- jsdocs/DeliveryToken.html | 2 +- jsdocs/Entry.html | 2 +- jsdocs/Environment.html | 2 +- jsdocs/Extension.html | 2 +- jsdocs/Folder.html | 2 +- jsdocs/GlobalField.html | 2 +- jsdocs/Label.html | 2 +- jsdocs/Locale.html | 2 +- jsdocs/Organization.html | 2 +- jsdocs/PublishRules.html | 2 +- jsdocs/Release.html | 2 +- jsdocs/ReleaseItem.html | 2 +- jsdocs/Role.html | 2 +- jsdocs/Stack.html | 2 +- jsdocs/User.html | 2 +- jsdocs/Webhook.html | 2 +- jsdocs/Workflow.html | 2 +- jsdocs/contentstack.js.html | 2 +- jsdocs/contentstackClient.js.html | 2 +- jsdocs/index.html | 2 +- jsdocs/organization_index.js.html | 2 +- jsdocs/query_index.js.html | 2 +- jsdocs/stack_asset_folders_index.js.html | 2 +- jsdocs/stack_asset_index.js.html | 2 +- jsdocs/stack_branchAlias_index.js.html | 2 +- jsdocs/stack_branch_index.js.html | 2 +- jsdocs/stack_bulkOperation_index.js.html | 2 +- jsdocs/stack_contentType_entry_index.js.html | 2 +- jsdocs/stack_contentType_index.js.html | 2 +- jsdocs/stack_deliveryToken_index.js.html | 2 +- jsdocs/stack_environment_index.js.html | 2 +- jsdocs/stack_extension_index.js.html | 2 +- jsdocs/stack_globalField_index.js.html | 2 +- jsdocs/stack_index.js.html | 2 +- jsdocs/stack_label_index.js.html | 2 +- jsdocs/stack_locale_index.js.html | 2 +- jsdocs/stack_release_index.js.html | 2 +- jsdocs/stack_release_items_index.js.html | 2 +- jsdocs/stack_roles_index.js.html | 2 +- jsdocs/stack_webhook_index.js.html | 2 +- jsdocs/stack_workflow_index.js.html | 2 +- .../stack_workflow_publishRules_index.js.html | 2 +- jsdocs/user_index.js.html | 2 +- package-lock.json | 2017 ++++++++--------- package.json | 20 +- 58 files changed, 1066 insertions(+), 1100 deletions(-) diff --git a/.npmignore b/.npmignore index 6a4f3599..76233980 100644 --- a/.npmignore +++ b/.npmignore @@ -21,4 +21,5 @@ docdash-template/ .babelrc .babel-preset.js .eslintrc.js -.talismanrc \ No newline at end of file +.talismanrc +lib/ \ No newline at end of file diff --git a/.talismanrc b/.talismanrc index ce940383..58ecea3a 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,13 +1,13 @@ fileignoreconfig: - filename: jsdocs/stack_environment_index.js.html - checksum: 1eac06c1c56f00422a548245f1c92fe505174fb349d85584d81508028117f53c -- filename: dist/node/contentstack-management.js - checksum: 0cc6ad62a7f0cef0882d7416e9ec966b34e56ef906592e11aa9a5dc4a6e443b9 -- filename: package-lock.json - checksum: 99fcfcea623a71f7b8b8537e19ff32f2e20bc17a21dfe861ce5697c5e928bae7 -- filename: dist/nativescript/contentstack-management.js - checksum: fbf96bf31cc89c74e3e239b8c330dd9be336af20973a0ec56dd11c463447ddf1 + checksum: 506ccc2492c3ce3218582ba049ee4713b33eb20764227a91f16a10f76ff0a8e7 - filename: dist/react-native/contentstack-management.js - checksum: 4eeba7bb1f57f6031334d4394ce2a40890fdc8e96101f8c01441fca2e2708baa + checksum: 279b809bc382f5bc1898525d49d8e49ee3ed82ce8e4728416fef22a8fa0fab81 - filename: dist/web/contentstack-management.js - checksum: 394411bc4d75c6ec6fc001cd2aea9747b91a065daa5b770dff0c1e58ef095465 \ No newline at end of file + checksum: 62b3396f8d0e8981f299815d3cef4f77f389097e2600e6cf04b6dbc24d4822c7 +- filename: dist/nativescript/contentstack-management.js + checksum: 52e66c545bb73f49d75863242e128dc08e3672a5d0291d5e14a360581ad2e71c +- filename: dist/node/contentstack-management.js + checksum: 62d9cc89bdf76f1ef8ccb676e896247bdf689f58716bbceadc174d8ef6fce621 +- filename: package-lock.json + checksum: 05fa93e24eaaa69794388ce1d818e3518373919d0d8243f9f921d10086dafbb1 \ No newline at end of file diff --git a/dist/nativescript/contentstack-management.js b/dist/nativescript/contentstack-management.js index 58fffd7a..e01ebc3c 100644 --- a/dist/nativescript/contentstack-management.js +++ b/dist/nativescript/contentstack-management.js @@ -1 +1 @@ -(()=>{var t={1576:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>fe});const o="1.3.0";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),S=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},i()(r)),i()(this.stackHeaders)),params:x({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},i()(this.stackHeaders)),params:x({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw y(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),y(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function N(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new N(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,$t));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,q)}function q(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,S({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,xt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function St(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Et));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Et(t,e,r){return(i()(e.items)||[]).map((function(n){return new Ht(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Et(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=D(t,"release"),this.delete=E(t),this.item=function(){return new Ht(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Nt})),this}function Nt(t,e){return(i()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",P(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",P(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",P(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:qt}))}function qt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function It(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=D(t,"branch")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Mt})),this}function Mt(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new It(t,{branch:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:zt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new It(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:zt({},i()(this.stackHeaders)),params:zt({},i()(r))}||{},e.next=5,t.get(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",new It(t,C(o,this.stackHeaders)));case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=R(t,Mt),this}function Gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new It(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Wt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Vt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Vt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new N(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:$t})),this}function $t(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Jt(t,{stack:e})}))}function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Kt({},i()(t));return new Jt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=oe(oe({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=re().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=oe(oe({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ce(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),a);var s=ue(t);return Xt({http:s})}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),k=g.call(Function.call,Array.prototype.concat),x=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,P,(function(t,e,r,o){n[n.length]=r?j(o,S,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],x(r,k([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),k=r(9294),x=r(4496),j=r(19),O=r(5168),P="[object Arguments]",S="[object Function]",_="[object Object]",A={};A[P]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[S]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,H,E,D,R){var C,N=1&r,T=2&r,U=4&r;if(H&&(C=D?H(e,E,D,R):H(e)),void 0!==C)return C;if(!k(e))return e;var L=m(e);if(L){if(C=y(e),!N)return u(e,C)}else{var F=d(e),q=F==S||"[object GeneratorFunction]"==F;if(g(e))return c(e,N);if(F==_||F==P||q&&!D){if(C=T||q?{}:v(e),!N)return T?l(e,s(C,e)):p(e,i(C,e))}else{if(!A[F])return D?e:{};C=b(e,F,N)}}R||(R=new n);var I=R.get(e);if(I)return I;R.set(e,C),x(e)?e.forEach((function(n){C.add(t(n,r,H,n,e,R))})):w(e)&&e.forEach((function(n,o){C.set(o,t(n,r,H,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(C,o,t(n,r,H,o,e,R))})),C}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,l=function(t,e){p.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,f,h,y,b,v,m,g,w,k){var x,j=e;if(k.has(e))throw new RangeError("Cyclic object value");if("function"==typeof f?j=f(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(x=j)||"number"==typeof x||"boolean"==typeof x||"symbol"===n(x)||"bigint"==typeof x||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,P=[];if(void 0===j)return P;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(f))O=f;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?k+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new H(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=S(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==r&&o.call(x,i)&&(w=x);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function H(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function E(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:E(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,x="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(7165).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function H(t){return String(t).replace(/"/g,""")}function E(t){return!("[object Array]"!==N(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(x)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!k)return!1;try{return k.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return E(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function P(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,P);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=x?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(e);return"object"!==n(e)||x?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(E(e)){if(0===e.length)return"[]";var J=B(e,P);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,P);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(P(r,e,!0)+" => "+P(t,e))})),I("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(P(t,e))})),I("Set",p.call(e),K,j)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return q("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return q("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return q("WeakRef");if(function(t){return!("[object Number]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e))return F(P(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(P(g.call(e)));if(function(t){return!("[object Boolean]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e))return F(P(String(e)));if(!function(t){return!("[object Date]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,P),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?N(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function N(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function q(t){return t+" { ? }"}function I(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=E(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(1576);module.exports=n})(); \ No newline at end of file +(()=>{var t={1576:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>fe});const o="1.3.0";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},i()(r)),i()(this.stackHeaders)),params:x({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},i()(this.stackHeaders)),params:x({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw y(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),y(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function N(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new N(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,$t));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,q)}function q(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,xt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Et));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Et(t,e,r){return(i()(e.items)||[]).map((function(n){return new Ht(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Et(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=D(t,"release"),this.delete=E(t),this.item=function(){return new Ht(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Nt})),this}function Nt(t,e){return(i()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:qt}))}function qt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function It(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=D(t,"branch")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Mt})),this}function Mt(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new It(t,{branch:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:zt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new It(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:zt({},i()(this.stackHeaders)),params:zt({},i()(r))}||{},e.next=5,t.get(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",new It(t,C(o,this.stackHeaders)));case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=R(t,Mt),this}function Gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new It(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Wt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Vt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Vt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new N(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:$t})),this}function $t(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Jt(t,{stack:e})}))}function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Kt({},i()(t));return new Jt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=oe(oe({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=re().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=oe(oe({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ce(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),a);var s=ue(t);return Xt({http:s})}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),k=g.call(Function.call,Array.prototype.concat),x=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],x(r,k([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),k=r(9294),x=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,H,E,D,R){var C,N=1&r,T=2&r,U=4&r;if(H&&(C=D?H(e,E,D,R):H(e)),void 0!==C)return C;if(!k(e))return e;var L=m(e);if(L){if(C=y(e),!N)return u(e,C)}else{var F=d(e),q=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,N);if(F==_||F==S||q&&!D){if(C=T||q?{}:v(e),!N)return T?l(e,s(C,e)):p(e,i(C,e))}else{if(!A[F])return D?e:{};C=b(e,F,N)}}R||(R=new n);var I=R.get(e);if(I)return I;R.set(e,C),x(e)?e.forEach((function(n){C.add(t(n,r,H,n,e,R))})):w(e)&&e.forEach((function(n,o){C.set(o,t(n,r,H,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(C,o,t(n,r,H,o,e,R))})),C}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=String.prototype.split,l=Array.prototype.push,f=function(t,e){l.apply(t,u(e)?e:[e])},h=Date.prototype.toISOString,d=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},b={},v=function t(e,r,i,s,c,l,h,d,v,m,g,w,k,x,j){for(var O,S=e,P=j,_=0,A=!1;void 0!==(P=P.get(b))&&!A;){var H=P.get(e);if(_+=1,void 0!==H){if(H===_)throw new RangeError("Cyclic object value");A=!0}void 0===P.get(b)&&(_=0)}if("function"==typeof h?S=h(r,S):S instanceof Date?S=m(S):"comma"===i&&u(S)&&(S=a.maybeMap(S,(function(t){return t instanceof Date?m(t):t}))),null===S){if(s)return l&&!k?l(r,y.encoder,x,"key",g):r;S=""}if("string"==typeof(O=S)||"number"==typeof O||"boolean"==typeof O||"symbol"===n(O)||"bigint"==typeof O||a.isBuffer(S)){if(l){var E=k?r:l(r,y.encoder,x,"key",g);if("comma"===i&&k){for(var D=p.call(String(S),","),R="",C=0;C0?S.join(",")||null:void 0}];else if(u(h))N=h;else{var U=Object.keys(S);N=d?U.sort(d):U}for(var L=0;L0?k+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new H(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==r&&o.call(x,i)&&(w=x);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function H(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function E(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:E(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,x="function"==typeof Symbol&&"object"===n(Symbol.iterator),j="function"==typeof Symbol&&Symbol.toStringTag&&(n(Symbol.toStringTag),1)?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,S=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(7165).custom,_=P&&D(P)?P:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function H(t){return String(t).replace(/"/g,""")}function E(t){return!("[object Array]"!==N(t)||j&&"object"===n(t)&&j in t)}function D(t){if(x)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!k)return!1;try{return k.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return E(e)?"[Array]":"[Object]";var w,O=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function P(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,P);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=x?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(e);return"object"!==n(e)||x?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(E(e)){if(0===e.length)return"[]";var J=B(e,P);return O&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,O)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==N(t)||j&&"object"===n(t)&&j in t)}(e)){var $=B(e,P);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(_&&"function"==typeof e[_])return e[_]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(P(r,e,!0)+" => "+P(t,e))})),I("Map",i.call(e),Q,O)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(P(t,e))})),I("Set",p.call(e),K,O)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return q("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return q("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return q("WeakRef");if(function(t){return!("[object Number]"!==N(t)||j&&"object"===n(t)&&j in t)}(e))return F(P(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(P(g.call(e)));if(function(t){return!("[object Boolean]"!==N(t)||j&&"object"===n(t)&&j in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==N(t)||j&&"object"===n(t)&&j in t)}(e))return F(P(String(e)));if(!function(t){return!("[object Date]"!==N(t)||j&&"object"===n(t)&&j in t)}(e)&&!function(t){return!("[object RegExp]"!==N(t)||j&&"object"===n(t)&&j in t)}(e)){var X=B(e,P),Y=S?S(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&j&&Object(e)===e&&j in e?N(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":O?et+"{"+M(X,O)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function N(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function q(t){return t+" { ? }"}function I(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=E(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(1576);module.exports=n})(); \ No newline at end of file diff --git a/dist/node/contentstack-management.js b/dist/node/contentstack-management.js index a044d804..75aad9bd 100644 --- a/dist/node/contentstack-management.js +++ b/dist/node/contentstack-management.js @@ -1,2 +1,2 @@ /*! For license information please see contentstack-management.js.LICENSE.txt */ -(()=>{var e={4495:(e,t,a)=>{"use strict";a.r(t),a.d(t,{client:()=>xt});var n=a(5213),o=a.n(n);const r="1.3.0";var i=a(7780),s=a.n(i),c=a(9563),p=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var e=window.navigator.userAgent,t=window.navigator.platform,a=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?a="macOS":-1!==["iPhone","iPad","iPod"].indexOf(t)?a="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?a="Windows":/Android/.test(e)?a="Android":/Linux/.test(t)&&(a="Linux"),a}function l(e,t,a,n){var o=[];t&&o.push("app ".concat(t)),a&&o.push("integration ".concat(a)),n&&o.push("feature "+n),o.push("sdk ".concat(e));var r=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(r=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(r=u(),o.push("platform browser")):(r=function(){var e=(0,c.platform)()||"linux",t=(0,c.release)()||"0.0.0",a={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in a?"".concat(a[e]||"Linux","/").concat(t):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(e){r=null}return r&&o.push("os ".concat(r)),"".concat(o.filter((function(e){return""!==e})).join("; "),";")}var d=a(9087),m=a.n(d),f=a(5843),h=a.n(f);function x(e){var t=e.config,a=e.response;if(!t||!a)throw e;var n=a.data,o={status:a.status,statusText:a.statusText};if(t.headers&&t.headers.authtoken){var r="...".concat(t.headers.authtoken.substr(-5));t.headers.authtoken=r}if(t.headers&&t.headers.authorization){var i="...".concat(t.headers.authorization.substr(-5));t.headers.authorization=i}o.request={url:t.url,method:t.method,data:t.data,headers:t.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var v=a(1637),b=a.n(v),y=function e(t,a){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,e);var r=t.data||{};n&&(r.stackHeaders=n),this.items=o(a,r),void 0!==r.schema&&(this.schema=r.schema),void 0!==r.content_type&&(this.content_type=r.content_type),void 0!==r.count&&(this.count=r.count),void 0!==r.notice&&(this.notice=r.notice)};function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function w(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,r={};n&&(r.headers=n);var i=null;a&&(a.content_type_uid&&(i=a.content_type_uid,delete a.content_type_uid),r.params=w({},s()(a)));var c=function(){var a=m()(h().mark((function a(){var s;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t,r);case 3:if(!(s=a.sent).data){a.next=9;break}return i&&(s.data.content_type_uid=i),a.abrupt("return",new y(s,e,n,o));case 9:throw x(s);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(0),x(a.t0);case 15:case"end":return a.stop()}}),a,null,[[0,12]])})));return function(){return a.apply(this,arguments)}}(),p=function(){var a=m()(h().mark((function a(){var n;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r.params=w(w({},r.params),{},{count:!0}),a.prev=1,a.next=4,e.get(t,r);case 4:if(!(n=a.sent).data){a.next=9;break}return a.abrupt("return",n.data);case 9:throw x(n);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(1),x(a.t0);case 15:case"end":return a.stop()}}),a,null,[[1,12]])})));return function(){return a.apply(this,arguments)}}(),u=function(){var a=m()(h().mark((function a(){var s,c;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return(s=r).params.limit=1,a.prev=2,a.next=5,e.get(t,s);case 5:if(!(c=a.sent).data){a.next=11;break}return i&&(c.data.content_type_uid=i),a.abrupt("return",new y(c,e,n,o));case 11:throw x(c);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(2),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[2,14]])})));return function(){return a.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function O(e){for(var t=1;t4&&void 0!==p[4]?p[4]:null,i=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==r&&(n.locale=r),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,t.post(a,n,o);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw x(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),x(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(t,a,n,o){return e.apply(this,arguments)}}(),E=function(){var e=m()(h().mark((function e(t){var a,n,o,r,i,c,p,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.http,n=t.urlPath,o=t.stackHeaders,r=t.formData,i=t.params,c=t.method,p=void 0===c?"POST":c,u={headers:O(O({},i),s()(o))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",a.post(n,r,u));case 6:return e.abrupt("return",a.put(n,r,u));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.http,a=e.params;return function(){var e=m()(h().mark((function e(n,o){var r,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={headers:O(O({},s()(a)),s()(this.stackHeaders)),params:O({},s()(o))}||{},e.prev=1,e.next=4,t.post(this.urlPath,n,r);case 4:if(!(i=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(t,T(i,this.stackHeaders,this.content_type_uid)));case 9:throw x(i);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),x(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(t,a){return e.apply(this,arguments)}}()},C=function(e){var t=e.http,a=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(t,this.urlPath,e,this.stackHeaders,a)}},z=function(e,t){return m()(h().mark((function a(){var n,o,r,i,c=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(r=s()(this)).stackHeaders,delete r.urlPath,delete r.uid,delete r.org_uid,delete r.api_key,delete r.created_at,delete r.created_by,delete r.deleted_at,delete r.updated_at,delete r.updated_by,delete r.updated_at,o[t]=r,a.prev=15,a.next=18,e.put(this.urlPath,o,{headers:O({},s()(this.stackHeaders)),params:O({},s()(n))});case 18:if(!(i=a.sent).data){a.next=23;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders,this.content_type_uid)));case 23:throw x(i);case 24:a.next=29;break;case 26:throw a.prev=26,a.t0=a.catch(15),x(a.t0);case 29:case"end":return a.stop()}}),a,this,[[15,26]])})))},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(n))}||{},!0===t&&(o.params.force=!0),a.next=6,e.delete(this.urlPath,o);case 6:if(!(r=a.sent).data){a.next=11;break}return a.abrupt("return",r.data);case 11:if(!(r.status>=200&&r.status<300)){a.next=15;break}return a.abrupt("return",{status:r.status,statusText:r.statusText});case 15:throw x(r);case 16:a.next=21;break;case 18:throw a.prev=18,a.t0=a.catch(1),x(a.t0);case 21:case"end":return a.stop()}}),a,this,[[1,18]])})))},R=function(e,t){return m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(n))}||{},a.next=5,e.get(this.urlPath,o);case 5:if(!(r=a.sent).data){a.next=11;break}return"entry"===t&&(r.data[t].content_type=r.data.content_type,r.data[t].schema=r.data.schema),a.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 11:throw x(r);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(1),x(a.t0);case 17:case"end":return a.stop()}}),a,this,[[1,14]])})))},q=function(e,t){return m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=O({},s()(n))),a.prev=4,a.next=7,e.get(this.urlPath,o);case 7:if(!(r=a.sent).data){a.next=12;break}return a.abrupt("return",new y(r,e,this.stackHeaders,t));case 12:throw x(r);case 13:a.next=18;break;case 15:throw a.prev=15,a.t0=a.catch(4),x(a.t0);case 18:case"end":return a.stop()}}),a,this,[[4,15]])})))};function T(e,t,a){var n=e.data||{};return t&&(n.stackHeaders=t),a&&(n.content_type_uid=a),n}function F(e,t){return this.urlPath="/roles",this.stackHeaders=t.stackHeaders,t.role?(Object.assign(this,s()(t.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=z(e,"role"),this.delete=H(e),this.fetch=R(e,"role"))):(this.create=A({http:e}),this.fetchAll=q(e,D),this.query=C({http:e,wrapperCollection:D})),this}function D(e,t){return s()(t.roles||[]).map((function(a){return new F(e,{role:a,stackHeaders:t.stackHeaders})}))}function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function N(e){for(var t=1;t0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/stacks"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,Ye));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.addUser=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/share"),{share:N({},n)});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.getInvitations=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/share"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.resendInvitation=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.roles=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/roles"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,D));case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}())):this.fetchAll=q(e,B)}function B(e,t){return s()(t.organizations||[]).map((function(t){return new U(e,{organization:t})}))}function I(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/content_types",a.content_type?(Object.assign(this,s()(a.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=z(e,"content_type"),this.delete=H(e),this.fetch=R(e,"content_type"),this.entry=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return n.content_type_uid=t.uid,a&&(n.entry={uid:a}),new K(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Z}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function Z(e,t){return(s()(t.content_types)||[]).map((function(a){return new X(e,{content_type:a,stackHeaders:t.stackHeaders})}))}function ee(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.content_type);return t.append("content_type",a),t}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/global_fields",t.global_field?(Object.assign(this,s()(t.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=z(e,"global_field"),this.delete=H(e),this.fetch=R(e,"global_field")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ae}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw x(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function ae(e,t){return(s()(t.global_fields)||[]).map((function(a){return new te(e,{global_field:a,stackHeaders:t.stackHeaders})}))}function ne(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.global_field);return t.append("global_field",a),t}}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/delivery_tokens",t.token?(Object.assign(this,s()(t.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=z(e,"token"),this.delete=H(e),this.fetch=R(e,"token")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:re}))}function re(e,t){return(s()(t.tokens)||[]).map((function(a){return new oe(e,{token:a,stackHeaders:t.stackHeaders})}))}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/environments",t.environment?(Object.assign(this,s()(t.environment)),this.urlPath="/environments/".concat(this.name),this.update=z(e,"environment"),this.delete=H(e),this.fetch=R(e,"environment")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:se}))}function se(e,t){return(s()(t.environments)||[]).map((function(a){return new ie(e,{environment:a,stackHeaders:t.stackHeaders})}))}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stackHeaders&&(this.stackHeaders=t.stackHeaders),this.urlPath="/assets/folders",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=z(e,"asset"),this.delete=H(e),this.fetch=R(e,"asset")):this.create=A({http:e})}function pe(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/assets",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/".concat(this.uid),this.update=z(e,"asset"),this.delete=H(e),this.fetch=R(e,"asset"),this.replace=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n,method:"PUT"});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.publish=_(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new ce(e,n)},this.create=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.query=C({http:e,wrapperCollection:ue})),this}function ue(e,t){return(s()(t.assets)||[]).map((function(a){return new pe(e,{asset:a,stackHeaders:t.stackHeaders})}))}function le(e){return function(){var t=new(V());"string"==typeof e.parent_uid&&t.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&t.append("asset[description]",e.description),e.tags instanceof Array?t.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("asset[tags]",e.tags),"string"==typeof e.title&&t.append("asset[title]",e.title);var a=(0,J.createReadStream)(e.upload);return t.append("asset[upload]",a),t}}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/locales",t.locale?(Object.assign(this,s()(t.locale)),this.urlPath="/locales/".concat(this.code),this.update=z(e,"locale"),this.delete=H(e),this.fetch=R(e,"locale")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:me})),this}function me(e,t){return(s()(t.locales)||[]).map((function(a){return new de(e,{locale:a,stackHeaders:t.stackHeaders})}))}var fe=a(5514),he=a.n(fe);function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/extensions",t.extension?(Object.assign(this,s()(t.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=z(e,"extension"),this.delete=H(e),this.fetch=R(e,"extension")):(this.upload=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw x(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ve}))}function ve(e,t){return(s()(t.extensions)||[]).map((function(a){return new xe(e,{extension:a,stackHeaders:t.stackHeaders})}))}function be(e){return function(){var t=new(V());"string"==typeof e.title&&t.append("extension[title]",e.title),"object"===he()(e.scope)&&t.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&t.append("extension[data_type]",e.data_type),"string"==typeof e.type&&t.append("extension[type]",e.type),e.tags instanceof Array?t.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&t.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&t.append("extension[enable]","".concat(e.enable));var a=(0,J.createReadStream)(e.upload);return t.append("extension[upload]",a),t}}function ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ge(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/webhooks",a.webhook?(Object.assign(this,s()(a.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=z(e,"webhook"),this.delete=H(e),this.fetch=R(e,"webhook"),this.executions=function(){var a=m()(h().mark((function a(n){var o,r;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),n&&(o.params=ge({},s()(n))),a.prev=3,a.next=6,e.get("".concat(t.urlPath,"/executions"),o);case 6:if(!(r=a.sent).data){a.next=11;break}return a.abrupt("return",r.data);case 11:throw x(r);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.retry=function(){var a=m()(h().mark((function a(n){var o,r;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(r=a.sent).data){a.next=10;break}return a.abrupt("return",r.data);case 10:throw x(r);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(2),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[2,13]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.fetchAll=q(e,ke)),this.import=function(){var a=m()(h().mark((function a(n){var o;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,E({http:e,urlPath:"".concat(t.urlPath,"/import"),stackHeaders:t.stackHeaders,formData:je(n)});case 3:if(!(o=a.sent).data){a.next=8;break}return a.abrupt("return",new t.constructor(e,T(o,t.stackHeaders)));case 8:throw x(o);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this}function ke(e,t){return(s()(t.webhooks)||[]).map((function(a){return new we(e,{webhook:a,stackHeaders:t.stackHeaders})}))}function je(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.webhook);return t.append("webhook",a),t}}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows/publishing_rules",t.publishing_rule?(Object.assign(this,s()(t.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=z(e,"publishing_rule"),this.delete=H(e),this.fetch=R(e,"publishing_rule")):(this.create=A({http:e}),this.fetchAll=q(e,_e))}function _e(e,t){return(s()(t.publishing_rules)||[]).map((function(a){return new Oe(e,{publishing_rule:a,stackHeaders:t.stackHeaders})}))}function Se(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Pe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows",a.workflow?(Object.assign(this,s()(a.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=z(e,"workflow"),this.disable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.enable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw x(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),x(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.delete=H(e),this.fetch=R(e,"workflow")):(this.contentType=function(a){if(a){var n=function(){var t=m()(h().mark((function t(n){var o,r;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Pe({},s()(n))),t.prev=3,t.next=6,e.get("/workflows/content_type/".concat(a),o);case 6:if(!(r=t.sent).data){t.next=11;break}return t.abrupt("return",new y(r,e,this.stackHeaders,_e));case 11:throw x(r);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),x(t.t0);case 17:case"end":return t.stop()}}),t,this,[[3,14]])})));return function(e){return t.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Pe({},t.stackHeaders)}}},this.create=A({http:e}),this.fetchAll=q(e,Ae),this.publishRule=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.publishing_rule={uid:a}),new Oe(e,n)})}function Ae(e,t){return(s()(t.workflows)||[]).map((function(a){return new Ee(e,{workflow:a,stackHeaders:t.stackHeaders})}))}function Ce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,a.item&&Object.assign(this,s()(a.item)),a.releaseUid&&(this.urlPath="releases/".concat(a.releaseUid,"/items"),this.delete=function(){var n=m()(h().mark((function n(o){var r,i,c;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r={},void 0===o&&(r={all:!0}),n.prev=2,i={headers:ze({},s()(t.stackHeaders)),data:ze({},s()(o)),params:ze({},s()(r))}||{},n.next=6,e.delete(t.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Fe(e,ze(ze({},c.data),{},{stackHeaders:a.stackHeaders})));case 11:throw x(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),x(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=m()(h().mark((function n(o){var r,i;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r={headers:ze({},s()(t.stackHeaders))}||{},n.prev=1,n.next=4,e.post(o.item?"releases/".concat(a.releaseUid,"/item"):t.urlPath,o,r);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Fe(e,ze(ze({},i.data),{},{stackHeaders:a.stackHeaders})));case 8:n.next=11;break;case 10:throw x(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),x(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,o={headers:ze({},s()(t.stackHeaders)),params:ze({},s()(n))}||{},a.next=5,e.get(t.urlPath,o);case 5:if(!(r=a.sent).data){a.next=10;break}return a.abrupt("return",new y(r,e,t.stackHeaders,Re));case 10:throw x(r);case 11:a.next=16;break;case 13:a.prev=13,a.t0=a.catch(1),x(a.t0);case 16:case"end":return a.stop()}}),a,null,[[1,13]])})))),this}function Re(e,t,a){return(s()(t.items)||[]).map((function(n){return new He(e,{releaseUid:a,item:n,stackHeaders:t.stackHeaders})}))}function qe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Te(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/releases",a.release?(Object.assign(this,s()(a.release)),a.release.items&&(this.items=new Re(e,{items:a.release.items,stackHeaders:a.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=z(e,"release"),this.fetch=R(e,"release"),this.delete=H(e),this.item=function(){return new He(e,{releaseUid:t.uid,stackHeaders:t.stackHeaders})},this.deploy=function(){var a=m()(h().mark((function a(n){var o,r,i,c,p,u,l;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.environments,r=n.locales,i=n.scheduledAt,c=n.action,p={environments:o,locales:r,scheduledAt:i,action:c},u={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=a.sent).data){a.next=11;break}return a.abrupt("return",l.data);case 11:throw x(l);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.clone=function(){var a=m()(h().mark((function a(n){var o,r,i,c,p;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.name,r=n.description,i={name:o,description:r},c={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/clone"),{release:i},c);case 6:if(!(p=a.sent).data){a.next=11;break}return a.abrupt("return",new Fe(e,p.data));case 11:throw x(p);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),x(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:De})),this}function De(e,t){return(s()(t.releases)||[]).map((function(a){return new Fe(e,{release:a,stackHeaders:t.stackHeaders})}))}function Le(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ne(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/bulk",this.publish=function(){var a=m()(h().mark((function a(n){var o,r,i,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,r=n.skip_workflow_stage,i=void 0!==r&&r,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),i&&(m.headers.skip_workflow_stage_check=i),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/publish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.unpublish=function(){var a=m()(h().mark((function a(n){var o,r,i,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,r=n.skip_workflow_stage,i=void 0!==r&&r,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),i&&(m.headers.skip_workflow_stage_check=i),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/unpublish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.delete=m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),r={headers:Ne({},s()(t.stackHeaders))},a.abrupt("return",P(e,"/bulk/delete",o,r));case 5:case"end":return a.stop()}}),a)})))}function Be(e,t){this.stackHeaders=t.stackHeaders,this.urlPath="/labels",t.label?(Object.assign(this,s()(t.label)),this.urlPath="/labels/".concat(this.uid),this.update=z(e,"label"),this.delete=H(e),this.fetch=R(e,"label")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Ie}))}function Ie(e,t){return(s()(t.labels)||[]).map((function(a){return new Be(e,{label:a,stackHeaders:t.stackHeaders})}))}function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/branches",t.branch=t.branch||t.branch_alias,delete t.branch_alias,t.branch?(Object.assign(this,s()(t.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=H(e,!0),this.fetch=R(e,"branch")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:We})),this}function We(e,t){return(s()(t.branches)||t.branch_aliases||[]).map((function(a){return new Me(e,{branch:a,stackHeaders:t.stackHeaders})}))}function Ge(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function $e(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/branch_aliases",a.branch_alias?(Object.assign(this,s()(a.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var a=m()(h().mark((function a(n){var o;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.put(t.urlPath,{branch_alias:{target_branch:n}},{headers:$e({},s()(t.stackHeaders))});case 3:if(!(o=a.sent).data){a.next=8;break}return a.abrupt("return",new Me(e,T(o,t.stackHeaders)));case 8:throw x(o);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),x(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.delete=H(e,!0),this.fetch=m()(h().mark((function t(){var a,n,o,r=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,n={headers:$e({},s()(this.stackHeaders)),params:$e({},s()(a))}||{},t.next=5,e.get(this.urlPath,n);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",new Me(e,T(o,this.stackHeaders)));case 10:throw x(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(1),x(t.t0);case 16:case"end":return t.stop()}}),t,this,[[1,13]])})))):this.fetchAll=q(e,We),this}function Je(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ke(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.content_type={uid:t}),new X(e,n)},this.locale=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.locale={code:t}),new de(e,n)},this.asset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new pe(e,n)},this.globalField=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.global_field={uid:t}),new te(e,n)},this.environment=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.environment={name:t}),new ie(e,n)},this.branch=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.branch={uid:t}),new Me(e,n)},this.branchAlias=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.branch_alias={uid:t}),new Ve(e,n)},this.deliveryToken=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.token={uid:t}),new oe(e,n)},this.extension=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.extension={uid:t}),new xe(e,n)},this.workflow=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.workflow={uid:t}),new Ee(e,n)},this.webhook=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.webhook={uid:t}),new we(e,n)},this.label=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.label={uid:t}),new Be(e,n)},this.release=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.release={uid:t}),new Fe(e,n)},this.bulkOperation=function(){var t={stackHeaders:a.stackHeaders};return new Ue(e,t)},this.users=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a.urlPath,{params:{include_collaborators:!0},headers:Ke({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",G(e,n.data.stack));case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ke({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.settings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/settings"),{headers:Ke({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.resetSettings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ke({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",x(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.addSettings=m()(h().mark((function t(){var n,o,r=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,t.next=4,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ke({},s()(a.stackHeaders))});case 4:if(!(o=t.sent).data){t.next=9;break}return t.abrupt("return",o.data.stack_settings);case 9:return t.abrupt("return",x(o));case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(1),t.abrupt("return",x(t.t0));case 15:case"end":return t.stop()}}),t,null,[[1,12]])}))),this.share=m()(h().mark((function t(){var n,o,r,i=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/share"),{emails:n,roles:o},{headers:Ke({},s()(a.stackHeaders))});case 5:if(!(r=t.sent).data){t.next=10;break}return t.abrupt("return",r.data);case 10:return t.abrupt("return",x(r));case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",x(t.t0));case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),this.unShare=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/unshare"),{email:n},{headers:Ke({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",x(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",x(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.role=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.role={uid:t}),new F(e,n)}):(this.create=A({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=C({http:e,wrapperCollection:Ye})),this}function Ye(e,t){var a=t.stacks||[];return s()(a).map((function(t){return new Qe(e,{stack:t})}))}function Xe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return t.post("/user-session",{user:e},{params:a}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(t.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new W(t,e.data)),e.data}),x)},logout:function(e){return void 0!==e?t.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),x):t.delete("/user-session").then((function(e){return t.defaults.headers.common&&delete t.defaults.headers.common.authtoken,delete t.defaults.headers.authtoken,delete t.httpClientParams.authtoken,delete t.httpClientParams.headers.authtoken,e.data}),x)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.get("/user",{params:e}).then((function(e){return new W(t,e.data)}),x)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=Ze({},s()(e));return new Qe(t,{stack:a})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(t,null!==e?{organization:{uid:e}}:null)},axiosInstance:t}}var tt=a(1362),at=a.n(tt),nt=a(903),ot=a.n(nt),rt=a(5607),it=a.n(rt);function st(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ct(e){for(var t=1;t0&&setTimeout((function(){e(a)}),a),new Promise((function(e){return setTimeout((function(){t.paused=!1;for(var e=0;et.config.retryLimit)return Promise.reject(i(e));if(t.config.retryDelayOptions)if(t.config.retryDelayOptions.customBackoff){if((c=t.config.retryDelayOptions.customBackoff(o,e))&&c<=0)return Promise.reject(i(e))}else t.config.retryDelayOptions.base&&(c=t.config.retryDelayOptions.base*o);else c=t.config.retryDelay;return e.config.retryCount=o,new Promise((function(t){return setTimeout((function(){return t(a(s(e,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(e,n,o){var r=e.config;return t.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==a&&void 0!==a.defaults&&(a.defaults.agent===r.agent&&delete r.agent,a.defaults.httpAgent===r.httpAgent&&delete r.httpAgent,a.defaults.httpsAgent===r.httpsAgent&&delete r.httpsAgent),r.data=c(r),r.transformRequest=[function(e){return e}],r},c=function(e){if(e.formdata){var t=e.formdata();return e.headers=ct(ct({},e.headers),t.getHeaders()),t}return e.data};this.interceptors.request=a.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=c(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var a=it().CancelToken.source();e.cancelToken=a.token,e.source=a}return t.paused&&e.retryCount>0?new Promise((function(a){t.unshift({request:e,resolve:a})})):e.retryCount>0?e:new Promise((function(a){e.onComplete=function(){t.running.pop({request:e,resolve:a})},t.push({request:e,resolve:a})}))})),this.interceptors.response=a.interceptors.response.use(i,(function(e){var n=e.config.retryCount,o=null;if(!t.config.retryOnError||n>t.config.retryLimit)return Promise.reject(i(e));var c=t.config.retryDelay,p=e.response;if(p){if(429===p.status)return o="Error with status: ".concat(p.status),++n>t.config.retryLimit?Promise.reject(i(e)):(t.running.shift(),r(c),e.config.retryCount=n,a(s(e,o,c)))}else{if("ECONNABORTED"!==e.code)return Promise.reject(i(e));e.response=ct(ct({},e.response),{},{status:408,statusText:"timeout of ".concat(t.config.timeout,"ms exceeded")}),p=e.response}return t.config.retryCondition&&t.config.retryCondition(e)?(o=e.response?"Error with status: ".concat(p.status):"Error Code:".concat(e.code),n++,t.retry(e,o,n,c)):Promise.reject(i(e))}))}function lt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function dt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t={defaultHostName:"api.contentstack.io"},a="contentstack-management-javascript/".concat(r),n=l(a,e.application,e.integration,e.feature),o={"X-User-Agent":a,"User-Agent":n};e.authtoken&&(o.authtoken=e.authtoken),(e=ht(ht({},t),s()(e))).headers=ht(ht({},e.headers),o);var i=mt(e);return et({http:i})}},2520:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},9087:e=>{function t(e,t,a,n,o,r,i){try{var s=e[r](i),c=s.value}catch(e){return void a(e)}s.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var a=this,n=arguments;return new Promise((function(o,r){var i=e.apply(a,n);function s(e){t(i,o,r,s,c,"next",e)}function c(e){t(i,o,r,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},1637:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},5213:e=>{e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},e.exports.default=e.exports,e.exports.__esModule=!0},8481:e=>{e.exports=function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r=[],i=!0,s=!1;try{for(a=a.call(e);!(i=(n=a.next()).done)&&(r.push(n.value),!t||r.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==a.return||a.return()}finally{if(s)throw o}}return r}},e.exports.default=e.exports,e.exports.__esModule=!0},6743:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},1362:(e,t,a)=>{var n=a(5897),o=a(8481),r=a(4871),i=a(6743);e.exports=function(e,t){return n(e)||o(e,t)||r(e,t)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},5514:e=>{function t(a){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(a)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},4871:(e,t,a)=>{var n=a(2520);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},5843:(e,t,a)=>{e.exports=a(8041)},5863:(e,t,a)=>{e.exports={parallel:a(9977),serial:a(7709),serialOrdered:a(910)}},3296: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={}}},5021:(e,t,a)=>{var n=a(5393);e.exports=function(e){var t=!1;return n((function(){t=!0})),function(a,o){t?e(a,o):n((function(){e(a,o)}))}}},5393:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},5099:(e,t,a)=>{var n=a(5021),o=a(3296);e.exports=function(e,t,a,r){var i=a.keyedList?a.keyedList[a.index]:a.index;a.jobs[i]=function(e,t,a,o){return 2==e.length?e(a,n(o)):e(a,t,n(o))}(t,i,e[i],(function(e,t){i in a.jobs&&(delete a.jobs[i],e?o(a):a.results[i]=t,r(e,a.results))}))}},3929:e=>{e.exports=function(e,t){var a=!Array.isArray(e),n={index:0,keyedList:a||t?Object.keys(e):null,jobs:{},results:a?{}:[],size:a?Object.keys(e).length:e.length};return t&&n.keyedList.sort(a?t:function(a,n){return t(e[a],e[n])}),n}},4567:(e,t,a)=>{var n=a(3296),o=a(5021);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),o(e)(null,this.results))}},9977:(e,t,a)=>{var n=a(5099),o=a(3929),r=a(4567);e.exports=function(e,t,a){for(var i=o(e);i.index<(i.keyedList||e).length;)n(e,t,i,(function(e,t){e?a(e,t):0!==Object.keys(i.jobs).length||a(null,i.results)})),i.index++;return r.bind(i,a)}},7709:(e,t,a)=>{var n=a(910);e.exports=function(e,t,a){return n(e,t,null,a)}},910:(e,t,a)=>{var n=a(5099),o=a(3929),r=a(4567);function i(e,t){return et?1:0}e.exports=function(e,t,a,i){var s=o(e,a);return n(e,t,s,(function a(o,r){o?i(o,r):(s.index++,s.index<(s.keyedList||e).length?n(e,t,s,a):i(null,s.results))})),r.bind(s,i)},e.exports.ascending=i,e.exports.descending=function(e,t){return-1*i(e,t)}},5607:(e,t,a)=>{e.exports=a(5353)},9e3:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),r=a(2314),i=a(8774),s=a(3685),c=a(5687),p=a(5572).http,u=a(5572).https,l=a(7310),d=a(9796),m=a(8593),f=a(8991),h=a(4418),x=/https:?/;function v(e,t,a){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=a,t.auth){var n=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+n}e.beforeRedirect=function(e){e.headers.host=e.host,v(e,t,e.href)}}e.exports=function(e){return new Promise((function(t,a){var b=function(e){t(e)},y=function(e){a(e)},g=e.data,w=e.headers;if("User-Agent"in w||"user-agent"in w?w["User-Agent"]||w["user-agent"]||(delete w["User-Agent"],delete w["user-agent"]):w["User-Agent"]="axios/"+m.version,g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return y(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}w["Content-Length"]=g.length}var k=void 0;e.auth&&(k=(e.auth.username||"")+":"+(e.auth.password||""));var j=r(e.baseURL,e.url),O=l.parse(j),_=O.protocol||"http:";if(!k&&O.auth){var S=O.auth.split(":");k=(S[0]||"")+":"+(S[1]||"")}k&&delete w.Authorization;var P=x.test(_),E=P?e.httpsAgent:e.httpAgent,A={path:i(O.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:w,agent:E,agents:{http:e.httpAgent,https:e.httpsAgent},auth:k};e.socketPath?A.socketPath=e.socketPath:(A.hostname=O.hostname,A.port=O.port);var C,z=e.proxy;if(!z&&!1!==z){var H=_.slice(0,-1)+"_proxy",R=process.env[H]||process.env[H.toUpperCase()];if(R){var q=l.parse(R),T=process.env.no_proxy||process.env.NO_PROXY,F=!0;if(T&&(F=!T.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||"."===e[0]&&O.hostname.substr(O.hostname.length-e.length)===e||O.hostname===e)}))),F&&(z={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var D=q.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(A.headers.host=O.hostname+(O.port?":"+O.port:""),v(A,z,_+"//"+O.hostname+(O.port?":"+O.port:"")+A.path));var L=P&&(!z||x.test(z.protocol));e.transport?C=e.transport:0===e.maxRedirects?C=L?c:s:(e.maxRedirects&&(A.maxRedirects=e.maxRedirects),C=L?u:p),e.maxBodyLength>-1&&(A.maxBodyLength=e.maxBodyLength);var N=C.request(A,(function(t){if(!N.aborted){var a=t,r=t.req||N;if(204!==t.statusCode&&"HEAD"!==r.method&&!1!==e.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":a=a.pipe(d.createUnzip()),delete t.headers["content-encoding"]}var i={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:r};if("stream"===e.responseType)i.data=a,o(b,y,i);else{var s=[],c=0;a.on("data",(function(t){s.push(t),c+=t.length,e.maxContentLength>-1&&c>e.maxContentLength&&(a.destroy(),y(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,r)))})),a.on("error",(function(t){N.aborted||y(h(t,e,null,r))})),a.on("end",(function(){var t=Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=n.stripBOM(t))),i.data=t,o(b,y,i)}))}}}));if(N.on("error",(function(t){N.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||y(h(t,e,null,N))})),e.timeout){var U=parseInt(e.timeout,10);if(isNaN(U))return void y(f("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",N));N.setTimeout(U,(function(){N.abort(),y(f("timeout of "+U+"ms exceeded",e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",N))}))}e.cancelToken&&e.cancelToken.promise.then((function(e){N.aborted||(N.abort(),y(e))})),n.isStream(g)?g.on("error",(function(t){y(h(t,e,null,N))})).pipe(N):N.end(g)}))}},6156:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),r=a(9439),i=a(8774),s=a(2314),c=a(9229),p=a(7417),u=a(8991);e.exports=function(e){return new Promise((function(t,a){var l=e.data,d=e.headers,m=e.responseType;n.isFormData(l)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+x)}var v=s(e.baseURL,e.url);function b(){if(f){var n="getAllResponseHeaders"in f?c(f.getAllResponseHeaders()):null,r={data:m&&"text"!==m&&"json"!==m?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};o(t,a,r),f=null}}if(f.open(e.method.toUpperCase(),i(v,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,"onloadend"in f?f.onloadend=b:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(b)},f.onabort=function(){f&&(a(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){a(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),a(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var y=(e.withCredentials||p(v))&&e.xsrfCookieName?r.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}"setRequestHeader"in f&&n.forEach(d,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),m&&"json"!==m&&(f.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),a(e),f=null)})),l||(l=null),f.send(l)}))}},5353:(e,t,a)=>{"use strict";var n=a(8114),o=a(5507),r=a(9080),i=a(532);function s(e){var t=new r(e),a=o(r.prototype.request,t);return n.extend(a,r.prototype,t),n.extend(a,t),a}var c=s(a(5786));c.Axios=r,c.create=function(e){return s(i(c.defaults,e))},c.Cancel=a(4183),c.CancelToken=a(637),c.isCancel=a(9234),c.all=function(e){return Promise.all(e)},c.spread=a(8620),c.isAxiosError=a(7816),e.exports=c,e.exports.default=c},4183: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},637:(e,t,a)=>{"use strict";var n=a(4183);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var a=this;e((function(e){a.reason||(a.reason=new n(e),t(a.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},9234:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},9080:(e,t,a)=>{"use strict";var n=a(8114),o=a(8774),r=a(7666),i=a(9659),s=a(532),c=a(639),p=c.validators;function u(e){this.defaults=e,this.interceptors={request:new r,response:new r}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:p.transitional(p.boolean,"1.0.0"),forcedJSONParsing:p.transitional(p.boolean,"1.0.0"),clarifyTimeoutError:p.transitional(p.boolean,"1.0.0")},!1);var a=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));var o,r=[];if(this.interceptors.response.forEach((function(e){r.push(e.fulfilled,e.rejected)})),!n){var u=[i,void 0];for(Array.prototype.unshift.apply(u,a),u=u.concat(r),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var l=e;a.length;){var d=a.shift(),m=a.shift();try{l=d(l)}catch(e){m(e);break}}try{o=i(l)}catch(e){return Promise.reject(e)}for(;r.length;)o=o.then(r.shift(),r.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,a){return this.request(s(a||{},{method:e,url:t,data:(a||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,a,n){return this.request(s(n||{},{method:e,url:t,data:a}))}})),e.exports=u},7666:(e,t,a)=>{"use strict";var n=a(8114);function o(){this.handlers=[]}o.prototype.use=function(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},2314:(e,t,a)=>{"use strict";var n=a(2483),o=a(8944);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},8991:(e,t,a)=>{"use strict";var n=a(4418);e.exports=function(e,t,a,o,r){var i=new Error(e);return n(i,t,a,o,r)}},9659:(e,t,a)=>{"use strict";var n=a(8114),o=a(2602),r=a(9234),i=a(5786);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return r(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4418:e=>{"use strict";e.exports=function(e,t,a,n,o){return e.config=t,a&&(e.code=a),e.request=n,e.response=o,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}},e}},532:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){t=t||{};var a={},o=["url","method","data"],r=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function p(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(a[e]=c(void 0,t[e]))})),n.forEach(r,p),n.forEach(i,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(void 0,t[o])})),n.forEach(s,(function(n){n in t?a[n]=c(e[n],t[n]):n in e&&(a[n]=c(void 0,e[n]))}));var u=o.concat(r).concat(i).concat(s),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return n.forEach(l,p),a}},5476:(e,t,a)=>{"use strict";var n=a(8991);e.exports=function(e,t,a){var o=a.config.validateStatus;a.status&&o&&!o(a.status)?t(n("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},2602:(e,t,a)=>{"use strict";var n=a(8114),o=a(5786);e.exports=function(e,t,a){var r=this||o;return n.forEach(a,(function(a){e=a.call(r,e,t)})),e}},5786:(e,t,a)=>{"use strict";var n=a(8114),o=a(678),r=a(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,p={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?c=a(6156):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(c=a(9e3)),c),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,a){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,a=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!a&&"json"===this.responseType;if(i||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw r(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, */*"}}};n.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){p.headers[e]=n.merge(i)})),e.exports=p},5507:e=>{"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),n=0;n{"use strict";var n=a(8114);function o(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,a){if(!t)return e;var r;if(a)r=a(t);else if(n.isURLSearchParams(t))r=t.toString();else{var i=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),r=i.join("&")}if(r){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},8944:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9439:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,a,o,r,i){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(a)&&s.push("expires="+new Date(a).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(r)&&s.push("domain="+r),!0===i&&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(){}}},2483:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7816:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(e){return"object"===t(e)&&!0===e.isAxiosError}},7417:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function o(e){var n=e;return t&&(a.setAttribute("href",n),n=a.href),a.setAttribute("href",n),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=o(window.location.href),function(t){var a=n.isString(t)?o(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return!0}},678:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){n.forEach(e,(function(a,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[n])}))}},9229:(e,t,a)=>{"use strict";var n=a(8114),o=["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,a,r,i={};return e?(n.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=n.trim(e.substr(0,r)).toLowerCase(),a=n.trim(e.substr(r+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([a]):i[t]?i[t]+", "+a:a}})),i):i}},8620:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},639:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(8593),r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(a){return n(a)===e||"a"+(t<1?"n ":" ")+e}}));var i={},s=o.version.split(".");function c(e,t){for(var a=t?t.split("."):s,n=e.split("."),o=0;o<3;o++){if(a[o]>n[o])return!0;if(a[o]0;){var i=o[r],s=t[i];if(s){var c=e[i],p=void 0===c||s(c,i,e);if(!0!==p)throw new TypeError("option "+i+" must be "+p)}else if(!0!==a)throw Error("Unknown option "+i)}},validators:r}},8114:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(5507),r=Object.prototype.toString;function i(e){return"[object Array]"===r.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===n(e)}function p(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===r.call(e)}function l(e,t){if(null!=e)if("object"!==n(e)&&(e=[e]),i(e))for(var a=0,o=e.length;a{"use strict";var n=a(459),o=a(5223),r=o(n("String.prototype.indexOf"));e.exports=function(e,t){var a=n(e,!!t);return"function"==typeof a&&r(e,".prototype.")>-1?o(a):a}},5223:(e,t,a)=>{"use strict";var n=a(3459),o=a(459),r=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,r),c=o("%Object.getOwnPropertyDescriptor%",!0),p=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){var t=s(n,i,arguments);if(c&&p){var a=c(t,"length");a.configurable&&p(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var l=function(){return s(n,r,arguments)};p?p(e.exports,"apply",{value:l}):e.exports.apply=l},8670:(e,t,a)=>{var n=a(3837),o=a(2781).Stream,r=a(256);function i(){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=i,n.inherits(i,o),i.create=function(e){var t=new this;for(var a in e=e||{})t[a]=e[a];return t},i.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},i.prototype.append=function(e){if(i.isStreamLike(e)){if(!(e instanceof r)){var t=r.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},i.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},i.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}}},i.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){i.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},i.prototype._pipeNext=function(e){if(this._currentStream=e,i.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},i.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},i.prototype.write=function(e){this.emit("data",e)},i.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},i.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")},i.prototype.end=function(){this._reset(),this.emit("end")},i.prototype.destroy=function(){this._reset(),this.emit("close")},i.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},i.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},i.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)},i.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},1820:e=>{function t(e){return t="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},t(e)}var a=1e3,n=60*a,o=60*n,r=24*o;function i(e,t,a,n){var o=t>=1.5*a;return Math.round(e/a)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var c,p,u=t(e);if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\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(t){var i=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*r;case"hours":case"hour":case"hrs":case"hr":case"h":return i*o;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=r?i(c,p,r,"day"):p>=o?i(c,p,o,"hour"):p>=n?i(c,p,n,"minute"):p>=a?i(c,p,a,"second"):c+" ms"):function(e){var t=Math.abs(e);return t>=r?Math.round(e/r)+"d":t>=o?Math.round(e/o)+"h":t>=n?Math.round(e/n)+"m":t>=a?Math.round(e/a)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},8682:(e,t,a)=>{var 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){var a="color: "+this.color;t.splice(1,0,a,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,a)}},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.destroy=(n=!1,function(){n||(n=!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||function(){},e.exports=a(3894)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3894:(e,t,a)=>{function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=a(8682):e.exports=a(6193)},6193:(e,t,a)=>{var n=a(6224),o=a(3837);t.init=function(e){e.inspectOpts={};for(var a=Object.keys(t.inspectOpts),n=0;n=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 a=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[a]=n,e}),{}),e.exports=a(3894)(t);var i=e.exports.formatters;i.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},256:(e,t,a)=>{var n=a(2781).Stream,o=a(3837);function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=r,o.inherits(r,n),r.create=function(e,t){var a=new this;for(var n in t=t||{})a[n]=t[n];a.source=e;var o=e.emit;return e.emit=function(){return a._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),a.pauseStream&&e.pause(),a},Object.defineProperty(r.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},r.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))},r.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))}}},5600:(e,t,a)=>{var n;e.exports=function(){if(!n){try{n=a(987)("follow-redirects")}catch(e){}"function"!=typeof n&&(n=function(){})}n.apply(null,arguments)}},5572:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(7310),r=o.URL,i=a(3685),s=a(5687),c=a(2781).Writable,p=a(9491),u=a(5600),l=["abort","aborted","connect","error","socket","timeout"],d=Object.create(null);l.forEach((function(e){d[e]=function(t,a,n){this._redirectable.emit(e,t,a,n)}}));var m=k("ERR_FR_REDIRECTION_FAILURE",""),f=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),h=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),x=k("ERR_STREAM_WRITE_AFTER_END","write after end");function v(e,t){c.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 a=this;this._onNativeResponse=function(e){a._processResponse(e)},this._performRequest()}function b(e){var t={maxRedirects:21,maxBodyLength:10485760},a={};return Object.keys(e).forEach((function(n){var i=n+":",s=a[i]=e[n],c=t[n]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,n,s){if("string"==typeof e){var c=e;try{e=g(new r(c))}catch(t){e=o.parse(c)}}else r&&e instanceof r?e=g(e):(s=n,n=e,e={protocol:i});return"function"==typeof n&&(s=n,n=null),(n=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,n)).nativeProtocols=a,p.equal(n.protocol,i,"protocol mismatch"),u("options",n),new v(n,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,a){var n=c.request(e,t,a);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),t}function y(){}function g(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 a;for(var n in t)e.test(n)&&(a=t[n],delete t[n]);return a}function k(e,t){function a(e){Error.captureStackTrace(this,this.constructor),this.message=e||t}return a.prototype=new Error,a.prototype.constructor=a,a.prototype.name="Error ["+e+"]",a.prototype.code=e,a}function j(e){for(var t=0;t=300&&t<400){if(j(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new f);((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 n=w(/^host$/i,this._options.headers)||o.parse(this._currentUrl).hostname,r=o.resolve(this._currentUrl,a);u("redirecting to",r),this._isRedirect=!0;var i=o.parse(r);if(Object.assign(this._options,i),i.hostname!==n&&w(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new m("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=b({http:i,https:s}),e.exports.wrap=b},2876:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(8670),r=a(3837),i=a(1017),s=a(3685),c=a(5687),p=a(7310).parse,u=a(6231),l=a(5038),d=a(5863),m=a(3829);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,a){"string"==typeof(a=a||{})&&(a={filename:a});var n=o.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),r.isArray(t))this._error(new Error("Arrays are not supported."));else{var i=this._multiPartHeader(e,t,a),s=this._multiPartFooter();n(i),n(t),n(s),this._trackLength(i,t,a)}},f.prototype._trackLength=function(e,t,a){var n=0;null!=a.knownLength?n+=+a.knownLength:Buffer.isBuffer(t)?n=t.length:"string"==typeof t&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+f.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(a.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)):u.stat(e.path,(function(a,n){var o;a?t(a):(o=n.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(a){e.pause(),t(null,+a.headers["content-length"])})),e.resume()):t("Unknown stream")},f.prototype._multiPartHeader=function(e,t,a){if("string"==typeof a.header)return a.header;var o,r=this._getContentDisposition(t,a),i=this._getContentType(t,a),s="",c={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};for(var p in"object"==n(a.header)&&m(c,a.header),c)c.hasOwnProperty(p)&&null!=(o=c[p])&&(Array.isArray(o)||(o=[o]),o.length&&(s+=p+": "+o.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+s+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var a,n;return"string"==typeof t.filepath?a=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?a=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=i.basename(e.client._httpMessage.path||"")),a&&(n='filename="'+a+'"'),n},f.prototype._getContentType=function(e,t){var a=t.contentType;return!a&&e.name&&(a=l.lookup(e.name)),!a&&e.path&&(a=l.lookup(e.path)),!a&&e.readable&&e.hasOwnProperty("httpVersion")&&(a=e.headers["content-type"]),a||!t.filepath&&!t.filename||(a=l.lookup(t.filepath||t.filename)),a||"object"!=n(e)||(a=f.DEFAULT_CONTENT_TYPE),a},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,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(a[t.toLowerCase()]=e[t]);return a},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(),a=0,n=this._streams.length;a{e.exports=function(e,t){return Object.keys(t).forEach((function(a){e[a]=e[a]||t[a]})),e}},5770:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",a=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var r=this;if("function"!=typeof r||n.call(r)!==o)throw new TypeError(t+r);for(var i,s=a.call(arguments,1),c=function(){if(this instanceof i){var t=r.apply(this,s.concat(a.call(arguments)));return Object(t)===t?t:this}return r.apply(e,s.concat(a.call(arguments)))},p=Math.max(0,r.length-s.length),u=[],l=0;l{"use strict";var n=a(5770);e.exports=Function.prototype.bind||n},459:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o,r=SyntaxError,i=Function,s=TypeError,c=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var u=function(){throw new s},l=p?function(){try{return u}catch(e){try{return p(arguments,"callee").get}catch(e){return u}}}():u,d=a(8681)(),m=Object.getPrototypeOf||function(e){return e.__proto__},f={},h="undefined"==typeof Uint8Array?o:m(Uint8Array),x={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":d?m([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%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%":f,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?m(m([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?m((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&&d?m((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?m(""[Symbol.iterator]()):o,"%Symbol%":d?Symbol:o,"%SyntaxError%":r,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":s,"%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},v=function e(t){var a;if("%AsyncFunction%"===t)a=c("async function () {}");else if("%GeneratorFunction%"===t)a=c("function* () {}");else if("%AsyncGeneratorFunction%"===t)a=c("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(a=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(a=m(o.prototype))}return x[t]=a,a},b={"%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"]},y=a(3459),g=a(8482),w=y.call(Function.call,Array.prototype.concat),k=y.call(Function.apply,Array.prototype.splice),j=y.call(Function.call,String.prototype.replace),O=y.call(Function.call,String.prototype.slice),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,P=function(e){var t=O(e,0,1),a=O(e,-1);if("%"===t&&"%"!==a)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===a&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,_,(function(e,t,a,o){n[n.length]=a?j(o,S,"$1"):t||e})),n},E=function(e,t){var a,n=e;if(g(b,n)&&(n="%"+(a=b[n])[0]+"%"),g(x,n)){var o=x[n];if(o===f&&(o=v(n)),void 0===o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');var a=P(e),n=a.length>0?a[0]:"",o=E("%"+n+"%",t),i=o.name,c=o.value,u=!1,l=o.alias;l&&(n=l[0],k(a,w([0,1],l)));for(var d=1,m=!0;d=a.length){var b=p(c,f);c=(m=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[f]}else m=g(c,f),c=c[f];m&&!u&&(x[i]=c)}}return c}},7222:e=>{"use strict";e.exports=function(e,t){t=t||process.argv;var a=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(a+e),o=t.indexOf("--");return-1!==n&&(-1===o||n{"use strict";function n(e){return n="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},n(e)}var o=global.Symbol,r=a(2636);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&r()}},2636:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===t(Symbol.iterator))return!0;var e={},a=Symbol("test"),n=Object(a);if("string"==typeof a)return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(a in e[a]=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]!==a)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,a))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,a);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},8482:(e,t,a)=>{"use strict";var n=a(3459);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(e,t,a)=>{var n=a(8842)(a(6378),"DataView");e.exports=n},9985:(e,t,a)=>{var n=a(4494),o=a(8002),r=a(6984),i=a(9930),s=a(1556);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(4160),o=a(4389),r=a(1710),i=a(4102),s=a(8594);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Map");e.exports=n},3648:(e,t,a)=>{var n=a(6518),o=a(7734),r=a(9781),i=a(7318),s=a(3882);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Promise");e.exports=n},658:(e,t,a)=>{var n=a(8842)(a(6378),"Set");e.exports=n},9306:(e,t,a)=>{var n=a(4619),o=a(1511),r=a(9931),i=a(875),s=a(2603),c=a(3926);function p(e){var t=this.__data__=new n(e);this.size=t.size}p.prototype.clear=o,p.prototype.delete=r,p.prototype.get=i,p.prototype.has=s,p.prototype.set=c,e.exports=p},698:(e,t,a)=>{var n=a(6378).Symbol;e.exports=n},7474:(e,t,a)=>{var n=a(6378).Uint8Array;e.exports=n},4592:(e,t,a)=>{var n=a(8842)(a(6378),"WeakMap");e.exports=n},6878:e=>{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length;++a{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length,o=0,r=[];++a{var n=a(2916),o=a(9028),r=a(1380),i=a(6288),s=a(9345),c=a(3634),p=Object.prototype.hasOwnProperty;e.exports=function(e,t){var a=r(e),u=!a&&o(e),l=!a&&!u&&i(e),d=!a&&!u&&!l&&c(e),m=a||u||l||d,f=m?n(e.length,String):[],h=f.length;for(var x in e)!t&&!p.call(e,x)||m&&("length"==x||l&&("offset"==x||"parent"==x)||d&&("buffer"==x||"byteLength"==x||"byteOffset"==x)||s(x,h))||f.push(x);return f}},1659:e=>{e.exports=function(e,t){for(var a=-1,n=t.length,o=e.length;++a{var n=a(9372),o=a(5032),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,a){var i=e[t];r.call(e,t)&&o(i,a)&&(void 0!==a||t in e)||n(e,t,a)}},1694:(e,t,a)=>{var n=a(5032);e.exports=function(e,t){for(var a=e.length;a--;)if(n(e[a][0],t))return a;return-1}},7784:(e,t,a)=>{var n=a(1893),o=a(19);e.exports=function(e,t){return e&&n(t,o(t),e)}},4741:(e,t,a)=>{var n=a(1893),o=a(5168);e.exports=function(e,t){return e&&n(t,o(t),e)}},9372:(e,t,a)=>{var n=a(2626);e.exports=function(e,t,a){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}},3546:(e,t,a)=>{var n=a(9306),o=a(6878),r=a(8936),i=a(7784),s=a(4741),c=a(2037),p=a(6947),u=a(696),l=a(9193),d=a(2645),m=a(1391),f=a(1863),h=a(1208),x=a(2428),v=a(9662),b=a(1380),y=a(6288),g=a(3718),w=a(9294),k=a(4496),j=a(19),O=a(5168),_="[object Arguments]",S="[object Function]",P="[object Object]",E={};E[_]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E[P]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E[S]=E["[object WeakMap]"]=!1,e.exports=function e(t,a,A,C,z,H){var R,q=1&a,T=2&a,F=4&a;if(A&&(R=z?A(t,C,z,H):A(t)),void 0!==R)return R;if(!w(t))return t;var D=b(t);if(D){if(R=h(t),!q)return p(t,R)}else{var L=f(t),N=L==S||"[object GeneratorFunction]"==L;if(y(t))return c(t,q);if(L==P||L==_||N&&!z){if(R=T||N?{}:v(t),!q)return T?l(t,s(R,t)):u(t,i(R,t))}else{if(!E[L])return z?t:{};R=x(t,L,q)}}H||(H=new n);var U=H.get(t);if(U)return U;H.set(t,R),k(t)?t.forEach((function(n){R.add(e(n,a,A,n,t,H))})):g(t)&&t.forEach((function(n,o){R.set(o,e(n,a,A,o,t,H))}));var B=D?void 0:(F?T?m:d:T?O:j)(t);return o(B||t,(function(n,o){B&&(n=t[o=n]),r(R,o,e(n,a,A,o,t,H))})),R}},1843:(e,t,a)=>{var n=a(9294),o=Object.create,r=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}();e.exports=r},523:(e,t,a)=>{var n=a(1659),o=a(1380);e.exports=function(e,t,a){var r=t(e);return o(e)?r:n(r,a(e))}},5822:(e,t,a)=>{var n=a(698),o=a(7389),r=a(5891),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):r(e)}},1325:(e,t,a)=>{var n=a(5822),o=a(9730);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},5959:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},517:(e,t,a)=>{var n=a(3081),o=a(2674),r=a(9294),i=a(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||o(e))&&(n(e)?d:s).test(i(e))}},5534:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},6750:(e,t,a)=>{var n=a(5822),o=a(4509),r=a(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&o(e.length)&&!!i[n(e)]}},3148:(e,t,a)=>{var n=a(2053),o=a(2901),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var a in Object(e))r.call(e,a)&&"constructor"!=a&&t.push(a);return t}},3864:(e,t,a)=>{var n=a(9294),o=a(2053),r=a(476),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=o(e),a=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&a.push(s);return a}},2916:e=>{e.exports=function(e,t){for(var a=-1,n=Array(e);++a{e.exports=function(e){return function(t){return e(t)}}},4033:(e,t,a)=>{var n=a(7474);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},2037:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),r="object"==n(t)&&t&&!t.nodeType&&t,i=r&&"object"==n(e)&&e&&!e.nodeType&&e,s=i&&i.exports===r?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var a=e.length,n=c?c(a):new e.constructor(a);return e.copy(n),n}},3412:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}},7245:e=>{var t=/\w*$/;e.exports=function(e){var a=new e.constructor(e.source,t.exec(e));return a.lastIndex=e.lastIndex,a}},4683:(e,t,a)=>{var n=a(698),o=n?n.prototype:void 0,r=o?o.valueOf:void 0;e.exports=function(e){return r?Object(r.call(e)):{}}},6985:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}},6947:e=>{e.exports=function(e,t){var a=-1,n=e.length;for(t||(t=Array(n));++a{var n=a(8936),o=a(9372);e.exports=function(e,t,a,r){var i=!a;a||(a={});for(var s=-1,c=t.length;++s{var n=a(1893),o=a(1399);e.exports=function(e,t){return n(e,o(e),t)}},9193:(e,t,a)=>{var n=a(1893),o=a(5716);e.exports=function(e,t){return n(e,o(e),t)}},1006:(e,t,a)=>{var n=a(6378)["__core-js_shared__"];e.exports=n},2626:(e,t,a)=>{var n=a(8842),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},4482:e=>{function t(e){return t="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},t(e)}var a="object"==("undefined"==typeof global?"undefined":t(global))&&global&&global.Object===Object&&global;e.exports=a},2645:(e,t,a)=>{var n=a(523),o=a(1399),r=a(19);e.exports=function(e){return n(e,r,o)}},1391:(e,t,a)=>{var n=a(523),o=a(5716),r=a(5168);e.exports=function(e){return n(e,r,o)}},320:(e,t,a)=>{var n=a(8474);e.exports=function(e,t){var a=e.__data__;return n(t)?a["string"==typeof t?"string":"hash"]:a.map}},8842:(e,t,a)=>{var n=a(517),o=a(6930);e.exports=function(e,t){var a=o(e,t);return n(a)?a:void 0}},7109:(e,t,a)=>{var n=a(839)(Object.getPrototypeOf,Object);e.exports=n},7389:(e,t,a)=>{var n=a(698),o=Object.prototype,r=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=r.call(e,s),a=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[s]=a:delete e[s]),o}},1399:(e,t,a)=>{var n=a(9501),o=a(4959),r=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),n(i(e),(function(t){return r.call(e,t)})))}:o;e.exports=s},5716:(e,t,a)=>{var n=a(1659),o=a(7109),r=a(1399),i=a(4959),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,r(e)),e=o(e);return t}:i;e.exports=s},1863:(e,t,a)=>{var n=a(1833),o=a(5914),r=a(9180),i=a(658),s=a(4592),c=a(5822),p=a(110),u="[object Map]",l="[object Promise]",d="[object Set]",m="[object WeakMap]",f="[object DataView]",h=p(n),x=p(o),v=p(r),b=p(i),y=p(s),g=c;(n&&g(new n(new ArrayBuffer(1)))!=f||o&&g(new o)!=u||r&&g(r.resolve())!=l||i&&g(new i)!=d||s&&g(new s)!=m)&&(g=function(e){var t=c(e),a="[object Object]"==t?e.constructor:void 0,n=a?p(a):"";if(n)switch(n){case h:return f;case x:return u;case v:return l;case b:return d;case y:return m}return t}),e.exports=g},6930:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},4494:(e,t,a)=>{var n=a(1303);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6984:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return o.call(t,e)?t[e]:void 0}},9930:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},1556:(e,t,a)=>{var n=a(1303);e.exports=function(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},1208:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var a=e.length,n=new e.constructor(a);return a&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},2428:(e,t,a)=>{var n=a(4033),o=a(3412),r=a(7245),i=a(4683),s=a(6985);e.exports=function(e,t,a){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,a);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,a);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return r(e);case"[object Symbol]":return i(e)}}},9662:(e,t,a)=>{var n=a(1843),o=a(7109),r=a(2053);e.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:n(o(e))}},9345:e=>{function t(e){return t="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},t(e)}var a=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=t(e);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&a.test(e))&&e>-1&&e%1==0&&e{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==e:null===e}},2674:(e,t,a)=>{var n,o=a(1006),r=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},2053:e=>{var t=Object.prototype;e.exports=function(e){var a=e&&e.constructor;return e===("function"==typeof a&&a.prototype||t)}},4160:e=>{e.exports=function(){this.__data__=[],this.size=0}},4389:(e,t,a)=>{var n=a(1694),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,a=n(t,e);return!(a<0||(a==t.length-1?t.pop():o.call(t,a,1),--this.size,0))}},1710:(e,t,a)=>{var n=a(1694);e.exports=function(e){var t=this.__data__,a=n(t,e);return a<0?void 0:t[a][1]}},4102:(e,t,a)=>{var n=a(1694);e.exports=function(e){return n(this.__data__,e)>-1}},8594:(e,t,a)=>{var n=a(1694);e.exports=function(e,t){var a=this.__data__,o=n(a,e);return o<0?(++this.size,a.push([e,t])):a[o][1]=t,this}},6518:(e,t,a)=>{var n=a(9985),o=a(4619),r=a(5914);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(r||o),string:new n}}},7734:(e,t,a)=>{var n=a(320);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},9781:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).get(e)}},7318:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).has(e)}},3882:(e,t,a)=>{var n=a(320);e.exports=function(e,t){var a=n(this,e),o=a.size;return a.set(e,t),this.size+=a.size==o?0:1,this}},1303:(e,t,a)=>{var n=a(8842)(Object,"create");e.exports=n},2901:(e,t,a)=>{var n=a(839)(Object.keys,Object);e.exports=n},476:e=>{e.exports=function(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}},7873:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(4482),r="object"==n(t)&&t&&!t.nodeType&&t,i=r&&"object"==n(e)&&e&&!e.nodeType&&e,s=i&&i.exports===r&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=c},5891:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},839:e=>{e.exports=function(e,t){return function(a){return e(t(a))}}},6378:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(4482),r="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},1511:(e,t,a)=>{var n=a(4619);e.exports=function(){this.__data__=new n,this.size=0}},9931:e=>{e.exports=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}},875:e=>{e.exports=function(e){return this.__data__.get(e)}},2603:e=>{e.exports=function(e){return this.__data__.has(e)}},3926:(e,t,a)=>{var n=a(4619),o=a(5914),r=a(3648);e.exports=function(e,t){var a=this.__data__;if(a instanceof n){var i=a.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++a.size,this;a=this.__data__=new r(i)}return a.set(e,t),this.size=a.size,this}},110:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7780:(e,t,a)=>{var n=a(3546);e.exports=function(e){return n(e,5)}},5032:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9028:(e,t,a)=>{var n=a(1325),o=a(9730),r=Object.prototype,i=r.hasOwnProperty,s=r.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1380:e=>{var t=Array.isArray;e.exports=t},6214:(e,t,a)=>{var n=a(3081),o=a(4509);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},6288:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),r=a(6408),i="object"==n(t)&&t&&!t.nodeType&&t,s=i&&"object"==n(e)&&e&&!e.nodeType&&e,c=s&&s.exports===i?o.Buffer:void 0,p=(c?c.isBuffer:void 0)||r;e.exports=p},3081:(e,t,a)=>{var n=a(5822),o=a(9294);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4509:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3718:(e,t,a)=>{var n=a(5959),o=a(3184),r=a(7873),i=r&&r.isMap,s=i?o(i):n;e.exports=s},9294:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return null!=e&&("object"==a||"function"==a)}},9730:e=>{function t(e){return t="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},t(e)}e.exports=function(e){return null!=e&&"object"==t(e)}},4496:(e,t,a)=>{var n=a(5534),o=a(3184),r=a(7873),i=r&&r.isSet,s=i?o(i):n;e.exports=s},3634:(e,t,a)=>{var n=a(6750),o=a(3184),r=a(7873),i=r&&r.isTypedArray,s=i?o(i):n;e.exports=s},19:(e,t,a)=>{var n=a(1832),o=a(3148),r=a(6214);e.exports=function(e){return r(e)?n(e):o(e)}},5168:(e,t,a)=>{var n=a(1832),o=a(3864),r=a(6214);e.exports=function(e){return r(e)?n(e,!0):o(e)}},4959:e=>{e.exports=function(){return[]}},6408:e=>{e.exports=function(){return!1}},5718:(e,t,a)=>{e.exports=a(3765)},5038:(e,t,a)=>{"use strict";var n,o,r,i=a(5718),s=a(1017).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),a=t&&i[t[1].toLowerCase()];return a&&a.charset?a.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var a=-1===e.indexOf("/")?t.lookup(e):e;if(!a)return!1;if(-1===a.indexOf("charset")){var n=t.charset(a);n&&(a+="; charset="+n.toLowerCase())}return a},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var a=c.exec(e),n=a&&t.extensions[a[1].toLowerCase()];return!(!n||!n.length)&&n[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var a=s("x."+e).toLowerCase().substr(1);return a&&t.types[a]||!1},t.types=Object.create(null),n=t.extensions,o=t.types,r=["nginx","apache",void 0,"iana"],Object.keys(i).forEach((function(e){var t=i[e],a=t.extensions;if(a&&a.length){n[e]=a;for(var s=0;su||p===u&&"application/"===o[c].substr(0,12)))continue}o[c]=e}}}))},266:e=>{"use strict";var t=String.prototype.replace,a=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},903:(e,t,a)=>{"use strict";var n=a(4479),o=a(7877),r=a(266);e.exports={formats:r,parse:o,stringify:n}},7877:(e,t,a)=>{"use strict";var n=a(1640),o=Object.prototype.hasOwnProperty,r=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,t,a,n){if(e){var r=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=a.depth>0&&/(\[[^[\]]*])/.exec(r),p=s?r.slice(0,s.index):r,u=[];if(p){if(!a.plainObjects&&o.call(Object.prototype,p)&&!a.allowPrototypes)return;u.push(p)}for(var l=0;a.depth>0&&null!==(s=i.exec(r))&&l=0;--r){var i,s=e[r];if("[]"===s&&a.parseArrays)i=[].concat(o);else{i=a.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);a.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&a.parseArrays&&u<=a.arrayLimit?(i=[])[u]=o:i[p]=o:i={0:o}}o=i}return o}(u,t,a,n)}};e.exports=function(e,t){var a=function(e){if(!e)return i;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?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return a.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var a,p={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,l),m=-1,f=t.charset;if(t.charsetSentinel)for(a=0;a-1&&(x=r(x)?[x]:x),o.call(p,h)?p[h]=n.combine(p[h],x):p[h]=x}return p}(e,a):e,l=a.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m{"use strict";function n(e){return n="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},n(e)}var o=a(3796),r=a(1640),i=a(266),s=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},p=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,p(t)?t:[t])},d=Date.prototype.toISOString,m=i.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:m,formatter:i.formatters[m],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h=function e(t,a,i,s,c,u,d,m,h,x,v,b,y,g,w){var k,j=t;if(w.has(t))throw new RangeError("Cyclic object value");if("function"==typeof d?j=d(a,j):j instanceof Date?j=x(j):"comma"===i&&p(j)&&(j=r.maybeMap(j,(function(e){return e instanceof Date?x(e):e}))),null===j){if(s)return u&&!y?u(a,f.encoder,g,"key",v):a;j=""}if("string"==typeof(k=j)||"number"==typeof k||"boolean"==typeof k||"symbol"===n(k)||"bigint"==typeof k||r.isBuffer(j))return u?[b(y?a:u(a,f.encoder,g,"key",v))+"="+b(u(j,f.encoder,g,"value",v))]:[b(a)+"="+b(String(j))];var O,_=[];if(void 0===j)return _;if("comma"===i&&p(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(p(d))O=d;else{var S=Object.keys(j);O=m?S.sort(m):S}for(var P=0;P0?w+g:""}},1640:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(266),r=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var a=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),a=t.obj[t.prop];if(i(a)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?p+=c.charAt(u):l<128?p+=s[l]:l<2048?p+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?p+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),p+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return p},isBuffer:function(e){return!(!e||"object"!==n(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 a=[],n=0;n{function n(e){return n="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},n(e)}var o=function(e){"use strict";var t,a=Object.prototype,o=a.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function p(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,a){return e[t]=a}}function u(e,t,a,n){var o=t&&t.prototype instanceof v?t:v,r=Object.create(o.prototype),i=new A(n||[]);return r._invoke=function(e,t,a){var n=d;return function(o,r){if(n===f)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw r;return z()}for(a.method=o,a.arg=r;;){var i=a.delegate;if(i){var s=S(i,a);if(s){if(s===x)continue;return s}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===d)throw n=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=f;var c=l(e,t,a);if("normal"===c.type){if(n=a.done?h:m,c.arg===x)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(n=h,a.method="throw",a.arg=c.arg)}}}(e,a,i),r}function l(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",m="suspendedYield",f="executing",h="completed",x={};function v(){}function b(){}function y(){}var g={};p(g,i,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(C([])));k&&k!==a&&o.call(k,i)&&(g=k);var j=y.prototype=v.prototype=Object.create(g);function O(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function a(r,i,s,c){var p=l(e[r],e,i);if("throw"!==p.type){var u=p.arg,d=u.value;return d&&"object"===n(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){a("next",e,s,c)}),(function(e){a("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return a("throw",e,s,c)}))}c(p.arg)}var r;this._invoke=function(e,n){function o(){return new t((function(t,o){a(e,n,t,o)}))}return r=r?r.then(o,o):o()}}function S(e,a){var n=e.iterator[a.method];if(n===t){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=t,S(e,a),"throw"===a.method))return x;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return x}var o=l(n,e.iterator,a.arg);if("throw"===o.type)return a.method="throw",a.arg=o.arg,a.delegate=null,x;var r=o.arg;return r?r.done?(a[e.resultName]=r.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,x):r:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,x)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function C(e){if(e){var a=e[i];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function a(){for(;++n=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),p=o.call(i,"finallyLoc");if(c&&p){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),E(a),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var o=n.arg;E(a)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,n){return this.delegate={iterator:C(e),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=t),x}},e}("object"===n(e=a.nmd(e))?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(459),r=a(2639),i=a(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),p=o("%Map%",!0),u=r("WeakMap.prototype.get",!0),l=r("WeakMap.prototype.set",!0),d=r("WeakMap.prototype.has",!0),m=r("Map.prototype.get",!0),f=r("Map.prototype.set",!0),h=r("Map.prototype.has",!0),x=function(e,t){for(var a,n=e;null!==(a=n.next);n=a)if(a.key===t)return n.next=a.next,a.next=e.next,e.next=a,a};e.exports=function(){var e,t,a,o={assert:function(e){if(!o.has(e))throw new s("Side channel does not contain "+i(e))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return u(e,o)}else if(p){if(t)return m(t,o)}else if(a)return function(e,t){var a=x(e,t);return a&&a.value}(a,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return d(e,o)}else if(p){if(t)return h(t,o)}else if(a)return function(e,t){return!!x(e,t)}(a,o);return!1},set:function(o,r){c&&o&&("object"===n(o)||"function"==typeof o)?(e||(e=new c),l(e,o,r)):p?(t||(t=new p),f(t,o,r)):(a||(a={key:{},next:null}),function(e,t,a){var n=x(e,t);n?n.value=a:e.next={key:t,next:e.next,value:a}}(a,o,r))}};return o}},4562:(e,t,a)=>{function n(e){return n="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},n(e)}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,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&p&&"function"==typeof p.get?p.get:null,l=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,x=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,y="function"==typeof BigInt?BigInt.prototype.valueOf:null,g=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),_=a(7075).custom,S=_&&z(_)?_:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function E(e,t,a){var n="double"===(a.quoteStyle||t)?'"':"'";return n+e+n}function A(e){return String(e).replace(/"/g,""")}function C(e){return!("[object Array]"!==q(e)||P&&"object"===n(e)&&P in e)}function z(e){if(k)return e&&"object"===n(e)&&e instanceof Symbol;if("symbol"===n(e))return!0;if(!e||"object"!==n(e)||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}e.exports=function e(t,a,o,r){var c=a||{};if(R(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(R(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=!R(c,"customInspect")||c.customInspect;if("boolean"!=typeof p&&"symbol"!==p)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(R(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return F(t,c);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var x=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=x&&x>0&&"object"===n(t))return C(t)?"[Array]":"[Object]";var g,j=function(e,t){var a;if("\t"===e.indent)a="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;a=Array(e.indent+1).join(" ")}return{base:a,prev:Array(t+1).join(a)}}(c,o);if(void 0===r)r=[];else if(T(r,t)>=0)return"[Circular]";function _(t,a,n){if(a&&(r=r.slice()).push(a),n){var i={depth:c.depth};return R(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,o+1,r)}return e(t,c,o+1,r)}if("function"==typeof t){var H=function(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),D=I(t,_);return"[Function"+(H?": "+H:" (anonymous)")+"]"+(D.length>0?" { "+D.join(", ")+" }":"")}if(z(t)){var M=k?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(t);return"object"!==n(t)||k?M:L(M)}if((g=t)&&"object"===n(g)&&("undefined"!=typeof HTMLElement&&g instanceof HTMLElement||"string"==typeof g.nodeName&&"function"==typeof g.getAttribute)){for(var W="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],$=0;$"}if(C(t)){if(0===t.length)return"[]";var V=I(t,_);return j&&!function(e){for(var t=0;t=0)return!1;return!0}(V)?"["+B(V,j)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==q(e)||P&&"object"===n(e)&&P in e)}(t)){var J=I(t,_);return 0===J.length?"["+String(t)+"]":"{ ["+String(t)+"] "+J.join(", ")+" }"}if("object"===n(t)&&p){if(S&&"function"==typeof t[S])return t[S]();if("symbol"!==p&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!==n(e))return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var K=[];return s.call(t,(function(e,a){K.push(_(a,t,!0)+" => "+_(e,t))})),U("Map",i.call(t),K,j)}if(function(e){if(!u||!e||"object"!==n(e))return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var Q=[];return l.call(t,(function(e){Q.push(_(e,t))})),U("Set",u.call(t),Q,j)}if(function(e){if(!d||!e||"object"!==n(e))return!1;try{d.call(e,d);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return N("WeakMap");if(function(e){if(!m||!e||"object"!==n(e))return!1;try{m.call(e,m);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return N("WeakSet");if(function(e){if(!f||!e||"object"!==n(e))return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return N("WeakRef");if(function(e){return!("[object Number]"!==q(e)||P&&"object"===n(e)&&P in e)}(t))return L(_(Number(t)));if(function(e){if(!e||"object"!==n(e)||!y)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return L(_(y.call(t)));if(function(e){return!("[object Boolean]"!==q(e)||P&&"object"===n(e)&&P in e)}(t))return L(h.call(t));if(function(e){return!("[object String]"!==q(e)||P&&"object"===n(e)&&P in e)}(t))return L(_(String(t)));if(!function(e){return!("[object Date]"!==q(e)||P&&"object"===n(e)&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==q(e)||P&&"object"===n(e)&&P in e)}(t)){var Y=I(t,_),X=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,Z=t instanceof Object?"":"null prototype",ee=!X&&P&&Object(t)===t&&P in t?q(t).slice(8,-1):Z?"Object":"",te=(X||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ee||Z?"["+[].concat(ee||[],Z||[]).join(": ")+"] ":"");return 0===Y.length?te+"{}":j?te+"{"+B(Y,j)+"}":te+"{ "+Y.join(", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function R(e,t){return H.call(e,t)}function q(e){return x.call(e)}function T(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,n=e.length;at.maxStringLength){var a=e.length-t.maxStringLength,n="... "+a+" more character"+(a>1?"s":"");return F(e.slice(0,t.maxStringLength),t)+n}return E(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,D),"single",t)}function D(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function L(e){return"Object("+e+")"}function N(e){return e+" { ? }"}function U(e,t,a,n){return e+" ("+t+") {"+(n?B(a,n):a.join(", "))+"}"}function B(e,t){if(0===e.length)return"";var a="\n"+t.prev+t.base;return a+e.join(","+a)+"\n"+t.prev}function I(e,t){var a=C(e),n=[];if(a){n.length=e.length;for(var o=0;o{e.exports=a(3837).inspect},346:(e,t,a)=>{"use strict";var n,o=a(9563),r=a(7222),i=process.env;function s(e){var t=function(e){if(!1===n)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!==n)return 0;var t=n?1:0;if("win32"===process.platform){var a=o.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return 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){var s=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return s>=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")?n=!1:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(n=!0),"FORCE_COLOR"in i&&(n=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},6231:e=>{"use strict";e.exports=require("fs")},9491:e=>{"use strict";e.exports=require("assert")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},9563:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},8593:e=>{"use strict";e.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')},3765: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/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/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/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},"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/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/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":{"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},"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/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/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/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"},"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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"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.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.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.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.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.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.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.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.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.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.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.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.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},"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-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"},"image/avcs":{"source":"iana"},"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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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/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.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/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/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}}')}},t={};function a(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={id:n,loaded:!1,exports:{}};return e[n](r,r.exports,a),r.loaded=!0,r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n=a(4495);module.exports=n})(); \ No newline at end of file +(()=>{var e={4495:(e,t,a)=>{"use strict";a.r(t),a.d(t,{client:()=>vt});var n=a(5213),o=a.n(n);const r="1.3.0";var i=a(7780),s=a.n(i),c=a(9563),p=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var e=window.navigator.userAgent,t=window.navigator.platform,a=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?a="macOS":-1!==["iPhone","iPad","iPod"].indexOf(t)?a="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?a="Windows":/Android/.test(e)?a="Android":/Linux/.test(t)&&(a="Linux"),a}function l(e,t,a,n){var o=[];t&&o.push("app ".concat(t)),a&&o.push("integration ".concat(a)),n&&o.push("feature "+n),o.push("sdk ".concat(e));var r=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(r=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(r=u(),o.push("platform browser")):(r=function(){var e=(0,c.platform)()||"linux",t=(0,c.release)()||"0.0.0",a={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in a?"".concat(a[e]||"Linux","/").concat(t):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(e){r=null}return r&&o.push("os ".concat(r)),"".concat(o.filter((function(e){return""!==e})).join("; "),";")}var d=a(9087),m=a.n(d),f=a(5843),h=a.n(f);function v(e){var t=e.config,a=e.response;if(!t||!a)throw e;var n=a.data,o={status:a.status,statusText:a.statusText};if(t.headers&&t.headers.authtoken){var r="...".concat(t.headers.authtoken.substr(-5));t.headers.authtoken=r}if(t.headers&&t.headers.authorization){var i="...".concat(t.headers.authorization.substr(-5));t.headers.authorization=i}o.request={url:t.url,method:t.method,data:t.data,headers:t.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}var x=a(1637),b=a.n(x),y=function e(t,a){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b()(this,e);var r=t.data||{};n&&(r.stackHeaders=n),this.items=o(a,r),void 0!==r.schema&&(this.schema=r.schema),void 0!==r.content_type&&(this.content_type=r.content_type),void 0!==r.count&&(this.count=r.count),void 0!==r.notice&&(this.notice=r.notice)};function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function w(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,r={};n&&(r.headers=n);var i=null;a&&(a.content_type_uid&&(i=a.content_type_uid,delete a.content_type_uid),r.params=w({},s()(a)));var c=function(){var a=m()(h().mark((function a(){var s;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.get(t,r);case 3:if(!(s=a.sent).data){a.next=9;break}return i&&(s.data.content_type_uid=i),a.abrupt("return",new y(s,e,n,o));case 9:throw v(s);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(0),v(a.t0);case 15:case"end":return a.stop()}}),a,null,[[0,12]])})));return function(){return a.apply(this,arguments)}}(),p=function(){var a=m()(h().mark((function a(){var n;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r.params=w(w({},r.params),{},{count:!0}),a.prev=1,a.next=4,e.get(t,r);case 4:if(!(n=a.sent).data){a.next=9;break}return a.abrupt("return",n.data);case 9:throw v(n);case 10:a.next=15;break;case 12:throw a.prev=12,a.t0=a.catch(1),v(a.t0);case 15:case"end":return a.stop()}}),a,null,[[1,12]])})));return function(){return a.apply(this,arguments)}}(),u=function(){var a=m()(h().mark((function a(){var s,c;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return(s=r).params.limit=1,a.prev=2,a.next=5,e.get(t,s);case 5:if(!(c=a.sent).data){a.next=11;break}return i&&(c.data.content_type_uid=i),a.abrupt("return",new y(c,e,n,o));case 11:throw v(c);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(2),v(a.t0);case 17:case"end":return a.stop()}}),a,null,[[2,14]])})));return function(){return a.apply(this,arguments)}}();return{count:p,find:c,findOne:u}}function j(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function O(e){for(var t=1;t4&&void 0!==p[4]?p[4]:null,i=p.length>5&&void 0!==p[5]?p[5]:null,s=p.length>6&&void 0!==p[6]?p[6]:null,null!==r&&(n.locale=r),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),e.prev=6,e.next=9,t.post(a,n,o);case 9:if(!(c=e.sent).data){e.next=14;break}return e.abrupt("return",c.data);case 14:throw v(c);case 15:e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(6),v(e.t0);case 20:case"end":return e.stop()}}),e,null,[[6,17]])})));return function(t,a,n,o){return e.apply(this,arguments)}}(),E=function(){var e=m()(h().mark((function e(t){var a,n,o,r,i,c,p,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.http,n=t.urlPath,o=t.stackHeaders,r=t.formData,i=t.params,c=t.method,p=void 0===c?"POST":c,u={headers:O(O({},i),s()(o))}||{},"POST"!==p){e.next=6;break}return e.abrupt("return",a.post(n,r,u));case 6:return e.abrupt("return",a.put(n,r,u));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.http,a=e.params;return function(){var e=m()(h().mark((function e(n,o){var r,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={headers:O(O({},s()(a)),s()(this.stackHeaders)),params:O({},s()(o))}||{},e.prev=1,e.next=4,t.post(this.urlPath,n,r);case 4:if(!(i=e.sent).data){e.next=9;break}return e.abrupt("return",new this.constructor(t,T(i,this.stackHeaders,this.content_type_uid)));case 9:throw v(i);case 10:e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(1),v(e.t0);case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));return function(t,a){return e.apply(this,arguments)}}()},C=function(e){var t=e.http,a=e.wrapperCollection;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(e.query||(e.query={}),e.query.org_uid=this.organization_uid),this.content_type_uid&&(e.content_type_uid=this.content_type_uid),k(t,this.urlPath,e,this.stackHeaders,a)}},z=function(e,t){return m()(h().mark((function a(){var n,o,r,i,c=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(r=s()(this)).stackHeaders,delete r.urlPath,delete r.uid,delete r.org_uid,delete r.api_key,delete r.created_at,delete r.created_by,delete r.deleted_at,delete r.updated_at,delete r.updated_by,delete r.updated_at,o[t]=r,a.prev=15,a.next=18,e.put(this.urlPath,o,{headers:O({},s()(this.stackHeaders)),params:O({},s()(n))});case 18:if(!(i=a.sent).data){a.next=23;break}return a.abrupt("return",new this.constructor(e,T(i,this.stackHeaders,this.content_type_uid)));case 23:throw v(i);case 24:a.next=29;break;case 26:throw a.prev=26,a.t0=a.catch(15),v(a.t0);case 29:case"end":return a.stop()}}),a,this,[[15,26]])})))},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(n))}||{},!0===t&&(o.params.force=!0),a.next=6,e.delete(this.urlPath,o);case 6:if(!(r=a.sent).data){a.next=11;break}return a.abrupt("return",r.data);case 11:if(!(r.status>=200&&r.status<300)){a.next=15;break}return a.abrupt("return",{status:r.status,statusText:r.statusText});case 15:throw v(r);case 16:a.next=21;break;case 18:throw a.prev=18,a.t0=a.catch(1),v(a.t0);case 21:case"end":return a.stop()}}),a,this,[[1,18]])})))},R=function(e,t){return m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,o={headers:O({},s()(this.stackHeaders)),params:O({},s()(n))}||{},a.next=5,e.get(this.urlPath,o);case 5:if(!(r=a.sent).data){a.next=11;break}return"entry"===t&&(r.data[t].content_type=r.data.content_type,r.data[t].schema=r.data.schema),a.abrupt("return",new this.constructor(e,T(r,this.stackHeaders,this.content_type_uid)));case 11:throw v(r);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(1),v(a.t0);case 17:case"end":return a.stop()}}),a,this,[[1,14]])})))},q=function(e,t){return m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=O({},s()(n))),a.prev=4,a.next=7,e.get(this.urlPath,o);case 7:if(!(r=a.sent).data){a.next=12;break}return a.abrupt("return",new y(r,e,this.stackHeaders,t));case 12:throw v(r);case 13:a.next=18;break;case 15:throw a.prev=15,a.t0=a.catch(4),v(a.t0);case 18:case"end":return a.stop()}}),a,this,[[4,15]])})))};function T(e,t,a){var n=e.data||{};return t&&(n.stackHeaders=t),a&&(n.content_type_uid=a),n}function F(e,t){return this.urlPath="/roles",this.stackHeaders=t.stackHeaders,t.role?(Object.assign(this,s()(t.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=z(e,"role"),this.delete=H(e),this.fetch=R(e,"role"))):(this.create=A({http:e}),this.fetchAll=q(e,D),this.query=C({http:e,wrapperCollection:D})),this}function D(e,t){return s()(t.roles||[]).map((function(a){return new F(e,{role:a,stackHeaders:t.stackHeaders})}))}function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function N(e){for(var t=1;t0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/stacks"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,Ye));case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.addUser=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/share"),{share:N({},n)});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.getInvitations=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/share"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,G));case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.resendInvitation=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.roles=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/roles"),{params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new y(o,e,null,D));case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}())):this.fetchAll=q(e,B)}function B(e,t){return s()(t.organizations||[]).map((function(t){return new U(e,{organization:t})}))}function I(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/content_types",a.content_type?(Object.assign(this,s()(a.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=z(e,"content_type"),this.delete=H(e),this.fetch=R(e,"content_type"),this.entry=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return n.content_type_uid=t.uid,a&&(n.entry={uid:a}),new K(e,n)}):(this.generateUid=function(e){if(!e)throw new TypeError("Expected parameter name");return e.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Z}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ee(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw v(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function Z(e,t){return(s()(t.content_types)||[]).map((function(a){return new X(e,{content_type:a,stackHeaders:t.stackHeaders})}))}function ee(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.content_type);return t.append("content_type",a),t}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/global_fields",t.global_field?(Object.assign(this,s()(t.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=z(e,"global_field"),this.delete=H(e),this.fetch=R(e,"global_field")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:ae}),this.import=function(){var t=m()(h().mark((function t(a){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:ne(a)});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(n,this.stackHeaders)));case 8:throw v(n);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e){return t.apply(this,arguments)}}()),this}function ae(e,t){return(s()(t.global_fields)||[]).map((function(a){return new te(e,{global_field:a,stackHeaders:t.stackHeaders})}))}function ne(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.global_field);return t.append("global_field",a),t}}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/delivery_tokens",t.token?(Object.assign(this,s()(t.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=z(e,"token"),this.delete=H(e),this.fetch=R(e,"token")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:re}))}function re(e,t){return(s()(t.tokens)||[]).map((function(a){return new oe(e,{token:a,stackHeaders:t.stackHeaders})}))}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/environments",t.environment?(Object.assign(this,s()(t.environment)),this.urlPath="/environments/".concat(this.name),this.update=z(e,"environment"),this.delete=H(e),this.fetch=R(e,"environment")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:se}))}function se(e,t){return(s()(t.environments)||[]).map((function(a){return new ie(e,{environment:a,stackHeaders:t.stackHeaders})}))}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stackHeaders&&(this.stackHeaders=t.stackHeaders),this.urlPath="/assets/folders",t.asset?(Object.assign(this,s()(t.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=z(e,"asset"),this.delete=H(e),this.fetch=R(e,"asset")):this.create=A({http:e})}function pe(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/assets",a.asset?(Object.assign(this,s()(a.asset)),this.urlPath="/assets/".concat(this.uid),this.update=z(e,"asset"),this.delete=H(e),this.fetch=R(e,"asset"),this.replace=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n,method:"PUT"});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw v(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.publish=_(e,"asset"),this.unpublish=S(e,"asset")):(this.folder=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.asset={uid:a}),new ce(e,n)},this.create=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:le(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw v(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.query=C({http:e,wrapperCollection:ue})),this}function ue(e,t){return(s()(t.assets)||[]).map((function(a){return new pe(e,{asset:a,stackHeaders:t.stackHeaders})}))}function le(e){return function(){var t=new(V());"string"==typeof e.parent_uid&&t.append("asset[parent_uid]",e.parent_uid),"string"==typeof e.description&&t.append("asset[description]",e.description),e.tags instanceof Array?t.append("asset[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("asset[tags]",e.tags),"string"==typeof e.title&&t.append("asset[title]",e.title);var a=(0,J.createReadStream)(e.upload);return t.append("asset[upload]",a),t}}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/locales",t.locale?(Object.assign(this,s()(t.locale)),this.urlPath="/locales/".concat(this.code),this.update=z(e,"locale"),this.delete=H(e),this.fetch=R(e,"locale")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:me})),this}function me(e,t){return(s()(t.locales)||[]).map((function(a){return new de(e,{locale:a,stackHeaders:t.stackHeaders})}))}var fe=a(5514),he=a.n(fe);function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/extensions",t.extension?(Object.assign(this,s()(t.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=z(e,"extension"),this.delete=H(e),this.fetch=R(e,"extension")):(this.upload=function(){var t=m()(h().mark((function t(a,n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E({http:e,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:be(a),params:n});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",new this.constructor(e,T(o,this.stackHeaders)));case 8:throw v(o);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));return function(e,a){return t.apply(this,arguments)}}(),this.create=A({http:e}),this.query=C({http:e,wrapperCollection:xe}))}function xe(e,t){return(s()(t.extensions)||[]).map((function(a){return new ve(e,{extension:a,stackHeaders:t.stackHeaders})}))}function be(e){return function(){var t=new(V());"string"==typeof e.title&&t.append("extension[title]",e.title),"object"===he()(e.scope)&&t.append("extension[scope]","".concat(e.scope)),"string"==typeof e.data_type&&t.append("extension[data_type]",e.data_type),"string"==typeof e.type&&t.append("extension[type]",e.type),e.tags instanceof Array?t.append("extension[tags]",e.tags.join(",")):"string"==typeof e.tags&&t.append("extension[tags]",e.tags),"boolean"==typeof e.multiple&&t.append("extension[multiple]","".concat(e.multiple)),"boolean"==typeof e.enable&&t.append("extension[enable]","".concat(e.enable));var a=(0,J.createReadStream)(e.upload);return t.append("extension[upload]",a),t}}function ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ge(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/webhooks",a.webhook?(Object.assign(this,s()(a.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=z(e,"webhook"),this.delete=H(e),this.fetch=R(e,"webhook"),this.executions=function(){var a=m()(h().mark((function a(n){var o,r;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),n&&(o.params=ge({},s()(n))),a.prev=3,a.next=6,e.get("".concat(t.urlPath,"/executions"),o);case 6:if(!(r=a.sent).data){a.next=11;break}return a.abrupt("return",r.data);case 11:throw v(r);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),v(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.retry=function(){var a=m()(h().mark((function a(n){var o,r;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o={},t.stackHeaders&&(o.headers=t.stackHeaders),a.prev=2,a.next=5,e.post("".concat(t.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(r=a.sent).data){a.next=10;break}return a.abrupt("return",r.data);case 10:throw v(r);case 11:a.next=16;break;case 13:throw a.prev=13,a.t0=a.catch(2),v(a.t0);case 16:case"end":return a.stop()}}),a,null,[[2,13]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.fetchAll=q(e,ke)),this.import=function(){var a=m()(h().mark((function a(n){var o;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,E({http:e,urlPath:"".concat(t.urlPath,"/import"),stackHeaders:t.stackHeaders,formData:je(n)});case 3:if(!(o=a.sent).data){a.next=8;break}return a.abrupt("return",new t.constructor(e,T(o,t.stackHeaders)));case 8:throw v(o);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),v(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this}function ke(e,t){return(s()(t.webhooks)||[]).map((function(a){return new we(e,{webhook:a,stackHeaders:t.stackHeaders})}))}function je(e){return function(){var t=new(V()),a=(0,J.createReadStream)(e.webhook);return t.append("webhook",a),t}}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=t.stackHeaders,this.urlPath="/workflows/publishing_rules",t.publishing_rule?(Object.assign(this,s()(t.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=z(e,"publishing_rule"),this.delete=H(e),this.fetch=R(e,"publishing_rule")):(this.create=A({http:e}),this.fetchAll=q(e,_e))}function _e(e,t){return(s()(t.publishing_rules)||[]).map((function(a){return new Oe(e,{publishing_rule:a,stackHeaders:t.stackHeaders})}))}function Se(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Pe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/workflows",a.workflow?(Object.assign(this,s()(a.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=z(e,"workflow"),this.disable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/disable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw v(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.enable=m()(h().mark((function t(){var a;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("/workflows/".concat(this.uid,"/enable"),{headers:Pe({},s()(this.stackHeaders))});case 3:if(!(a=t.sent).data){t.next=8;break}return t.abrupt("return",a.data);case 8:throw v(a);case 9:t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(0),v(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])}))),this.delete=H(e),this.fetch=R(e,"workflow")):(this.contentType=function(a){if(a){var n=function(){var t=m()(h().mark((function t(n){var o,r;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Pe({},s()(n))),t.prev=3,t.next=6,e.get("/workflows/content_type/".concat(a),o);case 6:if(!(r=t.sent).data){t.next=11;break}return t.abrupt("return",new y(r,e,this.stackHeaders,_e));case 11:throw v(r);case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(3),v(t.t0);case 17:case"end":return t.stop()}}),t,this,[[3,14]])})));return function(e){return t.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Pe({},t.stackHeaders)}}},this.create=A({http:e}),this.fetchAll=q(e,Ae),this.publishRule=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:t.stackHeaders};return a&&(n.publishing_rule={uid:a}),new Oe(e,n)})}function Ae(e,t){return(s()(t.workflows)||[]).map((function(a){return new Ee(e,{workflow:a,stackHeaders:t.stackHeaders})}))}function Ce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,a.item&&Object.assign(this,s()(a.item)),a.releaseUid&&(this.urlPath="releases/".concat(a.releaseUid,"/items"),this.delete=function(){var n=m()(h().mark((function n(o){var r,i,c;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r={},void 0===o&&(r={all:!0}),n.prev=2,i={headers:ze({},s()(t.stackHeaders)),data:ze({},s()(o)),params:ze({},s()(r))}||{},n.next=6,e.delete(t.urlPath,i);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Fe(e,ze(ze({},c.data),{},{stackHeaders:a.stackHeaders})));case 11:throw v(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),v(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(e){return n.apply(this,arguments)}}(),this.create=function(){var n=m()(h().mark((function n(o){var r,i;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r={headers:ze({},s()(t.stackHeaders))}||{},n.prev=1,n.next=4,e.post(o.item?"releases/".concat(a.releaseUid,"/item"):t.urlPath,o,r);case 4:if(!(i=n.sent).data){n.next=10;break}if(!i.data){n.next=8;break}return n.abrupt("return",new Fe(e,ze(ze({},i.data),{},{stackHeaders:a.stackHeaders})));case 8:n.next=11;break;case 10:throw v(i);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),v(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(e){return n.apply(this,arguments)}}(),this.findAll=m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},a.prev=1,o={headers:ze({},s()(t.stackHeaders)),params:ze({},s()(n))}||{},a.next=5,e.get(t.urlPath,o);case 5:if(!(r=a.sent).data){a.next=10;break}return a.abrupt("return",new y(r,e,t.stackHeaders,Re));case 10:throw v(r);case 11:a.next=16;break;case 13:a.prev=13,a.t0=a.catch(1),v(a.t0);case 16:case"end":return a.stop()}}),a,null,[[1,13]])})))),this}function Re(e,t,a){return(s()(t.items)||[]).map((function(n){return new He(e,{releaseUid:a,item:n,stackHeaders:t.stackHeaders})}))}function qe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Te(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/releases",a.release?(Object.assign(this,s()(a.release)),a.release.items&&(this.items=new Re(e,{items:a.release.items,stackHeaders:a.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=z(e,"release"),this.fetch=R(e,"release"),this.delete=H(e),this.item=function(){return new He(e,{releaseUid:t.uid,stackHeaders:t.stackHeaders})},this.deploy=function(){var a=m()(h().mark((function a(n){var o,r,i,c,p,u,l;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.environments,r=n.locales,i=n.scheduledAt,c=n.action,p={environments:o,locales:r,scheduledAt:i,action:c},u={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/deploy"),{release:p},u);case 6:if(!(l=a.sent).data){a.next=11;break}return a.abrupt("return",l.data);case 11:throw v(l);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),v(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}(),this.clone=function(){var a=m()(h().mark((function a(n){var o,r,i,c,p;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.name,r=n.description,i={name:o,description:r},c={headers:Te({},s()(t.stackHeaders))}||{},a.prev=3,a.next=6,e.post("".concat(t.urlPath,"/clone"),{release:i},c);case 6:if(!(p=a.sent).data){a.next=11;break}return a.abrupt("return",new Fe(e,p.data));case 11:throw v(p);case 12:a.next=17;break;case 14:throw a.prev=14,a.t0=a.catch(3),v(a.t0);case 17:case"end":return a.stop()}}),a,null,[[3,14]])})));return function(e){return a.apply(this,arguments)}}()):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:De})),this}function De(e,t){return(s()(t.releases)||[]).map((function(a){return new Fe(e,{release:a,stackHeaders:t.stackHeaders})}))}function Le(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ne(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=a.stackHeaders,this.urlPath="/bulk",this.publish=function(){var a=m()(h().mark((function a(n){var o,r,i,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,r=n.skip_workflow_stage,i=void 0!==r&&r,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),i&&(m.headers.skip_workflow_stage_check=i),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/publish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.unpublish=function(){var a=m()(h().mark((function a(n){var o,r,i,c,p,u,l,d,m;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=n.details,r=n.skip_workflow_stage,i=void 0!==r&&r,c=n.approvals,p=void 0!==c&&c,u=n.is_nested,l=void 0!==u&&u,d={},o&&(d=s()(o)),m={headers:Ne({},s()(t.stackHeaders))},l&&(m.params={nested:!0,event_type:"bulk"}),i&&(m.headers.skip_workflow_stage_check=i),p&&(m.headers.approvals=p),a.abrupt("return",P(e,"/bulk/unpublish",d,m));case 8:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),this.delete=m()(h().mark((function a(){var n,o,r,i=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:{},o={},n.details&&(o=s()(n.details)),r={headers:Ne({},s()(t.stackHeaders))},a.abrupt("return",P(e,"/bulk/delete",o,r));case 5:case"end":return a.stop()}}),a)})))}function Be(e,t){this.stackHeaders=t.stackHeaders,this.urlPath="/labels",t.label?(Object.assign(this,s()(t.label)),this.urlPath="/labels/".concat(this.uid),this.update=z(e,"label"),this.delete=H(e),this.fetch=R(e,"label")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:Ie}))}function Ie(e,t){return(s()(t.labels)||[]).map((function(a){return new Be(e,{label:a,stackHeaders:t.stackHeaders})}))}function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=t.stackHeaders,this.urlPath="/stacks/branches",t.branch=t.branch||t.branch_alias,delete t.branch_alias,t.branch?(Object.assign(this,s()(t.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=H(e,!0),this.fetch=R(e,"branch")):(this.create=A({http:e}),this.query=C({http:e,wrapperCollection:We})),this}function We(e,t){return(s()(t.branches)||t.branch_aliases||[]).map((function(a){return new Me(e,{branch:a,stackHeaders:t.stackHeaders})}))}function Ge(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function $e(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=a.stackHeaders,this.urlPath="/stacks/branch_aliases",a.branch_alias?(Object.assign(this,s()(a.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var a=m()(h().mark((function a(n){var o;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.put(t.urlPath,{branch_alias:{target_branch:n}},{headers:$e({},s()(t.stackHeaders))});case 3:if(!(o=a.sent).data){a.next=8;break}return a.abrupt("return",new Me(e,T(o,t.stackHeaders)));case 8:throw v(o);case 9:a.next=14;break;case 11:throw a.prev=11,a.t0=a.catch(0),v(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})));return function(e){return a.apply(this,arguments)}}(),this.delete=H(e,!0),this.fetch=m()(h().mark((function t(){var a,n,o,r=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,n={headers:$e({},s()(this.stackHeaders)),params:$e({},s()(a))}||{},t.next=5,e.get(this.urlPath,n);case 5:if(!(o=t.sent).data){t.next=10;break}return t.abrupt("return",new Me(e,T(o,this.stackHeaders)));case 10:throw v(o);case 11:t.next=16;break;case 13:throw t.prev=13,t.t0=t.catch(1),v(t.t0);case 16:case"end":return t.stop()}}),t,this,[[1,13]])})))):this.fetchAll=q(e,We),this}function Je(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ke(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.content_type={uid:t}),new X(e,n)},this.locale=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.locale={code:t}),new de(e,n)},this.asset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.asset={uid:t}),new pe(e,n)},this.globalField=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.global_field={uid:t}),new te(e,n)},this.environment=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.environment={name:t}),new ie(e,n)},this.branch=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.branch={uid:t}),new Me(e,n)},this.branchAlias=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.branch_alias={uid:t}),new Ve(e,n)},this.deliveryToken=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.token={uid:t}),new oe(e,n)},this.extension=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.extension={uid:t}),new ve(e,n)},this.workflow=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.workflow={uid:t}),new Ee(e,n)},this.webhook=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.webhook={uid:t}),new we(e,n)},this.label=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.label={uid:t}),new Be(e,n)},this.release=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.release={uid:t}),new Fe(e,n)},this.bulkOperation=function(){var t={stackHeaders:a.stackHeaders};return new Ue(e,t)},this.users=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get(a.urlPath,{params:{include_collaborators:!0},headers:Ke({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",G(e,n.data.stack));case 8:return t.abrupt("return",v(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.transferOwnership=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Ke({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.settings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.get("".concat(a.urlPath,"/settings"),{headers:Ke({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",v(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.resetSettings=m()(h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Ke({},s()(a.stackHeaders))});case 3:if(!(n=t.sent).data){t.next=8;break}return t.abrupt("return",n.data.stack_settings);case 8:return t.abrupt("return",v(n));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])}))),this.addSettings=m()(h().mark((function t(){var n,o,r=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>0&&void 0!==r[0]?r[0]:{},t.prev=1,t.next=4,e.post("".concat(a.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Ke({},s()(a.stackHeaders))});case 4:if(!(o=t.sent).data){t.next=9;break}return t.abrupt("return",o.data.stack_settings);case 9:return t.abrupt("return",v(o));case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(1),t.abrupt("return",v(t.t0));case 15:case"end":return t.stop()}}),t,null,[[1,12]])}))),this.share=m()(h().mark((function t(){var n,o,r,i=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:[],o=i.length>1&&void 0!==i[1]?i[1]:{},t.prev=2,t.next=5,e.post("".concat(a.urlPath,"/share"),{emails:n,roles:o},{headers:Ke({},s()(a.stackHeaders))});case 5:if(!(r=t.sent).data){t.next=10;break}return t.abrupt("return",r.data);case 10:return t.abrupt("return",v(r));case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",v(t.t0));case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),this.unShare=function(){var t=m()(h().mark((function t(n){var o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.post("".concat(a.urlPath,"/unshare"),{email:n},{headers:Ke({},s()(a.stackHeaders))});case 3:if(!(o=t.sent).data){t.next=8;break}return t.abrupt("return",o.data);case 8:return t.abrupt("return",v(o));case 9:t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",v(t.t0));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e){return t.apply(this,arguments)}}(),this.role=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:a.stackHeaders};return t&&(n.role={uid:t}),new F(e,n)}):(this.create=A({http:e,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=C({http:e,wrapperCollection:Ye})),this}function Ye(e,t){var a=t.stacks||[];return s()(a).map((function(t){return new Qe(e,{stack:t})}))}function Xe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ze(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return t.post("/user-session",{user:e},{params:a}).then((function(e){return null!=e.data.user&&null!=e.data.user.authtoken&&(t.defaults.headers.common.authtoken=e.data.user.authtoken,e.data.user=new W(t,e.data)),e.data}),v)},logout:function(e){return void 0!==e?t.delete("/user-session",{headers:{authtoken:e}}).then((function(e){return e.data}),v):t.delete("/user-session").then((function(e){return t.defaults.headers.common&&delete t.defaults.headers.common.authtoken,delete t.defaults.headers.authtoken,delete t.httpClientParams.authtoken,delete t.httpClientParams.headers.authtoken,e.data}),v)},getUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.get("/user",{params:e}).then((function(e){return new W(t,e.data)}),v)},stack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=Ze({},s()(e));return new Qe(t,{stack:a})},organization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new U(t,null!==e?{organization:{uid:e}}:null)},axiosInstance:t}}var tt=a(1362),at=a.n(tt),nt=a(903),ot=a.n(nt),rt=a(5607),it=a.n(rt);function st(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ct(e){for(var t=1;t0&&setTimeout((function(){e(a)}),a),new Promise((function(e){return setTimeout((function(){t.paused=!1;for(var e=0;et.config.retryLimit)return Promise.reject(i(e));if(t.config.retryDelayOptions)if(t.config.retryDelayOptions.customBackoff){if((c=t.config.retryDelayOptions.customBackoff(o,e))&&c<=0)return Promise.reject(i(e))}else t.config.retryDelayOptions.base&&(c=t.config.retryDelayOptions.base*o);else c=t.config.retryDelay;return e.config.retryCount=o,new Promise((function(t){return setTimeout((function(){return t(a(s(e,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(e,n,o){var r=e.config;return t.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==a&&void 0!==a.defaults&&(a.defaults.agent===r.agent&&delete r.agent,a.defaults.httpAgent===r.httpAgent&&delete r.httpAgent,a.defaults.httpsAgent===r.httpsAgent&&delete r.httpsAgent),r.data=c(r),r.transformRequest=[function(e){return e}],r},c=function(e){if(e.formdata){var t=e.formdata();return e.headers=ct(ct({},e.headers),t.getHeaders()),t}return e.data};this.interceptors.request=a.interceptors.request.use((function(e){if("function"==typeof e.data&&(e.formdata=e.data,e.data=c(e)),e.retryCount=e.retryCount||0,e.headers.authorization&&void 0!==e.headers.authorization&&delete e.headers.authtoken,void 0===e.cancelToken){var a=it().CancelToken.source();e.cancelToken=a.token,e.source=a}return t.paused&&e.retryCount>0?new Promise((function(a){t.unshift({request:e,resolve:a})})):e.retryCount>0?e:new Promise((function(a){e.onComplete=function(){t.running.pop({request:e,resolve:a})},t.push({request:e,resolve:a})}))})),this.interceptors.response=a.interceptors.response.use(i,(function(e){var n=e.config.retryCount,o=null;if(!t.config.retryOnError||n>t.config.retryLimit)return Promise.reject(i(e));var c=t.config.retryDelay,p=e.response;if(p){if(429===p.status)return o="Error with status: ".concat(p.status),++n>t.config.retryLimit?Promise.reject(i(e)):(t.running.shift(),r(c),e.config.retryCount=n,a(s(e,o,c)))}else{if("ECONNABORTED"!==e.code)return Promise.reject(i(e));e.response=ct(ct({},e.response),{},{status:408,statusText:"timeout of ".concat(t.config.timeout,"ms exceeded")}),p=e.response}return t.config.retryCondition&&t.config.retryCondition(e)?(o=e.response?"Error with status: ".concat(p.status):"Error Code:".concat(e.code),n++,t.retry(e,o,n,c)):Promise.reject(i(e))}))}function lt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function dt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t={defaultHostName:"api.contentstack.io"},a="contentstack-management-javascript/".concat(r),n=l(a,e.application,e.integration,e.feature),o={"X-User-Agent":a,"User-Agent":n};e.authtoken&&(o.authtoken=e.authtoken),(e=ht(ht({},t),s()(e))).headers=ht(ht({},e.headers),o);var i=mt(e);return et({http:i})}},2520:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},9087:e=>{function t(e,t,a,n,o,r,i){try{var s=e[r](i),c=s.value}catch(e){return void a(e)}s.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var a=this,n=arguments;return new Promise((function(o,r){var i=e.apply(a,n);function s(e){t(i,o,r,s,c,"next",e)}function c(e){t(i,o,r,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},1637:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},5213:e=>{e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},e.exports.default=e.exports,e.exports.__esModule=!0},8481:e=>{e.exports=function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r=[],i=!0,s=!1;try{for(a=a.call(e);!(i=(n=a.next()).done)&&(r.push(n.value),!t||r.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==a.return||a.return()}finally{if(s)throw o}}return r}},e.exports.default=e.exports,e.exports.__esModule=!0},6743:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},1362:(e,t,a)=>{var n=a(5897),o=a(8481),r=a(4871),i=a(6743);e.exports=function(e,t){return n(e)||o(e,t)||r(e,t)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},5514:e=>{function t(a){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(a)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},4871:(e,t,a)=>{var n=a(2520);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},5843:(e,t,a)=>{e.exports=a(8041)},5863:(e,t,a)=>{e.exports={parallel:a(9977),serial:a(7709),serialOrdered:a(910)}},3296: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={}}},5021:(e,t,a)=>{var n=a(5393);e.exports=function(e){var t=!1;return n((function(){t=!0})),function(a,o){t?e(a,o):n((function(){e(a,o)}))}}},5393:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a="function"==typeof setImmediate?setImmediate:"object"==("undefined"==typeof process?"undefined":t(process))&&"function"==typeof process.nextTick?process.nextTick:null;a?a(e):setTimeout(e,0)}},5099:(e,t,a)=>{var n=a(5021),o=a(3296);e.exports=function(e,t,a,r){var i=a.keyedList?a.keyedList[a.index]:a.index;a.jobs[i]=function(e,t,a,o){return 2==e.length?e(a,n(o)):e(a,t,n(o))}(t,i,e[i],(function(e,t){i in a.jobs&&(delete a.jobs[i],e?o(a):a.results[i]=t,r(e,a.results))}))}},3929:e=>{e.exports=function(e,t){var a=!Array.isArray(e),n={index:0,keyedList:a||t?Object.keys(e):null,jobs:{},results:a?{}:[],size:a?Object.keys(e).length:e.length};return t&&n.keyedList.sort(a?t:function(a,n){return t(e[a],e[n])}),n}},4567:(e,t,a)=>{var n=a(3296),o=a(5021);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),o(e)(null,this.results))}},9977:(e,t,a)=>{var n=a(5099),o=a(3929),r=a(4567);e.exports=function(e,t,a){for(var i=o(e);i.index<(i.keyedList||e).length;)n(e,t,i,(function(e,t){e?a(e,t):0!==Object.keys(i.jobs).length||a(null,i.results)})),i.index++;return r.bind(i,a)}},7709:(e,t,a)=>{var n=a(910);e.exports=function(e,t,a){return n(e,t,null,a)}},910:(e,t,a)=>{var n=a(5099),o=a(3929),r=a(4567);function i(e,t){return et?1:0}e.exports=function(e,t,a,i){var s=o(e,a);return n(e,t,s,(function a(o,r){o?i(o,r):(s.index++,s.index<(s.keyedList||e).length?n(e,t,s,a):i(null,s.results))})),r.bind(s,i)},e.exports.ascending=i,e.exports.descending=function(e,t){return-1*i(e,t)}},5607:(e,t,a)=>{e.exports=a(5353)},9e3:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),r=a(2314),i=a(8774),s=a(3685),c=a(5687),p=a(5572).http,u=a(5572).https,l=a(7310),d=a(9796),m=a(8593),f=a(8991),h=a(4418),v=/https:?/;function x(e,t,a){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=a,t.auth){var n=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+n}e.beforeRedirect=function(e){e.headers.host=e.host,x(e,t,e.href)}}e.exports=function(e){return new Promise((function(t,a){var b=function(e){t(e)},y=function(e){a(e)},g=e.data,w=e.headers;if("User-Agent"in w||"user-agent"in w?w["User-Agent"]||w["user-agent"]||(delete w["User-Agent"],delete w["user-agent"]):w["User-Agent"]="axios/"+m.version,g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=Buffer.from(new Uint8Array(g));else{if(!n.isString(g))return y(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=Buffer.from(g,"utf-8")}w["Content-Length"]=g.length}var k=void 0;e.auth&&(k=(e.auth.username||"")+":"+(e.auth.password||""));var j=r(e.baseURL,e.url),O=l.parse(j),_=O.protocol||"http:";if(!k&&O.auth){var S=O.auth.split(":");k=(S[0]||"")+":"+(S[1]||"")}k&&delete w.Authorization;var P=v.test(_),E=P?e.httpsAgent:e.httpAgent,A={path:i(O.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:w,agent:E,agents:{http:e.httpAgent,https:e.httpsAgent},auth:k};e.socketPath?A.socketPath=e.socketPath:(A.hostname=O.hostname,A.port=O.port);var C,z=e.proxy;if(!z&&!1!==z){var H=_.slice(0,-1)+"_proxy",R=process.env[H]||process.env[H.toUpperCase()];if(R){var q=l.parse(R),T=process.env.no_proxy||process.env.NO_PROXY,F=!0;if(T&&(F=!T.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||"."===e[0]&&O.hostname.substr(O.hostname.length-e.length)===e||O.hostname===e)}))),F&&(z={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var D=q.auth.split(":");z.auth={username:D[0],password:D[1]}}}}z&&(A.headers.host=O.hostname+(O.port?":"+O.port:""),x(A,z,_+"//"+O.hostname+(O.port?":"+O.port:"")+A.path));var L=P&&(!z||v.test(z.protocol));e.transport?C=e.transport:0===e.maxRedirects?C=L?c:s:(e.maxRedirects&&(A.maxRedirects=e.maxRedirects),C=L?u:p),e.maxBodyLength>-1&&(A.maxBodyLength=e.maxBodyLength);var N=C.request(A,(function(t){if(!N.aborted){var a=t,r=t.req||N;if(204!==t.statusCode&&"HEAD"!==r.method&&!1!==e.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":a=a.pipe(d.createUnzip()),delete t.headers["content-encoding"]}var i={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:r};if("stream"===e.responseType)i.data=a,o(b,y,i);else{var s=[],c=0;a.on("data",(function(t){s.push(t),c+=t.length,e.maxContentLength>-1&&c>e.maxContentLength&&(a.destroy(),y(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,r)))})),a.on("error",(function(t){N.aborted||y(h(t,e,null,r))})),a.on("end",(function(){var t=Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=n.stripBOM(t))),i.data=t,o(b,y,i)}))}}}));if(N.on("error",(function(t){N.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||y(h(t,e,null,N))})),e.timeout){var U=parseInt(e.timeout,10);if(isNaN(U))return void y(f("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",N));N.setTimeout(U,(function(){N.abort(),y(f("timeout of "+U+"ms exceeded",e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",N))}))}e.cancelToken&&e.cancelToken.promise.then((function(e){N.aborted||(N.abort(),y(e))})),n.isStream(g)?g.on("error",(function(t){y(h(t,e,null,N))})).pipe(N):N.end(g)}))}},6156:(e,t,a)=>{"use strict";var n=a(8114),o=a(5476),r=a(9439),i=a(8774),s=a(2314),c=a(9229),p=a(7417),u=a(8991);e.exports=function(e){return new Promise((function(t,a){var l=e.data,d=e.headers,m=e.responseType;n.isFormData(l)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+v)}var x=s(e.baseURL,e.url);function b(){if(f){var n="getAllResponseHeaders"in f?c(f.getAllResponseHeaders()):null,r={data:m&&"text"!==m&&"json"!==m?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};o(t,a,r),f=null}}if(f.open(e.method.toUpperCase(),i(x,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,"onloadend"in f?f.onloadend=b:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(b)},f.onabort=function(){f&&(a(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){a(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),a(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var y=(e.withCredentials||p(x))&&e.xsrfCookieName?r.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}"setRequestHeader"in f&&n.forEach(d,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),m&&"json"!==m&&(f.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),a(e),f=null)})),l||(l=null),f.send(l)}))}},5353:(e,t,a)=>{"use strict";var n=a(8114),o=a(5507),r=a(9080),i=a(532);function s(e){var t=new r(e),a=o(r.prototype.request,t);return n.extend(a,r.prototype,t),n.extend(a,t),a}var c=s(a(5786));c.Axios=r,c.create=function(e){return s(i(c.defaults,e))},c.Cancel=a(4183),c.CancelToken=a(637),c.isCancel=a(9234),c.all=function(e){return Promise.all(e)},c.spread=a(8620),c.isAxiosError=a(7816),e.exports=c,e.exports.default=c},4183: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},637:(e,t,a)=>{"use strict";var n=a(4183);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var a=this;e((function(e){a.reason||(a.reason=new n(e),t(a.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},9234:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},9080:(e,t,a)=>{"use strict";var n=a(8114),o=a(8774),r=a(7666),i=a(9659),s=a(532),c=a(639),p=c.validators;function u(e){this.defaults=e,this.interceptors={request:new r,response:new r}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:p.transitional(p.boolean,"1.0.0"),forcedJSONParsing:p.transitional(p.boolean,"1.0.0"),clarifyTimeoutError:p.transitional(p.boolean,"1.0.0")},!1);var a=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));var o,r=[];if(this.interceptors.response.forEach((function(e){r.push(e.fulfilled,e.rejected)})),!n){var u=[i,void 0];for(Array.prototype.unshift.apply(u,a),u=u.concat(r),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var l=e;a.length;){var d=a.shift(),m=a.shift();try{l=d(l)}catch(e){m(e);break}}try{o=i(l)}catch(e){return Promise.reject(e)}for(;r.length;)o=o.then(r.shift(),r.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,a){return this.request(s(a||{},{method:e,url:t,data:(a||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,a,n){return this.request(s(n||{},{method:e,url:t,data:a}))}})),e.exports=u},7666:(e,t,a)=>{"use strict";var n=a(8114);function o(){this.handlers=[]}o.prototype.use=function(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},2314:(e,t,a)=>{"use strict";var n=a(2483),o=a(8944);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},8991:(e,t,a)=>{"use strict";var n=a(4418);e.exports=function(e,t,a,o,r){var i=new Error(e);return n(i,t,a,o,r)}},9659:(e,t,a)=>{"use strict";var n=a(8114),o=a(2602),r=a(9234),i=a(5786);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return r(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4418:e=>{"use strict";e.exports=function(e,t,a,n,o){return e.config=t,a&&(e.code=a),e.request=n,e.response=o,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}},e}},532:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){t=t||{};var a={},o=["url","method","data"],r=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function p(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(a[e]=c(void 0,t[e]))})),n.forEach(r,p),n.forEach(i,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(a[o]=c(void 0,e[o])):a[o]=c(void 0,t[o])})),n.forEach(s,(function(n){n in t?a[n]=c(e[n],t[n]):n in e&&(a[n]=c(void 0,e[n]))}));var u=o.concat(r).concat(i).concat(s),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return n.forEach(l,p),a}},5476:(e,t,a)=>{"use strict";var n=a(8991);e.exports=function(e,t,a){var o=a.config.validateStatus;a.status&&o&&!o(a.status)?t(n("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},2602:(e,t,a)=>{"use strict";var n=a(8114),o=a(5786);e.exports=function(e,t,a){var r=this||o;return n.forEach(a,(function(a){e=a.call(r,e,t)})),e}},5786:(e,t,a)=>{"use strict";var n=a(8114),o=a(678),r=a(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,p={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?c=a(6156):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(c=a(9e3)),c),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,a){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,a=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!a&&"json"===this.responseType;if(i||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw r(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, */*"}}};n.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){p.headers[e]=n.merge(i)})),e.exports=p},5507:e=>{"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),n=0;n{"use strict";var n=a(8114);function o(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,a){if(!t)return e;var r;if(a)r=a(t);else if(n.isURLSearchParams(t))r=t.toString();else{var i=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),r=i.join("&")}if(r){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},8944:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9439:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,a,o,r,i){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(a)&&s.push("expires="+new Date(a).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(r)&&s.push("domain="+r),!0===i&&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(){}}},2483:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7816:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(e){return"object"===t(e)&&!0===e.isAxiosError}},7417:(e,t,a)=>{"use strict";var n=a(8114);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function o(e){var n=e;return t&&(a.setAttribute("href",n),n=a.href),a.setAttribute("href",n),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=o(window.location.href),function(t){var a=n.isString(t)?o(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return!0}},678:(e,t,a)=>{"use strict";var n=a(8114);e.exports=function(e,t){n.forEach(e,(function(a,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[n])}))}},9229:(e,t,a)=>{"use strict";var n=a(8114),o=["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,a,r,i={};return e?(n.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=n.trim(e.substr(0,r)).toLowerCase(),a=n.trim(e.substr(r+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([a]):i[t]?i[t]+", "+a:a}})),i):i}},8620:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},639:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(8593),r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(a){return n(a)===e||"a"+(t<1?"n ":" ")+e}}));var i={},s=o.version.split(".");function c(e,t){for(var a=t?t.split("."):s,n=e.split("."),o=0;o<3;o++){if(a[o]>n[o])return!0;if(a[o]0;){var i=o[r],s=t[i];if(s){var c=e[i],p=void 0===c||s(c,i,e);if(!0!==p)throw new TypeError("option "+i+" must be "+p)}else if(!0!==a)throw Error("Unknown option "+i)}},validators:r}},8114:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(5507),r=Object.prototype.toString;function i(e){return"[object Array]"===r.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===n(e)}function p(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===r.call(e)}function l(e,t){if(null!=e)if("object"!==n(e)&&(e=[e]),i(e))for(var a=0,o=e.length;a{"use strict";var n=a(459),o=a(5223),r=o(n("String.prototype.indexOf"));e.exports=function(e,t){var a=n(e,!!t);return"function"==typeof a&&r(e,".prototype.")>-1?o(a):a}},5223:(e,t,a)=>{"use strict";var n=a(3459),o=a(459),r=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,r),c=o("%Object.getOwnPropertyDescriptor%",!0),p=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){var t=s(n,i,arguments);if(c&&p){var a=c(t,"length");a.configurable&&p(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var l=function(){return s(n,r,arguments)};p?p(e.exports,"apply",{value:l}):e.exports.apply=l},8670:(e,t,a)=>{var n=a(3837),o=a(2781).Stream,r=a(256);function i(){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=i,n.inherits(i,o),i.create=function(e){var t=new this;for(var a in e=e||{})t[a]=e[a];return t},i.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},i.prototype.append=function(e){if(i.isStreamLike(e)){if(!(e instanceof r)){var t=r.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},i.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},i.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}}},i.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){i.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},i.prototype._pipeNext=function(e){if(this._currentStream=e,i.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},i.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},i.prototype.write=function(e){this.emit("data",e)},i.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},i.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")},i.prototype.end=function(){this._reset(),this.emit("end")},i.prototype.destroy=function(){this._reset(),this.emit("close")},i.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},i.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},i.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)},i.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},1820:e=>{function t(e){return t="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},t(e)}var a=1e3,n=60*a,o=60*n,r=24*o;function i(e,t,a,n){var o=t>=1.5*a;return Math.round(e/a)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var c,p,u=t(e);if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\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(t){var i=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*r;case"hours":case"hour":case"hrs":case"hr":case"h":return i*o;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=r?i(c,p,r,"day"):p>=o?i(c,p,o,"hour"):p>=n?i(c,p,n,"minute"):p>=a?i(c,p,a,"second"):c+" ms"):function(e){var t=Math.abs(e);return t>=r?Math.round(e/r)+"d":t>=o?Math.round(e/o)+"h":t>=n?Math.round(e/n)+"m":t>=a?Math.round(e/a)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},8682:(e,t,a)=>{var 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){var a="color: "+this.color;t.splice(1,0,a,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,a)}},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.destroy=(n=!1,function(){n||(n=!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||function(){},e.exports=a(3894)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3894:(e,t,a)=>{function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=a(8682):e.exports=a(6193)},6193:(e,t,a)=>{var n=a(6224),o=a(3837);t.init=function(e){e.inspectOpts={};for(var a=Object.keys(t.inspectOpts),n=0;n=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 a=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[a]=n,e}),{}),e.exports=a(3894)(t);var i=e.exports.formatters;i.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},256:(e,t,a)=>{var n=a(2781).Stream,o=a(3837);function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=r,o.inherits(r,n),r.create=function(e,t){var a=new this;for(var n in t=t||{})a[n]=t[n];a.source=e;var o=e.emit;return e.emit=function(){return a._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),a.pauseStream&&e.pause(),a},Object.defineProperty(r.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},r.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))},r.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))}}},5600:(e,t,a)=>{var n;e.exports=function(){if(!n){try{n=a(987)("follow-redirects")}catch(e){}"function"!=typeof n&&(n=function(){})}n.apply(null,arguments)}},5572:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(7310),r=o.URL,i=a(3685),s=a(5687),c=a(2781).Writable,p=a(9491),u=a(5600),l=["abort","aborted","connect","error","socket","timeout"],d=Object.create(null);l.forEach((function(e){d[e]=function(t,a,n){this._redirectable.emit(e,t,a,n)}}));var m=k("ERR_FR_REDIRECTION_FAILURE",""),f=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),h=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),v=k("ERR_STREAM_WRITE_AFTER_END","write after end");function x(e,t){c.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 a=this;this._onNativeResponse=function(e){a._processResponse(e)},this._performRequest()}function b(e){var t={maxRedirects:21,maxBodyLength:10485760},a={};return Object.keys(e).forEach((function(n){var i=n+":",s=a[i]=e[n],c=t[n]=Object.create(s);Object.defineProperties(c,{request:{value:function(e,n,s){if("string"==typeof e){var c=e;try{e=g(new r(c))}catch(t){e=o.parse(c)}}else r&&e instanceof r?e=g(e):(s=n,n=e,e={protocol:i});return"function"==typeof n&&(s=n,n=null),(n=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,n)).nativeProtocols=a,p.equal(n.protocol,i,"protocol mismatch"),u("options",n),new x(n,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,a){var n=c.request(e,t,a);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),t}function y(){}function g(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 a;for(var n in t)e.test(n)&&(a=t[n],delete t[n]);return a}function k(e,t){function a(e){Error.captureStackTrace(this,this.constructor),this.message=e||t}return a.prototype=new Error,a.prototype.constructor=a,a.prototype.name="Error ["+e+"]",a.prototype.code=e,a}function j(e){for(var t=0;t=300&&t<400){if(j(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new f);((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 n=w(/^host$/i,this._options.headers)||o.parse(this._currentUrl).hostname,r=o.resolve(this._currentUrl,a);u("redirecting to",r),this._isRedirect=!0;var i=o.parse(r);if(Object.assign(this._options,i),i.hostname!==n&&w(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var s={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,s)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var c=new m("Redirected request failed: "+e.message);c.cause=e,this.emit("error",c)}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=b({http:i,https:s}),e.exports.wrap=b},2876:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(8670),r=a(3837),i=a(1017),s=a(3685),c=a(5687),p=a(7310).parse,u=a(6231),l=a(5038),d=a(5863),m=a(3829);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,a){"string"==typeof(a=a||{})&&(a={filename:a});var n=o.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),r.isArray(t))this._error(new Error("Arrays are not supported."));else{var i=this._multiPartHeader(e,t,a),s=this._multiPartFooter();n(i),n(t),n(s),this._trackLength(i,t,a)}},f.prototype._trackLength=function(e,t,a){var n=0;null!=a.knownLength?n+=+a.knownLength:Buffer.isBuffer(t)?n=t.length:"string"==typeof t&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+f.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(a.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)):u.stat(e.path,(function(a,n){var o;a?t(a):(o=n.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(a){e.pause(),t(null,+a.headers["content-length"])})),e.resume()):t("Unknown stream")},f.prototype._multiPartHeader=function(e,t,a){if("string"==typeof a.header)return a.header;var o,r=this._getContentDisposition(t,a),i=this._getContentType(t,a),s="",c={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};for(var p in"object"==n(a.header)&&m(c,a.header),c)c.hasOwnProperty(p)&&null!=(o=c[p])&&(Array.isArray(o)||(o=[o]),o.length&&(s+=p+": "+o.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+s+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var a,n;return"string"==typeof t.filepath?a=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?a=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=i.basename(e.client._httpMessage.path||"")),a&&(n='filename="'+a+'"'),n},f.prototype._getContentType=function(e,t){var a=t.contentType;return!a&&e.name&&(a=l.lookup(e.name)),!a&&e.path&&(a=l.lookup(e.path)),!a&&e.readable&&e.hasOwnProperty("httpVersion")&&(a=e.headers["content-type"]),a||!t.filepath&&!t.filename||(a=l.lookup(t.filepath||t.filename)),a||"object"!=n(e)||(a=f.DEFAULT_CONTENT_TYPE),a},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,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(a[t.toLowerCase()]=e[t]);return a},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(),a=0,n=this._streams.length;a{e.exports=function(e,t){return Object.keys(t).forEach((function(a){e[a]=e[a]||t[a]})),e}},5770:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",a=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var r=this;if("function"!=typeof r||n.call(r)!==o)throw new TypeError(t+r);for(var i,s=a.call(arguments,1),c=function(){if(this instanceof i){var t=r.apply(this,s.concat(a.call(arguments)));return Object(t)===t?t:this}return r.apply(e,s.concat(a.call(arguments)))},p=Math.max(0,r.length-s.length),u=[],l=0;l{"use strict";var n=a(5770);e.exports=Function.prototype.bind||n},459:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o,r=SyntaxError,i=Function,s=TypeError,c=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var u=function(){throw new s},l=p?function(){try{return u}catch(e){try{return p(arguments,"callee").get}catch(e){return u}}}():u,d=a(8681)(),m=Object.getPrototypeOf||function(e){return e.__proto__},f={},h="undefined"==typeof Uint8Array?o:m(Uint8Array),v={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":d?m([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%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%":f,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?m(m([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?m((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&&d?m((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?m(""[Symbol.iterator]()):o,"%Symbol%":d?Symbol:o,"%SyntaxError%":r,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":s,"%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},x=function e(t){var a;if("%AsyncFunction%"===t)a=c("async function () {}");else if("%GeneratorFunction%"===t)a=c("function* () {}");else if("%AsyncGeneratorFunction%"===t)a=c("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(a=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(a=m(o.prototype))}return v[t]=a,a},b={"%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"]},y=a(3459),g=a(8482),w=y.call(Function.call,Array.prototype.concat),k=y.call(Function.apply,Array.prototype.splice),j=y.call(Function.call,String.prototype.replace),O=y.call(Function.call,String.prototype.slice),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,P=function(e){var t=O(e,0,1),a=O(e,-1);if("%"===t&&"%"!==a)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===a&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,_,(function(e,t,a,o){n[n.length]=a?j(o,S,"$1"):t||e})),n},E=function(e,t){var a,n=e;if(g(b,n)&&(n="%"+(a=b[n])[0]+"%"),g(v,n)){var o=v[n];if(o===f&&(o=x(n)),void 0===o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');var a=P(e),n=a.length>0?a[0]:"",o=E("%"+n+"%",t),i=o.name,c=o.value,u=!1,l=o.alias;l&&(n=l[0],k(a,w([0,1],l)));for(var d=1,m=!0;d=a.length){var b=p(c,f);c=(m=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[f]}else m=g(c,f),c=c[f];m&&!u&&(v[i]=c)}}return c}},7222:e=>{"use strict";e.exports=function(e,t){t=t||process.argv;var a=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(a+e),o=t.indexOf("--");return-1!==n&&(-1===o||n{"use strict";function n(e){return n="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},n(e)}var o=global.Symbol,r=a(2636);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&r()}},2636:e=>{"use strict";function t(e){return t="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},t(e)}e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===t(Symbol.iterator))return!0;var e={},a=Symbol("test"),n=Object(a);if("string"==typeof a)return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(a in e[a]=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]!==a)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,a))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,a);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},8482:(e,t,a)=>{"use strict";var n=a(3459);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(e,t,a)=>{var n=a(8842)(a(6378),"DataView");e.exports=n},9985:(e,t,a)=>{var n=a(4494),o=a(8002),r=a(6984),i=a(9930),s=a(1556);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(4160),o=a(4389),r=a(1710),i=a(4102),s=a(8594);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Map");e.exports=n},3648:(e,t,a)=>{var n=a(6518),o=a(7734),r=a(9781),i=a(7318),s=a(3882);function c(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t{var n=a(8842)(a(6378),"Promise");e.exports=n},658:(e,t,a)=>{var n=a(8842)(a(6378),"Set");e.exports=n},9306:(e,t,a)=>{var n=a(4619),o=a(1511),r=a(9931),i=a(875),s=a(2603),c=a(3926);function p(e){var t=this.__data__=new n(e);this.size=t.size}p.prototype.clear=o,p.prototype.delete=r,p.prototype.get=i,p.prototype.has=s,p.prototype.set=c,e.exports=p},698:(e,t,a)=>{var n=a(6378).Symbol;e.exports=n},7474:(e,t,a)=>{var n=a(6378).Uint8Array;e.exports=n},4592:(e,t,a)=>{var n=a(8842)(a(6378),"WeakMap");e.exports=n},6878:e=>{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length;++a{e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length,o=0,r=[];++a{var n=a(2916),o=a(9028),r=a(1380),i=a(6288),s=a(9345),c=a(3634),p=Object.prototype.hasOwnProperty;e.exports=function(e,t){var a=r(e),u=!a&&o(e),l=!a&&!u&&i(e),d=!a&&!u&&!l&&c(e),m=a||u||l||d,f=m?n(e.length,String):[],h=f.length;for(var v in e)!t&&!p.call(e,v)||m&&("length"==v||l&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,h))||f.push(v);return f}},1659:e=>{e.exports=function(e,t){for(var a=-1,n=t.length,o=e.length;++a{var n=a(9372),o=a(5032),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,a){var i=e[t];r.call(e,t)&&o(i,a)&&(void 0!==a||t in e)||n(e,t,a)}},1694:(e,t,a)=>{var n=a(5032);e.exports=function(e,t){for(var a=e.length;a--;)if(n(e[a][0],t))return a;return-1}},7784:(e,t,a)=>{var n=a(1893),o=a(19);e.exports=function(e,t){return e&&n(t,o(t),e)}},4741:(e,t,a)=>{var n=a(1893),o=a(5168);e.exports=function(e,t){return e&&n(t,o(t),e)}},9372:(e,t,a)=>{var n=a(2626);e.exports=function(e,t,a){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}},3546:(e,t,a)=>{var n=a(9306),o=a(6878),r=a(8936),i=a(7784),s=a(4741),c=a(2037),p=a(6947),u=a(696),l=a(9193),d=a(2645),m=a(1391),f=a(1863),h=a(1208),v=a(2428),x=a(9662),b=a(1380),y=a(6288),g=a(3718),w=a(9294),k=a(4496),j=a(19),O=a(5168),_="[object Arguments]",S="[object Function]",P="[object Object]",E={};E[_]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E[P]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E[S]=E["[object WeakMap]"]=!1,e.exports=function e(t,a,A,C,z,H){var R,q=1&a,T=2&a,F=4&a;if(A&&(R=z?A(t,C,z,H):A(t)),void 0!==R)return R;if(!w(t))return t;var D=b(t);if(D){if(R=h(t),!q)return p(t,R)}else{var L=f(t),N=L==S||"[object GeneratorFunction]"==L;if(y(t))return c(t,q);if(L==P||L==_||N&&!z){if(R=T||N?{}:x(t),!q)return T?l(t,s(R,t)):u(t,i(R,t))}else{if(!E[L])return z?t:{};R=v(t,L,q)}}H||(H=new n);var U=H.get(t);if(U)return U;H.set(t,R),k(t)?t.forEach((function(n){R.add(e(n,a,A,n,t,H))})):g(t)&&t.forEach((function(n,o){R.set(o,e(n,a,A,o,t,H))}));var B=D?void 0:(F?T?m:d:T?O:j)(t);return o(B||t,(function(n,o){B&&(n=t[o=n]),r(R,o,e(n,a,A,o,t,H))})),R}},1843:(e,t,a)=>{var n=a(9294),o=Object.create,r=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}();e.exports=r},523:(e,t,a)=>{var n=a(1659),o=a(1380);e.exports=function(e,t,a){var r=t(e);return o(e)?r:n(r,a(e))}},5822:(e,t,a)=>{var n=a(698),o=a(7389),r=a(5891),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):r(e)}},1325:(e,t,a)=>{var n=a(5822),o=a(9730);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},5959:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},517:(e,t,a)=>{var n=a(3081),o=a(2674),r=a(9294),i=a(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,u=c.toString,l=p.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||o(e))&&(n(e)?d:s).test(i(e))}},5534:(e,t,a)=>{var n=a(1863),o=a(9730);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},6750:(e,t,a)=>{var n=a(5822),o=a(4509),r=a(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&o(e.length)&&!!i[n(e)]}},3148:(e,t,a)=>{var n=a(2053),o=a(2901),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var a in Object(e))r.call(e,a)&&"constructor"!=a&&t.push(a);return t}},3864:(e,t,a)=>{var n=a(9294),o=a(2053),r=a(476),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=o(e),a=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&a.push(s);return a}},2916:e=>{e.exports=function(e,t){for(var a=-1,n=Array(e);++a{e.exports=function(e){return function(t){return e(t)}}},4033:(e,t,a)=>{var n=a(7474);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},2037:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),r="object"==n(t)&&t&&!t.nodeType&&t,i=r&&"object"==n(e)&&e&&!e.nodeType&&e,s=i&&i.exports===r?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var a=e.length,n=c?c(a):new e.constructor(a);return e.copy(n),n}},3412:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}},7245:e=>{var t=/\w*$/;e.exports=function(e){var a=new e.constructor(e.source,t.exec(e));return a.lastIndex=e.lastIndex,a}},4683:(e,t,a)=>{var n=a(698),o=n?n.prototype:void 0,r=o?o.valueOf:void 0;e.exports=function(e){return r?Object(r.call(e)):{}}},6985:(e,t,a)=>{var n=a(4033);e.exports=function(e,t){var a=t?n(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}},6947:e=>{e.exports=function(e,t){var a=-1,n=e.length;for(t||(t=Array(n));++a{var n=a(8936),o=a(9372);e.exports=function(e,t,a,r){var i=!a;a||(a={});for(var s=-1,c=t.length;++s{var n=a(1893),o=a(1399);e.exports=function(e,t){return n(e,o(e),t)}},9193:(e,t,a)=>{var n=a(1893),o=a(5716);e.exports=function(e,t){return n(e,o(e),t)}},1006:(e,t,a)=>{var n=a(6378)["__core-js_shared__"];e.exports=n},2626:(e,t,a)=>{var n=a(8842),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},4482:e=>{function t(e){return t="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},t(e)}var a="object"==("undefined"==typeof global?"undefined":t(global))&&global&&global.Object===Object&&global;e.exports=a},2645:(e,t,a)=>{var n=a(523),o=a(1399),r=a(19);e.exports=function(e){return n(e,r,o)}},1391:(e,t,a)=>{var n=a(523),o=a(5716),r=a(5168);e.exports=function(e){return n(e,r,o)}},320:(e,t,a)=>{var n=a(8474);e.exports=function(e,t){var a=e.__data__;return n(t)?a["string"==typeof t?"string":"hash"]:a.map}},8842:(e,t,a)=>{var n=a(517),o=a(6930);e.exports=function(e,t){var a=o(e,t);return n(a)?a:void 0}},7109:(e,t,a)=>{var n=a(839)(Object.getPrototypeOf,Object);e.exports=n},7389:(e,t,a)=>{var n=a(698),o=Object.prototype,r=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=r.call(e,s),a=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[s]=a:delete e[s]),o}},1399:(e,t,a)=>{var n=a(9501),o=a(4959),r=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),n(i(e),(function(t){return r.call(e,t)})))}:o;e.exports=s},5716:(e,t,a)=>{var n=a(1659),o=a(7109),r=a(1399),i=a(4959),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,r(e)),e=o(e);return t}:i;e.exports=s},1863:(e,t,a)=>{var n=a(1833),o=a(5914),r=a(9180),i=a(658),s=a(4592),c=a(5822),p=a(110),u="[object Map]",l="[object Promise]",d="[object Set]",m="[object WeakMap]",f="[object DataView]",h=p(n),v=p(o),x=p(r),b=p(i),y=p(s),g=c;(n&&g(new n(new ArrayBuffer(1)))!=f||o&&g(new o)!=u||r&&g(r.resolve())!=l||i&&g(new i)!=d||s&&g(new s)!=m)&&(g=function(e){var t=c(e),a="[object Object]"==t?e.constructor:void 0,n=a?p(a):"";if(n)switch(n){case h:return f;case v:return u;case x:return l;case b:return d;case y:return m}return t}),e.exports=g},6930:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},4494:(e,t,a)=>{var n=a(1303);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6984:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return o.call(t,e)?t[e]:void 0}},9930:(e,t,a)=>{var n=a(1303),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},1556:(e,t,a)=>{var n=a(1303);e.exports=function(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},1208:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var a=e.length,n=new e.constructor(a);return a&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},2428:(e,t,a)=>{var n=a(4033),o=a(3412),r=a(7245),i=a(4683),s=a(6985);e.exports=function(e,t,a){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,a);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,a);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return r(e);case"[object Symbol]":return i(e)}}},9662:(e,t,a)=>{var n=a(1843),o=a(7109),r=a(2053);e.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:n(o(e))}},9345:e=>{function t(e){return t="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},t(e)}var a=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=t(e);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&a.test(e))&&e>-1&&e%1==0&&e{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==e:null===e}},2674:(e,t,a)=>{var n,o=a(1006),r=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},2053:e=>{var t=Object.prototype;e.exports=function(e){var a=e&&e.constructor;return e===("function"==typeof a&&a.prototype||t)}},4160:e=>{e.exports=function(){this.__data__=[],this.size=0}},4389:(e,t,a)=>{var n=a(1694),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,a=n(t,e);return!(a<0||(a==t.length-1?t.pop():o.call(t,a,1),--this.size,0))}},1710:(e,t,a)=>{var n=a(1694);e.exports=function(e){var t=this.__data__,a=n(t,e);return a<0?void 0:t[a][1]}},4102:(e,t,a)=>{var n=a(1694);e.exports=function(e){return n(this.__data__,e)>-1}},8594:(e,t,a)=>{var n=a(1694);e.exports=function(e,t){var a=this.__data__,o=n(a,e);return o<0?(++this.size,a.push([e,t])):a[o][1]=t,this}},6518:(e,t,a)=>{var n=a(9985),o=a(4619),r=a(5914);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(r||o),string:new n}}},7734:(e,t,a)=>{var n=a(320);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},9781:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).get(e)}},7318:(e,t,a)=>{var n=a(320);e.exports=function(e){return n(this,e).has(e)}},3882:(e,t,a)=>{var n=a(320);e.exports=function(e,t){var a=n(this,e),o=a.size;return a.set(e,t),this.size+=a.size==o?0:1,this}},1303:(e,t,a)=>{var n=a(8842)(Object,"create");e.exports=n},2901:(e,t,a)=>{var n=a(839)(Object.keys,Object);e.exports=n},476:e=>{e.exports=function(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}},7873:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(4482),r="object"==n(t)&&t&&!t.nodeType&&t,i=r&&"object"==n(e)&&e&&!e.nodeType&&e,s=i&&i.exports===r&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=c},5891:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},839:e=>{e.exports=function(e,t){return function(a){return e(t(a))}}},6378:(e,t,a)=>{function n(e){return n="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},n(e)}var o=a(4482),r="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},1511:(e,t,a)=>{var n=a(4619);e.exports=function(){this.__data__=new n,this.size=0}},9931:e=>{e.exports=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}},875:e=>{e.exports=function(e){return this.__data__.get(e)}},2603:e=>{e.exports=function(e){return this.__data__.has(e)}},3926:(e,t,a)=>{var n=a(4619),o=a(5914),r=a(3648);e.exports=function(e,t){var a=this.__data__;if(a instanceof n){var i=a.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++a.size,this;a=this.__data__=new r(i)}return a.set(e,t),this.size=a.size,this}},110:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7780:(e,t,a)=>{var n=a(3546);e.exports=function(e){return n(e,5)}},5032:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9028:(e,t,a)=>{var n=a(1325),o=a(9730),r=Object.prototype,i=r.hasOwnProperty,s=r.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1380:e=>{var t=Array.isArray;e.exports=t},6214:(e,t,a)=>{var n=a(3081),o=a(4509);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},6288:(e,t,a)=>{function n(e){return n="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},n(e)}e=a.nmd(e);var o=a(6378),r=a(6408),i="object"==n(t)&&t&&!t.nodeType&&t,s=i&&"object"==n(e)&&e&&!e.nodeType&&e,c=s&&s.exports===i?o.Buffer:void 0,p=(c?c.isBuffer:void 0)||r;e.exports=p},3081:(e,t,a)=>{var n=a(5822),o=a(9294);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4509:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3718:(e,t,a)=>{var n=a(5959),o=a(3184),r=a(7873),i=r&&r.isMap,s=i?o(i):n;e.exports=s},9294:e=>{function t(e){return t="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},t(e)}e.exports=function(e){var a=t(e);return null!=e&&("object"==a||"function"==a)}},9730:e=>{function t(e){return t="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},t(e)}e.exports=function(e){return null!=e&&"object"==t(e)}},4496:(e,t,a)=>{var n=a(5534),o=a(3184),r=a(7873),i=r&&r.isSet,s=i?o(i):n;e.exports=s},3634:(e,t,a)=>{var n=a(6750),o=a(3184),r=a(7873),i=r&&r.isTypedArray,s=i?o(i):n;e.exports=s},19:(e,t,a)=>{var n=a(1832),o=a(3148),r=a(6214);e.exports=function(e){return r(e)?n(e):o(e)}},5168:(e,t,a)=>{var n=a(1832),o=a(3864),r=a(6214);e.exports=function(e){return r(e)?n(e,!0):o(e)}},4959:e=>{e.exports=function(){return[]}},6408:e=>{e.exports=function(){return!1}},5718:(e,t,a)=>{e.exports=a(3765)},5038:(e,t,a)=>{"use strict";var n,o,r,i=a(5718),s=a(1017).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),a=t&&i[t[1].toLowerCase()];return a&&a.charset?a.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var a=-1===e.indexOf("/")?t.lookup(e):e;if(!a)return!1;if(-1===a.indexOf("charset")){var n=t.charset(a);n&&(a+="; charset="+n.toLowerCase())}return a},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var a=c.exec(e),n=a&&t.extensions[a[1].toLowerCase()];return!(!n||!n.length)&&n[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var a=s("x."+e).toLowerCase().substr(1);return a&&t.types[a]||!1},t.types=Object.create(null),n=t.extensions,o=t.types,r=["nginx","apache",void 0,"iana"],Object.keys(i).forEach((function(e){var t=i[e],a=t.extensions;if(a&&a.length){n[e]=a;for(var s=0;su||p===u&&"application/"===o[c].substr(0,12)))continue}o[c]=e}}}))},266:e=>{"use strict";var t=String.prototype.replace,a=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},903:(e,t,a)=>{"use strict";var n=a(4479),o=a(7877),r=a(266);e.exports={formats:r,parse:o,stringify:n}},7877:(e,t,a)=>{"use strict";var n=a(1640),o=Object.prototype.hasOwnProperty,r=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.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))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,t,a,n){if(e){var r=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=a.depth>0&&/(\[[^[\]]*])/.exec(r),p=s?r.slice(0,s.index):r,u=[];if(p){if(!a.plainObjects&&o.call(Object.prototype,p)&&!a.allowPrototypes)return;u.push(p)}for(var l=0;a.depth>0&&null!==(s=i.exec(r))&&l=0;--r){var i,s=e[r];if("[]"===s&&a.parseArrays)i=[].concat(o);else{i=a.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(p,10);a.parseArrays||""!==p?!isNaN(u)&&s!==p&&String(u)===p&&u>=0&&a.parseArrays&&u<=a.arrayLimit?(i=[])[u]=o:i[p]=o:i={0:o}}o=i}return o}(u,t,a,n)}};e.exports=function(e,t){var a=function(e){if(!e)return i;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?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return a.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var a,p={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,l),m=-1,f=t.charset;if(t.charsetSentinel)for(a=0;a-1&&(v=r(v)?[v]:v),o.call(p,h)?p[h]=n.combine(p[h],v):p[h]=v}return p}(e,a):e,l=a.plainObjects?Object.create(null):{},d=Object.keys(u),m=0;m{"use strict";function n(e){return n="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},n(e)}var o=a(3796),r=a(1640),i=a(266),s=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},p=Array.isArray,u=String.prototype.split,l=Array.prototype.push,d=function(e,t){l.apply(e,p(t)?t:[t])},m=Date.prototype.toISOString,f=i.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return m.call(e)},skipNulls:!1,strictNullHandling:!1},v={},x=function e(t,a,i,s,c,l,m,f,x,b,y,g,w,k,j){for(var O,_=t,S=j,P=0,E=!1;void 0!==(S=S.get(v))&&!E;){var A=S.get(t);if(P+=1,void 0!==A){if(A===P)throw new RangeError("Cyclic object value");E=!0}void 0===S.get(v)&&(P=0)}if("function"==typeof m?_=m(a,_):_ instanceof Date?_=b(_):"comma"===i&&p(_)&&(_=r.maybeMap(_,(function(e){return e instanceof Date?b(e):e}))),null===_){if(s)return l&&!w?l(a,h.encoder,k,"key",y):a;_=""}if("string"==typeof(O=_)||"number"==typeof O||"boolean"==typeof O||"symbol"===n(O)||"bigint"==typeof O||r.isBuffer(_)){if(l){var C=w?a:l(a,h.encoder,k,"key",y);if("comma"===i&&w){for(var z=u.call(String(_),","),H="",R=0;R0?_.join(",")||null:void 0}];else if(p(m))q=m;else{var F=Object.keys(_);q=f?F.sort(f):F}for(var D=0;D0?w+g:""}},1640:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(266),r=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var a=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),a=t.obj[t.prop];if(i(a)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?p+=c.charAt(u):l<128?p+=s[l]:l<2048?p+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?p+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),p+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return p},isBuffer:function(e){return!(!e||"object"!==n(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 a=[],n=0;n{function n(e){return n="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},n(e)}var o=function(e){"use strict";var t,a=Object.prototype,o=a.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function p(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,a){return e[t]=a}}function u(e,t,a,n){var o=t&&t.prototype instanceof x?t:x,r=Object.create(o.prototype),i=new A(n||[]);return r._invoke=function(e,t,a){var n=d;return function(o,r){if(n===f)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw r;return z()}for(a.method=o,a.arg=r;;){var i=a.delegate;if(i){var s=S(i,a);if(s){if(s===v)continue;return s}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===d)throw n=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=f;var c=l(e,t,a);if("normal"===c.type){if(n=a.done?h:m,c.arg===v)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(n=h,a.method="throw",a.arg=c.arg)}}}(e,a,i),r}function l(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",m="suspendedYield",f="executing",h="completed",v={};function x(){}function b(){}function y(){}var g={};p(g,i,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(C([])));k&&k!==a&&o.call(k,i)&&(g=k);var j=y.prototype=x.prototype=Object.create(g);function O(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function a(r,i,s,c){var p=l(e[r],e,i);if("throw"!==p.type){var u=p.arg,d=u.value;return d&&"object"===n(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){a("next",e,s,c)}),(function(e){a("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return a("throw",e,s,c)}))}c(p.arg)}var r;this._invoke=function(e,n){function o(){return new t((function(t,o){a(e,n,t,o)}))}return r=r?r.then(o,o):o()}}function S(e,a){var n=e.iterator[a.method];if(n===t){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=t,S(e,a),"throw"===a.method))return v;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,e.iterator,a.arg);if("throw"===o.type)return a.method="throw",a.arg=o.arg,a.delegate=null,v;var r=o.arg;return r?r.done?(a[e.resultName]=r.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,v):r:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function C(e){if(e){var a=e[i];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function a(){for(;++n=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),p=o.call(i,"finallyLoc");if(c&&p){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),E(a),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var o=n.arg;E(a)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,n){return this.delegate={iterator:C(e),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}("object"===n(e=a.nmd(e))?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}var o=a(459),r=a(2639),i=a(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),p=o("%Map%",!0),u=r("WeakMap.prototype.get",!0),l=r("WeakMap.prototype.set",!0),d=r("WeakMap.prototype.has",!0),m=r("Map.prototype.get",!0),f=r("Map.prototype.set",!0),h=r("Map.prototype.has",!0),v=function(e,t){for(var a,n=e;null!==(a=n.next);n=a)if(a.key===t)return n.next=a.next,a.next=e.next,e.next=a,a};e.exports=function(){var e,t,a,o={assert:function(e){if(!o.has(e))throw new s("Side channel does not contain "+i(e))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return u(e,o)}else if(p){if(t)return m(t,o)}else if(a)return function(e,t){var a=v(e,t);return a&&a.value}(a,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(e)return d(e,o)}else if(p){if(t)return h(t,o)}else if(a)return function(e,t){return!!v(e,t)}(a,o);return!1},set:function(o,r){c&&o&&("object"===n(o)||"function"==typeof o)?(e||(e=new c),l(e,o,r)):p?(t||(t=new p),f(t,o,r)):(a||(a={key:{},next:null}),function(e,t,a){var n=v(e,t);n?n.value=a:e.next={key:t,next:e.next,value:a}}(a,o,r))}};return o}},4562:(e,t,a)=>{function n(e){return n="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},n(e)}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,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&p&&"function"==typeof p.get?p.get:null,l=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,v=Object.prototype.toString,x=Function.prototype.toString,b=String.prototype.match,y="function"==typeof BigInt?BigInt.prototype.valueOf:null,g=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"===n(Symbol.iterator),j="function"==typeof Symbol&&Symbol.toStringTag&&(n(Symbol.toStringTag),1)?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,_=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),S=a(7075).custom,P=S&&z(S)?S:null;function E(e,t,a){var n="double"===(a.quoteStyle||t)?'"':"'";return n+e+n}function A(e){return String(e).replace(/"/g,""")}function C(e){return!("[object Array]"!==q(e)||j&&"object"===n(e)&&j in e)}function z(e){if(k)return e&&"object"===n(e)&&e instanceof Symbol;if("symbol"===n(e))return!0;if(!e||"object"!==n(e)||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}e.exports=function e(t,a,o,r){var c=a||{};if(R(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(R(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=!R(c,"customInspect")||c.customInspect;if("boolean"!=typeof p&&"symbol"!==p)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(R(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return F(t,c);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var v=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=v&&v>0&&"object"===n(t))return C(t)?"[Array]":"[Object]";var g,O=function(e,t){var a;if("\t"===e.indent)a="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;a=Array(e.indent+1).join(" ")}return{base:a,prev:Array(t+1).join(a)}}(c,o);if(void 0===r)r=[];else if(T(r,t)>=0)return"[Circular]";function S(t,a,n){if(a&&(r=r.slice()).push(a),n){var i={depth:c.depth};return R(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,o+1,r)}return e(t,c,o+1,r)}if("function"==typeof t){var H=function(e){if(e.name)return e.name;var t=b.call(x.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),D=I(t,S);return"[Function"+(H?": "+H:" (anonymous)")+"]"+(D.length>0?" { "+D.join(", ")+" }":"")}if(z(t)){var M=k?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(t);return"object"!==n(t)||k?M:L(M)}if((g=t)&&"object"===n(g)&&("undefined"!=typeof HTMLElement&&g instanceof HTMLElement||"string"==typeof g.nodeName&&"function"==typeof g.getAttribute)){for(var W="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],$=0;$"}if(C(t)){if(0===t.length)return"[]";var V=I(t,S);return O&&!function(e){for(var t=0;t=0)return!1;return!0}(V)?"["+B(V,O)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==q(e)||j&&"object"===n(e)&&j in e)}(t)){var J=I(t,S);return 0===J.length?"["+String(t)+"]":"{ ["+String(t)+"] "+J.join(", ")+" }"}if("object"===n(t)&&p){if(P&&"function"==typeof t[P])return t[P]();if("symbol"!==p&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!==n(e))return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var K=[];return s.call(t,(function(e,a){K.push(S(a,t,!0)+" => "+S(e,t))})),U("Map",i.call(t),K,O)}if(function(e){if(!u||!e||"object"!==n(e))return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var Q=[];return l.call(t,(function(e){Q.push(S(e,t))})),U("Set",u.call(t),Q,O)}if(function(e){if(!d||!e||"object"!==n(e))return!1;try{d.call(e,d);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return N("WeakMap");if(function(e){if(!m||!e||"object"!==n(e))return!1;try{m.call(e,m);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return N("WeakSet");if(function(e){if(!f||!e||"object"!==n(e))return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return N("WeakRef");if(function(e){return!("[object Number]"!==q(e)||j&&"object"===n(e)&&j in e)}(t))return L(S(Number(t)));if(function(e){if(!e||"object"!==n(e)||!y)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return L(S(y.call(t)));if(function(e){return!("[object Boolean]"!==q(e)||j&&"object"===n(e)&&j in e)}(t))return L(h.call(t));if(function(e){return!("[object String]"!==q(e)||j&&"object"===n(e)&&j in e)}(t))return L(S(String(t)));if(!function(e){return!("[object Date]"!==q(e)||j&&"object"===n(e)&&j in e)}(t)&&!function(e){return!("[object RegExp]"!==q(e)||j&&"object"===n(e)&&j in e)}(t)){var Y=I(t,S),X=_?_(t)===Object.prototype:t instanceof Object||t.constructor===Object,Z=t instanceof Object?"":"null prototype",ee=!X&&j&&Object(t)===t&&j in t?q(t).slice(8,-1):Z?"Object":"",te=(X||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ee||Z?"["+[].concat(ee||[],Z||[]).join(": ")+"] ":"");return 0===Y.length?te+"{}":O?te+"{"+B(Y,O)+"}":te+"{ "+Y.join(", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function R(e,t){return H.call(e,t)}function q(e){return v.call(e)}function T(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,n=e.length;at.maxStringLength){var a=e.length-t.maxStringLength,n="... "+a+" more character"+(a>1?"s":"");return F(e.slice(0,t.maxStringLength),t)+n}return E(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,D),"single",t)}function D(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function L(e){return"Object("+e+")"}function N(e){return e+" { ? }"}function U(e,t,a,n){return e+" ("+t+") {"+(n?B(a,n):a.join(", "))+"}"}function B(e,t){if(0===e.length)return"";var a="\n"+t.prev+t.base;return a+e.join(","+a)+"\n"+t.prev}function I(e,t){var a=C(e),n=[];if(a){n.length=e.length;for(var o=0;o{e.exports=a(3837).inspect},346:(e,t,a)=>{"use strict";var n,o=a(9563),r=a(7222),i=process.env;function s(e){var t=function(e){if(!1===n)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!==n)return 0;var t=n?1:0;if("win32"===process.platform){var a=o.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return 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){var s=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return s>=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")?n=!1:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(n=!0),"FORCE_COLOR"in i&&(n=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},6231:e=>{"use strict";e.exports=require("fs")},9491:e=>{"use strict";e.exports=require("assert")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},9563:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},8593:e=>{"use strict";e.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')},3765: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/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/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/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},"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/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/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":{"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},"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/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/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/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"},"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/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/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"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.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.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.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.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.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.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.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.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.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.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.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.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},"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-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"},"image/avcs":{"source":"iana"},"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","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"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/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.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/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/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}}')}},t={};function a(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={id:n,loaded:!1,exports:{}};return e[n](r,r.exports,a),r.loaded=!0,r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n=a(4495);module.exports=n})(); \ No newline at end of file diff --git a/dist/react-native/contentstack-management.js b/dist/react-native/contentstack-management.js index 58fffd7a..e01ebc3c 100644 --- a/dist/react-native/contentstack-management.js +++ b/dist/react-native/contentstack-management.js @@ -1 +1 @@ -(()=>{var t={1576:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>fe});const o="1.3.0";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),S=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},i()(r)),i()(this.stackHeaders)),params:x({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},i()(this.stackHeaders)),params:x({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw y(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),y(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function N(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new N(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,$t));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,q)}function q(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,S({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,xt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function St(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Et));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Et(t,e,r){return(i()(e.items)||[]).map((function(n){return new Ht(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Et(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=D(t,"release"),this.delete=E(t),this.item=function(){return new Ht(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Nt})),this}function Nt(t,e){return(i()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",P(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",P(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",P(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:qt}))}function qt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function It(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=D(t,"branch")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Mt})),this}function Mt(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new It(t,{branch:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:zt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new It(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:zt({},i()(this.stackHeaders)),params:zt({},i()(r))}||{},e.next=5,t.get(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",new It(t,C(o,this.stackHeaders)));case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=R(t,Mt),this}function Gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new It(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Wt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Vt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Vt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new N(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:$t})),this}function $t(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Jt(t,{stack:e})}))}function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Kt({},i()(t));return new Jt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=oe(oe({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=re().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=oe(oe({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ce(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),a);var s=ue(t);return Xt({http:s})}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),k=g.call(Function.call,Array.prototype.concat),x=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,P,(function(t,e,r,o){n[n.length]=r?j(o,S,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],x(r,k([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),k=r(9294),x=r(4496),j=r(19),O=r(5168),P="[object Arguments]",S="[object Function]",_="[object Object]",A={};A[P]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[S]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,H,E,D,R){var C,N=1&r,T=2&r,U=4&r;if(H&&(C=D?H(e,E,D,R):H(e)),void 0!==C)return C;if(!k(e))return e;var L=m(e);if(L){if(C=y(e),!N)return u(e,C)}else{var F=d(e),q=F==S||"[object GeneratorFunction]"==F;if(g(e))return c(e,N);if(F==_||F==P||q&&!D){if(C=T||q?{}:v(e),!N)return T?l(e,s(C,e)):p(e,i(C,e))}else{if(!A[F])return D?e:{};C=b(e,F,N)}}R||(R=new n);var I=R.get(e);if(I)return I;R.set(e,C),x(e)?e.forEach((function(n){C.add(t(n,r,H,n,e,R))})):w(e)&&e.forEach((function(n,o){C.set(o,t(n,r,H,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(C,o,t(n,r,H,o,e,R))})),C}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,l=function(t,e){p.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,f,h,y,b,v,m,g,w,k){var x,j=e;if(k.has(e))throw new RangeError("Cyclic object value");if("function"==typeof f?j=f(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(x=j)||"number"==typeof x||"boolean"==typeof x||"symbol"===n(x)||"bigint"==typeof x||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,P=[];if(void 0===j)return P;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(f))O=f;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?k+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new H(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=S(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==r&&o.call(x,i)&&(w=x);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function H(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function E(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:E(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,x="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(7165).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function H(t){return String(t).replace(/"/g,""")}function E(t){return!("[object Array]"!==N(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(x)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!k)return!1;try{return k.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return E(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function P(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,P);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=x?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(e);return"object"!==n(e)||x?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(E(e)){if(0===e.length)return"[]";var J=B(e,P);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,P);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(P(r,e,!0)+" => "+P(t,e))})),I("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(P(t,e))})),I("Set",p.call(e),K,j)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return q("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return q("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return q("WeakRef");if(function(t){return!("[object Number]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e))return F(P(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(P(g.call(e)));if(function(t){return!("[object Boolean]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e))return F(P(String(e)));if(!function(t){return!("[object Date]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,P),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?N(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function N(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function q(t){return t+" { ? }"}function I(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=E(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(1576);module.exports=n})(); \ No newline at end of file +(()=>{var t={1576:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>fe});const o="1.3.0";var a=r(7780),i=r.n(a),s=r(7410),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.platform)()||"linux",e=(0,s.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function l(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=f(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=f(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=f(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=f(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=f(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},i()(r)),i()(this.stackHeaders)),params:x({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return f(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},i()(this.stackHeaders)),params:x({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw y(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),y(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},D=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function N(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new N(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,$t));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,q)}function q(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=f(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset"),this.replace=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:lt})),this}function lt(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=f(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===ft(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=f(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=f(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=f(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,xt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=f(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=f(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Et));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Et(t,e,r){return(i()(e.items)||[]).map((function(n){return new Ht(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Et(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=D(t,"release"),this.delete=E(t),this.item=function(){return new Ht(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(l=r.sent).data){r.next=11;break}return r.abrupt("return",l.data);case 11:throw y(l);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=f(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Nt})),this}function Nt(t,e){return(i()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=f(d().mark((function r(n){var o,a,s,c,u,p,l,f,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,l=void 0!==p&&p,f={},o&&(f=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},l&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",f,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=f(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:qt}))}function qt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function It(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=D(t,"branch")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Mt})),this}function Mt(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new It(t,{branch:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=f(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:zt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new It(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=f(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:zt({},i()(this.stackHeaders)),params:zt({},i()(r))}||{},e.next=5,t.get(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",new It(t,C(o,this.stackHeaders)));case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=R(t,Mt),this}function Gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new It(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Wt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=f(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=f(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Vt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=f(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Vt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=f(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new N(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:$t})),this}function $t(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Jt(t,{stack:e})}))}function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Kt({},i()(t));return new Jt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=oe(oe({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=re().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=oe(oe({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ce(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=le(le({},e),i()(t))).headers=le(le({},t.headers),a);var s=ue(t);return Xt({http:s})}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var l=t.data,f=t.headers,h=t.responseType;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(f[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(f,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),l||(l=null),d.send(l)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var l=t;r.length;){var f=r.shift(),h=r.shift();try{l=f(l)}catch(t){h(t);break}}try{o=i(l)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(l,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function l(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],l=0;l{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},l=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,f=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((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&&f?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):o,"%Symbol%":f?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),k=g.call(Function.call,Array.prototype.concat),x=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,l=o.alias;l&&(n=l[0],x(r,k([0,1],l)));for(var f=1,h=!0;f=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),l=!r&&!p&&i(t),f=!r&&!p&&!l&&c(t),h=r||p||l||f,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),l=r(9193),f=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),k=r(9294),x=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,H,E,D,R){var C,N=1&r,T=2&r,U=4&r;if(H&&(C=D?H(e,E,D,R):H(e)),void 0!==C)return C;if(!k(e))return e;var L=m(e);if(L){if(C=y(e),!N)return u(e,C)}else{var F=d(e),q=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,N);if(F==_||F==S||q&&!D){if(C=T||q?{}:v(e),!N)return T?l(e,s(C,e)):p(e,i(C,e))}else{if(!A[F])return D?e:{};C=b(e,F,N)}}R||(R=new n);var I=R.get(e);if(I)return I;R.set(e,C),x(e)?e.forEach((function(n){C.add(t(n,r,H,n,e,R))})):w(e)&&e.forEach((function(n,o){C.set(o,t(n,r,H,o,e,R))}));var M=L?void 0:(U?T?h:f:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(C,o,t(n,r,H,o,e,R))})),C}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,l=u.hasOwnProperty,f=RegExp("^"+p.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",l="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=l||i&&w(new i)!=f||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return l;case m:return f;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var l=0;r.depth>0&&null!==(s=i.exec(a))&&l=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=String.prototype.split,l=Array.prototype.push,f=function(t,e){l.apply(t,u(e)?e:[e])},h=Date.prototype.toISOString,d=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},b={},v=function t(e,r,i,s,c,l,h,d,v,m,g,w,k,x,j){for(var O,S=e,P=j,_=0,A=!1;void 0!==(P=P.get(b))&&!A;){var H=P.get(e);if(_+=1,void 0!==H){if(H===_)throw new RangeError("Cyclic object value");A=!0}void 0===P.get(b)&&(_=0)}if("function"==typeof h?S=h(r,S):S instanceof Date?S=m(S):"comma"===i&&u(S)&&(S=a.maybeMap(S,(function(t){return t instanceof Date?m(t):t}))),null===S){if(s)return l&&!k?l(r,y.encoder,x,"key",g):r;S=""}if("string"==typeof(O=S)||"number"==typeof O||"boolean"==typeof O||"symbol"===n(O)||"bigint"==typeof O||a.isBuffer(S)){if(l){var E=k?r:l(r,y.encoder,x,"key",g);if("comma"===i&&k){for(var D=p.call(String(S),","),R="",C=0;C0?S.join(",")||null:void 0}];else if(u(h))N=h;else{var U=Object.keys(S);N=d?U.sort(d):U}for(var L=0;L0?k+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===o.RFC1738&&(40===l||41===l)?u+=c.charAt(p):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(p)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new H(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==r&&o.call(x,i)&&(w=x);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=l(t[a],t,i);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"===n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function H(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function E(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:E(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),f=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return f(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),l(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,x="function"==typeof Symbol&&"object"===n(Symbol.iterator),j="function"==typeof Symbol&&Symbol.toStringTag&&(n(Symbol.toStringTag),1)?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,S=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(7165).custom,_=P&&D(P)?P:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function H(t){return String(t).replace(/"/g,""")}function E(t){return!("[object Array]"!==N(t)||j&&"object"===n(t)&&j in t)}function D(t){if(x)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!k)return!1;try{return k.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return E(e)?"[Array]":"[Object]";var w,O=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function P(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,P);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=x?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(e);return"object"!==n(e)||x?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(E(e)){if(0===e.length)return"[]";var J=B(e,P);return O&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,O)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==N(t)||j&&"object"===n(t)&&j in t)}(e)){var $=B(e,P);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(_&&"function"==typeof e[_])return e[_]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(P(r,e,!0)+" => "+P(t,e))})),I("Map",i.call(e),Q,O)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return l.call(e,(function(t){K.push(P(t,e))})),I("Set",p.call(e),K,O)}if(function(t){if(!f||!t||"object"!==n(t))return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return q("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return q("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return q("WeakRef");if(function(t){return!("[object Number]"!==N(t)||j&&"object"===n(t)&&j in t)}(e))return F(P(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(P(g.call(e)));if(function(t){return!("[object Boolean]"!==N(t)||j&&"object"===n(t)&&j in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==N(t)||j&&"object"===n(t)&&j in t)}(e))return F(P(String(e)));if(!function(t){return!("[object Date]"!==N(t)||j&&"object"===n(t)&&j in t)}(e)&&!function(t){return!("[object RegExp]"!==N(t)||j&&"object"===n(t)&&j in t)}(e)){var X=B(e,P),Y=S?S(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&j&&Object(e)===e&&j in e?N(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":O?et+"{"+M(X,O)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function N(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function q(t){return t+" { ? }"}function I(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=E(t),n=[];if(r){n.length=t.length;for(var o=0;o{},7165:()=>{},8593:t=>{"use strict";t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n=r(1576);module.exports=n})(); \ No newline at end of file diff --git a/dist/web/contentstack-management.js b/dist/web/contentstack-management.js index b1880d01..17008ef1 100644 --- a/dist/web/contentstack-management.js +++ b/dist/web/contentstack-management.js @@ -1 +1 @@ -!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,(function(){return(()=>{var t={1576:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>le});const o="1.3.0";var a=r(7780),i=r.n(a),s=r(9956),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.Jv)()||"linux",e=(0,s.Ar)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function f(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){f(a,n,o,i,s,"next",t)}function s(t){f(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=l(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),S=function(){var t=l(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},i()(r)),i()(this.stackHeaders)),params:x({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},i()(this.stackHeaders)),params:x({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw y(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),y(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},D=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function N(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new N(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,$t));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,q)}function q(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset"),this.replace=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function lt(t){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=l(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,S({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=l(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,xt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,St),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function St(t,e){return(i()(e.workflows)||[]).map((function(r){return new Pt(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Et));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Et(t,e,r){return(i()(e.items)||[]).map((function(n){return new Ht(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Et(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=D(t,"release"),this.delete=E(t),this.item=function(){return new Ht(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw y(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Nt})),this}function Nt(t,e){return(i()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",P(t,"/bulk/publish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",P(t,"/bulk/unpublish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",P(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:qt}))}function qt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function It(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=D(t,"branch")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Mt})),this}function Mt(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new It(t,{branch:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:zt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new It(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:zt({},i()(this.stackHeaders)),params:zt({},i()(r))}||{},e.next=5,t.get(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",new It(t,C(o,this.stackHeaders)));case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=R(t,Mt),this}function Gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new It(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Wt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new Pt(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Vt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Vt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new N(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:$t})),this}function $t(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Jt(t,{stack:e})}))}function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Kt({},i()(t));return new Jt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=oe(oe({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=re().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=oe(oe({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ce(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=fe(fe({},e),i()(t))).headers=fe(fe({},t.headers),a);var s=ue(t);return Xt({http:s})}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers,h=t.responseType;n.isFormData(f)&&delete l["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(l[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),f||(f=null),d.send(f)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var f=t;r.length;){var l=r.shift(),h=r.shift();try{f=l(f)}catch(t){h(t);break}}try{o=i(f)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],f=0;f{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},f=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,l=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":l?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?h((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&&l?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?h(""[Symbol.iterator]()):o,"%Symbol%":l?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":f,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),k=g.call(Function.call,Array.prototype.concat),x=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,P,(function(t,e,r,o){n[n.length]=r?j(o,S,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,f=o.alias;f&&(n=f[0],x(r,k([0,1],f)));for(var l=1,h=!0;l=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),f=r(9193),l=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),k=r(9294),x=r(4496),j=r(19),O=r(5168),P="[object Arguments]",S="[object Function]",_="[object Object]",A={};A[P]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[S]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,H,E,D,R){var C,N=1&r,T=2&r,U=4&r;if(H&&(C=D?H(e,E,D,R):H(e)),void 0!==C)return C;if(!k(e))return e;var L=m(e);if(L){if(C=y(e),!N)return u(e,C)}else{var F=d(e),q=F==S||"[object GeneratorFunction]"==F;if(g(e))return c(e,N);if(F==_||F==P||q&&!D){if(C=T||q?{}:v(e),!N)return T?f(e,s(C,e)):p(e,i(C,e))}else{if(!A[F])return D?e:{};C=b(e,F,N)}}R||(R=new n);var I=R.get(e);if(I)return I;R.set(e,C),x(e)?e.forEach((function(n){C.add(t(n,r,H,n,e,R))})):w(e)&&e.forEach((function(n,o){C.set(o,t(n,r,H,o,e,R))}));var M=L?void 0:(U?T?h:l:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(C,o,t(n,r,H,o,e,R))})),C}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",f="[object Promise]",l="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=f||i&&w(new i)!=l||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return f;case m:return l;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},9956:(t,e)=>{e.Ar=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.Jv=function(){return"browser"}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=Array.prototype.push,f=function(t,e){p.apply(t,u(e)?e:[e])},l=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,i,s,c,p,l,h,y,b,v,m,g,w,k){var x,j=e;if(k.has(e))throw new RangeError("Cyclic object value");if("function"==typeof l?j=l(r,j):j instanceof Date?j=b(j):"comma"===i&&u(j)&&(j=a.maybeMap(j,(function(t){return t instanceof Date?b(t):t}))),null===j){if(s)return p&&!g?p(r,d.encoder,w,"key",v):r;j=""}if("string"==typeof(x=j)||"number"==typeof x||"boolean"==typeof x||"symbol"===n(x)||"bigint"==typeof x||a.isBuffer(j))return p?[m(g?r:p(r,d.encoder,w,"key",v))+"="+m(p(j,d.encoder,w,"value",v))]:[m(r)+"="+m(String(j))];var O,P=[];if(void 0===j)return P;if("comma"===i&&u(j))O=[{value:j.length>0?j.join(",")||null:void 0}];else if(u(l))O=l;else{var S=Object.keys(j);O=h?S.sort(h):S}for(var _=0;_0?k+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new H(n||[]);return a._invoke=function(t,e,r){var n=l;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=S(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var l="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==r&&o.call(x,i)&&(w=x);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(a,i,s,c){var u=f(t[a],t,i);if("throw"!==u.type){var p=u.arg,l=p.value;return l&&"object"===n(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(l).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function H(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function E(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:E(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,x="function"==typeof Symbol&&"object"===n(Symbol.iterator),j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(7165).custom,S=P&&D(P)?P:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function H(t){return String(t).replace(/"/g,""")}function E(t){return!("[object Array]"!==N(t)||_&&"object"===n(t)&&_ in t)}function D(t){if(x)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!k)return!1;try{return k.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return E(e)?"[Array]":"[Object]";var w,j=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function P(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,P);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=x?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(e);return"object"!==n(e)||x?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(E(e)){if(0===e.length)return"[]";var J=B(e,P);return j&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,j)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e)){var $=B(e,P);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(S&&"function"==typeof e[S])return e[S]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(P(r,e,!0)+" => "+P(t,e))})),I("Map",i.call(e),Q,j)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return f.call(e,(function(t){K.push(P(t,e))})),I("Set",p.call(e),K,j)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return q("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return q("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return q("WeakRef");if(function(t){return!("[object Number]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e))return F(P(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(P(g.call(e)));if(function(t){return!("[object Boolean]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e))return F(P(String(e)));if(!function(t){return!("[object Date]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e)&&!function(t){return!("[object RegExp]"!==N(t)||_&&"object"===n(t)&&_ in t)}(e)){var X=B(e,P),Y=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&_&&Object(e)===e&&_ in e?N(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":j?et+"{"+M(X,j)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function N(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function q(t){return t+" { ? }"}function I(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=E(t),n=[];if(r){n.length=t.length;for(var o=0;o{},8593:t=>{"use strict";t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}return r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r(1576)})()})); \ No newline at end of file +!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,(function(){return(()=>{var t={1576:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{client:()=>le});const o="1.3.0";var a=r(7780),i=r.n(a),s=r(9956),c=/^(?!\w+:\/\/)([\w-:]+\.)+([\w-:]+)(?::(\d+))?(?!:)$/;function u(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,r=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?r="macOS":-1!==["iPhone","iPad","iPod"].indexOf(e)?r="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?r="Windows":/Android/.test(t)?r="Android":/Linux/.test(e)&&(r="Linux"),r}function p(t,e,r,n){var o=[];e&&o.push("app ".concat(e)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(t));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),o.push("platform ReactNative")):"undefined"==typeof process||process.browser?(a=u(),o.push("platform browser")):(a=function(){var t=(0,s.Jv)()||"linux",e=(0,s.Ar)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){a=null}return a&&o.push("os ".concat(a)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function f(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){f(a,n,o,i,s,"next",t)}function s(t){f(a,n,o,i,s,"throw",t)}i(void 0)}))}}var h=r(5843),d=r.n(h);function y(t){var e=t.config,r=t.response;if(!e||!r)throw t;var n=r.data,o={status:r.status,statusText:r.statusText};if(e.headers&&e.headers.authtoken){var a="...".concat(e.headers.authtoken.substr(-5));e.headers.authtoken=a}if(e.headers&&e.headers.authorization){var i="...".concat(e.headers.authorization.substr(-5));e.headers.authorization=i}o.request={url:e.url,method:e.method,data:e.data,headers:e.headers},n&&(o.errorMessage=n.error_message||"",o.errorCode=n.error_code||0,o.errors=n.errors||{});var s=new Error;throw Object.assign(s,o),s.message=JSON.stringify(o),s}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;b(this,t);var a=e.data||{};n&&(a.stackHeaders=n),this.items=o(r,a),void 0!==a.schema&&(this.schema=a.schema),void 0!==a.content_type&&(this.content_type=a.content_type),void 0!==a.count&&(this.count=a.count),void 0!==a.notice&&(this.notice=a.notice)};function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0,a={};n&&(a.headers=n);var s=null;r&&(r.content_type_uid&&(s=r.content_type_uid,delete r.content_type_uid),a.params=g({},i()(r)));var c=function(){var r=l(d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.get(e,a);case 3:if(!(i=r.sent).data){r.next=9;break}return s&&(i.data.content_type_uid=s),r.abrupt("return",new v(i,t,n,o));case 9:throw y(i);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(0),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(){return r.apply(this,arguments)}}(),u=function(){var r=l(d().mark((function r(){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a.params=g(g({},a.params),{},{count:!0}),r.prev=1,r.next=4,t.get(e,a);case 4:if(!(n=r.sent).data){r.next=9;break}return r.abrupt("return",n.data);case 9:throw y(n);case 10:r.next=15;break;case 12:throw r.prev=12,r.t0=r.catch(1),y(r.t0);case 15:case"end":return r.stop()}}),r,null,[[1,12]])})));return function(){return r.apply(this,arguments)}}(),p=function(){var r=l(d().mark((function r(){var i,c;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=a).params.limit=1,r.prev=2,r.next=5,t.get(e,i);case 5:if(!(c=r.sent).data){r.next=11;break}return s&&(c.data.content_type_uid=s),r.abrupt("return",new v(c,t,n,o));case 11:throw y(c);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(2),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(){return r.apply(this,arguments)}}();return{count:u,find:c,findOne:p}}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e4&&void 0!==u[4]?u[4]:null,i=u.length>5&&void 0!==u[5]?u[5]:null,s=u.length>6&&void 0!==u[6]?u[6]:null,null!==a&&(n.locale=a),null!==i&&(n.version=i),null!==s&&(n.scheduled_at=s),t.prev=6,t.next=9,e.post(r,n,o);case 9:if(!(c=t.sent).data){t.next=14;break}return t.abrupt("return",c.data);case 14:throw y(c);case 15:t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(6),y(t.t0);case 20:case"end":return t.stop()}}),t,null,[[6,17]])})));return function(e,r,n,o){return t.apply(this,arguments)}}(),P=function(){var t=l(d().mark((function t(e){var r,n,o,a,s,c,u,p;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.http,n=e.urlPath,o=e.stackHeaders,a=e.formData,s=e.params,c=e.method,u=void 0===c?"POST":c,p={headers:x(x({},s),i()(o))}||{},"POST"!==u){t.next=6;break}return t.abrupt("return",r.post(n,a,p));case 6:return t.abrupt("return",r.put(n,a,p));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(t){var e=t.http,r=t.params;return function(){var t=l(d().mark((function t(n,o){var a,s;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={headers:x(x({},i()(r)),i()(this.stackHeaders)),params:x({},i()(o))}||{},t.prev=1,t.next=4,e.post(this.urlPath,n,a);case 4:if(!(s=t.sent).data){t.next=9;break}return t.abrupt("return",new this.constructor(e,C(s,this.stackHeaders,this.content_type_uid)));case 9:throw y(s);case 10:t.next=15;break;case 12:throw t.prev=12,t.t0=t.catch(1),y(t.t0);case 15:case"end":return t.stop()}}),t,this,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}()},A=function(t){var e=t.http,r=t.wrapperCollection;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.organization_uid&&(t.query||(t.query={}),t.query.org_uid=this.organization_uid),this.content_type_uid&&(t.content_type_uid=this.content_type_uid),w(e,this.urlPath,t,this.stackHeaders,r)}},H=function(t,e){return l(d().mark((function r(){var n,o,a,s,c=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:{},o={},delete(a=i()(this)).stackHeaders,delete a.urlPath,delete a.uid,delete a.org_uid,delete a.api_key,delete a.created_at,delete a.created_by,delete a.deleted_at,delete a.updated_at,delete a.updated_by,delete a.updated_at,o[e]=a,r.prev=15,r.next=18,t.put(this.urlPath,o,{headers:x({},i()(this.stackHeaders)),params:x({},i()(n))});case 18:if(!(s=r.sent).data){r.next=23;break}return r.abrupt("return",new this.constructor(t,C(s,this.stackHeaders,this.content_type_uid)));case 23:throw y(s);case 24:r.next=29;break;case 26:throw r.prev=26,r.t0=r.catch(15),y(r.t0);case 29:case"end":return r.stop()}}),r,this,[[15,26]])})))},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},!0===e&&(o.params.force=!0),r.next=6,t.delete(this.urlPath,o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:if(!(a.status>=200&&a.status<300)){r.next=15;break}return r.abrupt("return",{status:a.status,statusText:a.statusText});case 15:throw y(a);case 16:r.next=21;break;case 18:throw r.prev=18,r.t0=r.catch(1),y(r.t0);case 21:case"end":return r.stop()}}),r,this,[[1,18]])})))},D=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:x({},i()(this.stackHeaders)),params:x({},i()(n))}||{},r.next=5,t.get(this.urlPath,o);case 5:if(!(a=r.sent).data){r.next=11;break}return"entry"===e&&(a.data[e].content_type=a.data.content_type,a.data[e].schema=a.data.schema),r.abrupt("return",new this.constructor(t,C(a,this.stackHeaders,this.content_type_uid)));case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(1),y(r.t0);case 17:case"end":return r.stop()}}),r,this,[[1,14]])})))},R=function(t,e){return l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=x({},i()(n))),r.prev=4,r.next=7,t.get(this.urlPath,o);case 7:if(!(a=r.sent).data){r.next=12;break}return r.abrupt("return",new v(a,t,this.stackHeaders,e));case 12:throw y(a);case 13:r.next=18;break;case 15:throw r.prev=15,r.t0=r.catch(4),y(r.t0);case 18:case"end":return r.stop()}}),r,this,[[4,15]])})))};function C(t,e,r){var n=t.data||{};return e&&(n.stackHeaders=e),r&&(n.content_type_uid=r),n}function N(t,e){return this.urlPath="/roles",this.stackHeaders=e.stackHeaders,e.role?(Object.assign(this,i()(e.role)),this.urlPath="/roles/".concat(this.uid),this.stackHeaders&&(this.update=H(t,"role"),this.delete=E(t),this.fetch=D(t,"role"))):(this.create=_({http:t}),this.fetchAll=R(t,T),this.query=A({http:t,wrapperCollection:T})),this}function T(t,e){return i()(e.roles||[]).map((function(r){return new N(t,{role:r,stackHeaders:e.stackHeaders})}))}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e0||this.owner&&!0===this.owner||this.is_owner&&!0===this.is_owner)&&(this.stacks=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/stacks"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,$t));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.addUser=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/share"),{share:L({},n)});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.getInvitations=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/share"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,z));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.resendInvitation=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/").concat(n,"/resend_invitation"));case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.roles=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/roles"),{params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new v(o,t,null,T));case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}())):this.fetchAll=R(t,q)}function q(t,e){return i()(e.organizations||[]).map((function(e){return new F(t,{organization:e})}))}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/content_types",r.content_type?(Object.assign(this,i()(r.content_type)),this.urlPath="/content_types/".concat(this.uid),this.update=H(t,"content_type"),this.delete=E(t),this.fetch=D(t,"content_type"),this.entry=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return n.content_type_uid=e.uid,r&&(n.entry={uid:r}),new J(t,n)}):(this.generateUid=function(t){if(!t)throw new TypeError("Expected parameter name");return t.replace(/[^A-Z0-9]+/gi,"_").toLowerCase()},this.create=_({http:t}),this.query=A({http:t,wrapperCollection:X}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:Y(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function X(t,e){return(i()(e.content_types)||[]).map((function(r){return new K(t,{content_type:r,stackHeaders:e.stackHeaders})}))}function Y(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.content_type);return e.append("content_type",r),e}}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/global_fields",e.global_field?(Object.assign(this,i()(e.global_field)),this.urlPath="/global_fields/".concat(this.uid),this.update=H(t,"global_field"),this.delete=E(t),this.fetch=D(t,"global_field")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:tt}),this.import=function(){var e=l(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:"".concat(this.urlPath,"/import"),stackHeaders:this.stackHeaders,formData:et(r)});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(n,this.stackHeaders)));case 8:throw y(n);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),this}function tt(t,e){return(i()(e.global_fields)||[]).map((function(r){return new Z(t,{global_field:r,stackHeaders:e.stackHeaders})}))}function et(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.global_field);return e.append("global_field",r),e}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/delivery_tokens",e.token?(Object.assign(this,i()(e.token)),this.urlPath="/stacks/delivery_tokens/".concat(this.uid),this.update=H(t,"token"),this.delete=E(t),this.fetch=D(t,"token")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:nt}))}function nt(t,e){return(i()(e.tokens)||[]).map((function(r){return new rt(t,{token:r,stackHeaders:e.stackHeaders})}))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/environments",e.environment?(Object.assign(this,i()(e.environment)),this.urlPath="/environments/".concat(this.name),this.update=H(t,"environment"),this.delete=E(t),this.fetch=D(t,"environment")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:at}))}function at(t,e){return(i()(e.environments)||[]).map((function(r){return new ot(t,{environment:r,stackHeaders:e.stackHeaders})}))}function it(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stackHeaders&&(this.stackHeaders=e.stackHeaders),this.urlPath="/assets/folders",e.asset?(Object.assign(this,i()(e.asset)),this.urlPath="/assets/folders/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset")):this.create=_({http:t})}function st(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/assets",r.asset?(Object.assign(this,i()(r.asset)),this.urlPath="/assets/".concat(this.uid),this.update=H(t,"asset"),this.delete=E(t),this.fetch=D(t,"asset"),this.replace=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n,method:"PUT"});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.publish=j(t,"asset"),this.unpublish=O(t,"asset")):(this.folder=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.asset={uid:r}),new it(t,n)},this.create=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:ut(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.query=A({http:t,wrapperCollection:ct})),this}function ct(t,e){return(i()(e.assets)||[]).map((function(r){return new st(t,{asset:r,stackHeaders:e.stackHeaders})}))}function ut(t){return function(){var e=new(G());"string"==typeof t.parent_uid&&e.append("asset[parent_uid]",t.parent_uid),"string"==typeof t.description&&e.append("asset[description]",t.description),t.tags instanceof Array?e.append("asset[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("asset[tags]",t.tags),"string"==typeof t.title&&e.append("asset[title]",t.title);var r=(0,V.createReadStream)(t.upload);return e.append("asset[upload]",r),e}}function pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/locales",e.locale?(Object.assign(this,i()(e.locale)),this.urlPath="/locales/".concat(this.code),this.update=H(t,"locale"),this.delete=E(t),this.fetch=D(t,"locale")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:ft})),this}function ft(t,e){return(i()(e.locales)||[]).map((function(r){return new pt(t,{locale:r,stackHeaders:e.stackHeaders})}))}function lt(t){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(t)}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/extensions",e.extension?(Object.assign(this,i()(e.extension)),this.urlPath="/extensions/".concat(this.uid),this.update=H(t,"extension"),this.delete=E(t),this.fetch=D(t,"extension")):(this.upload=function(){var e=l(d().mark((function e(r,n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P({http:t,urlPath:this.urlPath,stackHeaders:this.stackHeaders,formData:yt(r),params:n});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",new this.constructor(t,C(o,this.stackHeaders)));case 8:throw y(o);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),this.create=_({http:t}),this.query=A({http:t,wrapperCollection:dt}))}function dt(t,e){return(i()(e.extensions)||[]).map((function(r){return new ht(t,{extension:r,stackHeaders:e.stackHeaders})}))}function yt(t){return function(){var e=new(G());"string"==typeof t.title&&e.append("extension[title]",t.title),"object"===lt(t.scope)&&e.append("extension[scope]","".concat(t.scope)),"string"==typeof t.data_type&&e.append("extension[data_type]",t.data_type),"string"==typeof t.type&&e.append("extension[type]",t.type),t.tags instanceof Array?e.append("extension[tags]",t.tags.join(",")):"string"==typeof t.tags&&e.append("extension[tags]",t.tags),"boolean"==typeof t.multiple&&e.append("extension[multiple]","".concat(t.multiple)),"boolean"==typeof t.enable&&e.append("extension[enable]","".concat(t.enable));var r=(0,V.createReadStream)(t.upload);return e.append("extension[upload]",r),e}}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/webhooks",r.webhook?(Object.assign(this,i()(r.webhook)),this.urlPath="/webhooks/".concat(this.uid),this.update=H(t,"webhook"),this.delete=E(t),this.fetch=D(t,"webhook"),this.executions=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),n&&(o.params=vt({},i()(n))),r.prev=3,r.next=6,t.get("".concat(e.urlPath,"/executions"),o);case 6:if(!(a=r.sent).data){r.next=11;break}return r.abrupt("return",a.data);case 11:throw y(a);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.retry=function(){var r=l(d().mark((function r(n){var o,a;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={},e.stackHeaders&&(o.headers=e.stackHeaders),r.prev=2,r.next=5,t.post("".concat(e.urlPath,"/retry"),{execution_uid:n},o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",a.data);case 10:throw y(a);case 11:r.next=16;break;case 13:throw r.prev=13,r.t0=r.catch(2),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.fetchAll=R(t,gt)),this.import=function(){var r=l(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,P({http:t,urlPath:"".concat(e.urlPath,"/import"),stackHeaders:e.stackHeaders,formData:wt(n)});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new e.constructor(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this}function gt(t,e){return(i()(e.webhooks)||[]).map((function(r){return new mt(t,{webhook:r,stackHeaders:e.stackHeaders})}))}function wt(t){return function(){var e=new(G()),r=(0,V.createReadStream)(t.webhook);return e.append("webhook",r),e}}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=e.stackHeaders,this.urlPath="/workflows/publishing_rules",e.publishing_rule?(Object.assign(this,i()(e.publishing_rule)),this.urlPath="/workflows/publishing_rules/".concat(this.uid),this.update=H(t,"publishing_rule"),this.delete=E(t),this.fetch=D(t,"publishing_rule")):(this.create=_({http:t}),this.fetchAll=R(t,xt))}function xt(t,e){return(i()(e.publishing_rules)||[]).map((function(r){return new kt(t,{publishing_rule:r,stackHeaders:e.stackHeaders})}))}function jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ot(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/workflows",r.workflow?(Object.assign(this,i()(r.workflow)),this.urlPath="/workflows/".concat(this.uid),this.update=H(t,"workflow"),this.disable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/disable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.enable=l(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("/workflows/".concat(this.uid,"/enable"),{headers:Ot({},i()(this.stackHeaders))});case 3:if(!(r=e.sent).data){e.next=8;break}return e.abrupt("return",r.data);case 8:throw y(r);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),y(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])}))),this.delete=E(t),this.fetch=D(t,"workflow")):(this.contentType=function(r){if(r){var n=function(){var e=l(d().mark((function e(n){var o,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={},this.stackHeaders&&(o.headers=this.stackHeaders),n&&(o.params=Ot({},i()(n))),e.prev=3,e.next=6,t.get("/workflows/content_type/".concat(r),o);case 6:if(!(a=e.sent).data){e.next=11;break}return e.abrupt("return",new v(a,t,this.stackHeaders,xt));case 11:throw y(a);case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(3),y(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,14]])})));return function(t){return e.apply(this,arguments)}}();return{getPublishRules:n,stackHeaders:Ot({},e.stackHeaders)}}},this.create=_({http:t}),this.fetchAll=R(t,Pt),this.publishRule=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:e.stackHeaders};return r&&(n.publishing_rule={uid:r}),new kt(t,n)})}function Pt(t,e){return(i()(e.workflows)||[]).map((function(r){return new St(t,{workflow:r,stackHeaders:e.stackHeaders})}))}function _t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,r.item&&Object.assign(this,i()(r.item)),r.releaseUid&&(this.urlPath="releases/".concat(r.releaseUid,"/items"),this.delete=function(){var n=l(d().mark((function n(o){var a,s,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={},void 0===o&&(a={all:!0}),n.prev=2,s={headers:At({},i()(e.stackHeaders)),data:At({},i()(o)),params:At({},i()(a))}||{},n.next=6,t.delete(e.urlPath,s);case 6:if(!(c=n.sent).data){n.next=11;break}return n.abrupt("return",new Ct(t,At(At({},c.data),{},{stackHeaders:r.stackHeaders})));case 11:throw y(c);case 12:n.next=17;break;case 14:throw n.prev=14,n.t0=n.catch(2),y(n.t0);case 17:case"end":return n.stop()}}),n,null,[[2,14]])})));return function(t){return n.apply(this,arguments)}}(),this.create=function(){var n=l(d().mark((function n(o){var a,s;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a={headers:At({},i()(e.stackHeaders))}||{},n.prev=1,n.next=4,t.post(o.item?"releases/".concat(r.releaseUid,"/item"):e.urlPath,o,a);case 4:if(!(s=n.sent).data){n.next=10;break}if(!s.data){n.next=8;break}return n.abrupt("return",new Ct(t,At(At({},s.data),{},{stackHeaders:r.stackHeaders})));case 8:n.next=11;break;case 10:throw y(s);case 11:n.next=16;break;case 13:throw n.prev=13,n.t0=n.catch(1),y(n.t0);case 16:case"end":return n.stop()}}),n,null,[[1,13]])})));return function(t){return n.apply(this,arguments)}}(),this.findAll=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},r.prev=1,o={headers:At({},i()(e.stackHeaders)),params:At({},i()(n))}||{},r.next=5,t.get(e.urlPath,o);case 5:if(!(a=r.sent).data){r.next=10;break}return r.abrupt("return",new v(a,t,e.stackHeaders,Et));case 10:throw y(a);case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),y(r.t0);case 16:case"end":return r.stop()}}),r,null,[[1,13]])})))),this}function Et(t,e,r){return(i()(e.items)||[]).map((function(n){return new Ht(t,{releaseUid:r,item:n,stackHeaders:e.stackHeaders})}))}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/releases",r.release?(Object.assign(this,i()(r.release)),r.release.items&&(this.items=new Et(t,{items:r.release.items,stackHeaders:r.stackHeaders},this.uid)),this.urlPath="/releases/".concat(this.uid),this.update=H(t,"release"),this.fetch=D(t,"release"),this.delete=E(t),this.item=function(){return new Ht(t,{releaseUid:e.uid,stackHeaders:e.stackHeaders})},this.deploy=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.environments,a=n.locales,s=n.scheduledAt,c=n.action,u={environments:o,locales:a,scheduledAt:s,action:c},p={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/deploy"),{release:u},p);case 6:if(!(f=r.sent).data){r.next=11;break}return r.abrupt("return",f.data);case 11:throw y(f);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}(),this.clone=function(){var r=l(d().mark((function r(n){var o,a,s,c,u;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.name,a=n.description,s={name:o,description:a},c={headers:Rt({},i()(e.stackHeaders))}||{},r.prev=3,r.next=6,t.post("".concat(e.urlPath,"/clone"),{release:s},c);case 6:if(!(u=r.sent).data){r.next=11;break}return r.abrupt("return",new Ct(t,u.data));case 11:throw y(u);case 12:r.next=17;break;case 14:throw r.prev=14,r.t0=r.catch(3),y(r.t0);case 17:case"end":return r.stop()}}),r,null,[[3,14]])})));return function(t){return r.apply(this,arguments)}}()):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Nt})),this}function Nt(t,e){return(i()(e.releases)||[]).map((function(r){return new Ct(t,{release:r,stackHeaders:e.stackHeaders})}))}function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ut(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};this.stackHeaders=r.stackHeaders,this.urlPath="/bulk",this.publish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/publish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.unpublish=function(){var r=l(d().mark((function r(n){var o,a,s,c,u,p,f,l,h;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.details,a=n.skip_workflow_stage,s=void 0!==a&&a,c=n.approvals,u=void 0!==c&&c,p=n.is_nested,f=void 0!==p&&p,l={},o&&(l=i()(o)),h={headers:Ut({},i()(e.stackHeaders))},f&&(h.params={nested:!0,event_type:"bulk"}),s&&(h.headers.skip_workflow_stage_check=s),u&&(h.headers.approvals=u),r.abrupt("return",S(t,"/bulk/unpublish",l,h));case 8:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),this.delete=l(d().mark((function r(){var n,o,a,s=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},o={},n.details&&(o=i()(n.details)),a={headers:Ut({},i()(e.stackHeaders))},r.abrupt("return",S(t,"/bulk/delete",o,a));case 5:case"end":return r.stop()}}),r)})))}function Ft(t,e){this.stackHeaders=e.stackHeaders,this.urlPath="/labels",e.label?(Object.assign(this,i()(e.label)),this.urlPath="/labels/".concat(this.uid),this.update=H(t,"label"),this.delete=E(t),this.fetch=D(t,"label")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:qt}))}function qt(t,e){return(i()(e.labels)||[]).map((function(r){return new Ft(t,{label:r,stackHeaders:e.stackHeaders})}))}function It(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=e.stackHeaders,this.urlPath="/stacks/branches",e.branch=e.branch||e.branch_alias,delete e.branch_alias,e.branch?(Object.assign(this,i()(e.branch)),this.urlPath="/stacks/branches/".concat(this.uid),this.delete=E(t,!0),this.fetch=D(t,"branch")):(this.create=_({http:t}),this.query=A({http:t,wrapperCollection:Mt})),this}function Mt(t,e){return(i()(e.branches)||e.branch_aliases||[]).map((function(r){return new It(t,{branch:r,stackHeaders:e.stackHeaders})}))}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return this.stackHeaders=r.stackHeaders,this.urlPath="/stacks/branch_aliases",r.branch_alias?(Object.assign(this,i()(r.branch_alias)),this.urlPath="/stacks/branch_aliases/".concat(this.uid),this.createOrUpdate=function(){var r=l(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.put(e.urlPath,{branch_alias:{target_branch:n}},{headers:zt({},i()(e.stackHeaders))});case 3:if(!(o=r.sent).data){r.next=8;break}return r.abrupt("return",new It(t,C(o,e.stackHeaders)));case 8:throw y(o);case 9:r.next=14;break;case 11:throw r.prev=11,r.t0=r.catch(0),y(r.t0);case 14:case"end":return r.stop()}}),r,null,[[0,11]])})));return function(t){return r.apply(this,arguments)}}(),this.delete=E(t,!0),this.fetch=l(d().mark((function e(){var r,n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,n={headers:zt({},i()(this.stackHeaders)),params:zt({},i()(r))}||{},e.next=5,t.get(this.urlPath,n);case 5:if(!(o=e.sent).data){e.next=10;break}return e.abrupt("return",new It(t,C(o,this.stackHeaders)));case 10:throw y(o);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(1),y(e.t0);case 16:case"end":return e.stop()}}),e,this,[[1,13]])})))):this.fetchAll=R(t,Mt),this}function Gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.content_type={uid:e}),new K(t,n)},this.locale=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.locale={code:e}),new pt(t,n)},this.asset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.asset={uid:e}),new st(t,n)},this.globalField=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.global_field={uid:e}),new Z(t,n)},this.environment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.environment={name:e}),new ot(t,n)},this.branch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch={uid:e}),new It(t,n)},this.branchAlias=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.branch_alias={uid:e}),new Wt(t,n)},this.deliveryToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.token={uid:e}),new rt(t,n)},this.extension=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.extension={uid:e}),new ht(t,n)},this.workflow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.workflow={uid:e}),new St(t,n)},this.webhook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.webhook={uid:e}),new mt(t,n)},this.label=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.label={uid:e}),new Ft(t,n)},this.release=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.release={uid:e}),new Ct(t,n)},this.bulkOperation=function(){var e={stackHeaders:r.stackHeaders};return new Lt(t,e)},this.users=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get(r.urlPath,{params:{include_collaborators:!0},headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",z(t,n.data.stack));case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.transferOwnership=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/transfer_ownership"),{transfer_to:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.settings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("".concat(r.urlPath,"/settings"),{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.resetSettings=l(d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{discrete_variables:{},stack_variables:{}}},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(n=e.sent).data){e.next=8;break}return e.abrupt("return",n.data.stack_settings);case 8:return e.abrupt("return",y(n));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])}))),this.addSettings=l(d().mark((function e(){var n,o,a=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:{},e.prev=1,e.next=4,t.post("".concat(r.urlPath,"/settings"),{stack_settings:{stack_variables:n}},{headers:Vt({},i()(r.stackHeaders))});case 4:if(!(o=e.sent).data){e.next=9;break}return e.abrupt("return",o.data.stack_settings);case 9:return e.abrupt("return",y(o));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",y(e.t0));case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),this.share=l(d().mark((function e(){var n,o,a,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:[],o=s.length>1&&void 0!==s[1]?s[1]:{},e.prev=2,e.next=5,t.post("".concat(r.urlPath,"/share"),{emails:n,roles:o},{headers:Vt({},i()(r.stackHeaders))});case 5:if(!(a=e.sent).data){e.next=10;break}return e.abrupt("return",a.data);case 10:return e.abrupt("return",y(a));case 11:e.next=16;break;case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",y(e.t0));case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),this.unShare=function(){var e=l(d().mark((function e(n){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.post("".concat(r.urlPath,"/unshare"),{email:n},{headers:Vt({},i()(r.stackHeaders))});case 3:if(!(o=e.sent).data){e.next=8;break}return e.abrupt("return",o.data);case 8:return e.abrupt("return",y(o));case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",y(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}(),this.role=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={stackHeaders:r.stackHeaders};return e&&(n.role={uid:e}),new N(t,n)}):(this.create=_({http:t,params:this.organization_uid?{organization_uid:this.organization_uid}:null}),this.query=A({http:t,wrapperCollection:$t})),this}function $t(t,e){var r=e.stacks||[];return i()(r).map((function(e){return new Jt(t,{stack:e})}))}function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return e.post("/user-session",{user:t},{params:r}).then((function(t){return null!=t.data.user&&null!=t.data.user.authtoken&&(e.defaults.headers.common.authtoken=t.data.user.authtoken,t.data.user=new B(e,t.data)),t.data}),y)},logout:function(t){return void 0!==t?e.delete("/user-session",{headers:{authtoken:t}}).then((function(t){return t.data}),y):e.delete("/user-session").then((function(t){return e.defaults.headers.common&&delete e.defaults.headers.common.authtoken,delete e.defaults.headers.authtoken,delete e.httpClientParams.authtoken,delete e.httpClientParams.headers.authtoken,t.data}),y)},getUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.get("/user",{params:t}).then((function(t){return new B(e,t.data)}),y)},stack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Kt({},i()(t));return new Jt(e,{stack:r})},organization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new F(e,null!==t?{organization:{uid:t}}:null)},axiosInstance:e}}function Yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&setTimeout((function(){t(r)}),r),new Promise((function(t){return setTimeout((function(){e.paused=!1;for(var t=0;te.config.retryLimit)return Promise.reject(i(t));if(e.config.retryDelayOptions)if(e.config.retryDelayOptions.customBackoff){if((c=e.config.retryDelayOptions.customBackoff(o,t))&&c<=0)return Promise.reject(i(t))}else e.config.retryDelayOptions.base&&(c=e.config.retryDelayOptions.base*o);else c=e.config.retryDelay;return t.config.retryCount=o,new Promise((function(e){return setTimeout((function(){return e(r(s(t,n,c)))}),c)}))},this.interceptors={request:null,response:null};var s=function(t,n,o){var a=t.config;return e.config.logHandler("warning","".concat(n," error occurred. Waiting for ").concat(o," ms before retrying...")),void 0!==r&&void 0!==r.defaults&&(r.defaults.agent===a.agent&&delete a.agent,r.defaults.httpAgent===a.httpAgent&&delete a.httpAgent,r.defaults.httpsAgent===a.httpsAgent&&delete a.httpsAgent),a.data=c(a),a.transformRequest=[function(t){return t}],a},c=function(t){if(t.formdata){var e=t.formdata();return t.headers=oe(oe({},t.headers),e.getHeaders()),e}return t.data};this.interceptors.request=r.interceptors.request.use((function(t){if("function"==typeof t.data&&(t.formdata=t.data,t.data=c(t)),t.retryCount=t.retryCount||0,t.headers.authorization&&void 0!==t.headers.authorization&&delete t.headers.authtoken,void 0===t.cancelToken){var r=re().CancelToken.source();t.cancelToken=r.token,t.source=r}return e.paused&&t.retryCount>0?new Promise((function(r){e.unshift({request:t,resolve:r})})):t.retryCount>0?t:new Promise((function(r){t.onComplete=function(){e.running.pop({request:t,resolve:r})},e.push({request:t,resolve:r})}))})),this.interceptors.response=r.interceptors.response.use(i,(function(t){var n=t.config.retryCount,o=null;if(!e.config.retryOnError||n>e.config.retryLimit)return Promise.reject(i(t));var c=e.config.retryDelay,u=t.response;if(u){if(429===u.status)return o="Error with status: ".concat(u.status),++n>e.config.retryLimit?Promise.reject(i(t)):(e.running.shift(),a(c),t.config.retryCount=n,r(s(t,o,c)))}else{if("ECONNABORTED"!==t.code)return Promise.reject(i(t));t.response=oe(oe({},t.response),{},{status:408,statusText:"timeout of ".concat(e.config.timeout,"ms exceeded")}),u=t.response}return e.config.retryCondition&&e.config.retryCondition(t)?(o=t.response?"Error with status: ".concat(u.status):"Error Code:".concat(t.code),n++,e.retry(t,o,n,c)):Promise.reject(i(t))}))}function se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ce(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(o),n=p(r,t.application,t.integration,t.feature),a={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(a.authtoken=t.authtoken),(t=fe(fe({},e),i()(t))).headers=fe(fe({},t.headers),a);var s=ue(t);return Xt({http:s})}},5843:(t,e,r)=>{t.exports=r(8041)},5607:(t,e,r)=>{t.exports=r(5353)},6156:(t,e,r)=>{"use strict";var n=r(8114),o=r(5476),a=r(9439),i=r(8774),s=r(2314),c=r(9229),u=r(7417),p=r(8991);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers,h=t.responseType;n.isFormData(f)&&delete l["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(y+":"+b)}var v=s(t.baseURL,t.url);function m(){if(d){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,r,a),d=null}}if(d.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(m)},d.onabort=function(){d&&(r(p("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(p("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(p(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(l[t.xsrfHeaderName]=g)}"setRequestHeader"in d&&n.forEach(l,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete l[e]:d.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),r(t),d=null)})),f||(f=null),d.send(f)}))}},5353:(t,e,r)=>{"use strict";var n=r(8114),o=r(5507),a=r(9080),i=r(532);function s(t){var e=new a(t),r=o(a.prototype.request,e);return n.extend(r,a.prototype,e),n.extend(r,e),r}var c=s(r(5786));c.Axios=a,c.create=function(t){return s(i(c.defaults,t))},c.Cancel=r(4183),c.CancelToken=r(637),c.isCancel=r(9234),c.all=function(t){return Promise.all(t)},c.spread=r(8620),c.isAxiosError=r(7816),t.exports=c,t.exports.default=c},4183:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},637:(t,e,r)=>{"use strict";var n=r(4183);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},9234:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},9080:(t,e,r)=>{"use strict";var n=r(8114),o=r(8774),a=r(7666),i=r(9659),s=r(532),c=r(639),u=c.validators;function p(t){this.defaults=t,this.interceptors={request:new a,response:new a}}p.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!n){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(a),o=Promise.resolve(t);p.length;)o=o.then(p.shift(),p.shift());return o}for(var f=t;r.length;){var l=r.shift(),h=r.shift();try{f=l(f)}catch(t){h(t);break}}try{o=i(f)}catch(t){return Promise.reject(t)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},p.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){p.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=p},7666:(t,e,r)=>{"use strict";var n=r(8114);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},2314:(t,e,r)=>{"use strict";var n=r(2483),o=r(8944);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},8991:(t,e,r)=>{"use strict";var n=r(4418);t.exports=function(t,e,r,o,a){var i=new Error(t);return n(i,e,r,o,a)}},9659:(t,e,r)=>{"use strict";var n=r(8114),o=r(2602),a=r(9234),i=r(5786);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4418:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},532:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){e=e||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(r[t]=c(void 0,e[t]))})),n.forEach(a,u),n.forEach(i,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(r[o]=c(void 0,t[o])):r[o]=c(void 0,e[o])})),n.forEach(s,(function(n){n in e?r[n]=c(t[n],e[n]):n in t&&(r[n]=c(void 0,t[n]))}));var p=o.concat(a).concat(i).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===p.indexOf(t)}));return n.forEach(f,u),r}},5476:(t,e,r)=>{"use strict";var n=r(8991);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2602:(t,e,r)=>{"use strict";var n=r(8114),o=r(5786);t.exports=function(t,e,r){var a=this||o;return n.forEach(r,(function(r){t=r.call(a,t,e)})),t}},5786:(t,e,r)=>{"use strict";var n=r(8114),o=r(678),a=r(4418),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(6156)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(i)})),t.exports=u},5507:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(8114);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var a;if(r)a=r(e);else if(n.isURLSearchParams(e))a=e.toString();else{var i=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},8944:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},9439:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2483:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7816:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)&&!0===t.isAxiosError}},7417:(t,e,r)=>{"use strict";var n=r(8114);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},678:(t,e,r)=>{"use strict";var n=r(8114);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},9229:(t,e,r)=>{"use strict";var n=r(8114),o=["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"];t.exports=function(t){var e,r,a,i={};return t?(n.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=n.trim(t.substr(0,a)).toLowerCase(),r=n.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([r]):i[e]?i[e]+", "+r:r}})),i):i}},8620:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},639:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(8593),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return n(r)===t||"a"+(e<1?"n ":" ")+t}}));var i={},s=o.version.split(".");function c(t,e){for(var r=e?e.split("."):s,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=o[a],s=e[i];if(s){var c=t[i],u=void 0===c||s(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:a}},8114:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(5507),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return void 0===t}function c(t){return null!==t&&"object"===n(t)}function u(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===a.call(t)}function f(t,e){if(null!=t)if("object"!==n(t)&&(t=[t]),i(t))for(var r=0,o=t.length;r{"use strict";var n=r(459),o=r(5223),a=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&a(t,".prototype.")>-1?o(r):r}},5223:(t,e,r)=>{"use strict";var n=r(3459),o=r(459),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(n,i,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var f=function(){return s(n,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},157:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof self?"undefined":e(self))?self.FormData:window.FormData},5770:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||n.call(a)!==o)throw new TypeError(e+a);for(var i,s=r.call(arguments,1),c=function(){if(this instanceof i){var e=a.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(r.call(arguments)))},u=Math.max(0,a.length-s.length),p=[],f=0;f{"use strict";var n=r(5770);t.exports=Function.prototype.bind||n},459:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,a=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var p=function(){throw new s},f=u?function(){try{return p}catch(t){try{return u(arguments,"callee").get}catch(t){return p}}}():p,l=r(8681)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},y="undefined"==typeof Uint8Array?o:h(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":l?h([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":d,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?h(h([][Symbol.iterator]())):o,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?h((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&&l?h((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?h(""[Symbol.iterator]()):o,"%Symbol%":l?Symbol:o,"%SyntaxError%":a,"%ThrowTypeError%":f,"%TypedArray%":y,"%TypeError%":s,"%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},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return b[e]=r,r},m={"%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"]},g=r(3459),w=r(8482),k=g.call(Function.call,Array.prototype.concat),x=g.call(Function.apply,Array.prototype.splice),j=g.call(Function.call,String.prototype.replace),O=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return j(t,S,(function(t,e,r,o){n[n.length]=r?j(o,P,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(w(m,n)&&(n="%"+(r=m[n])[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=v(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",o=A("%"+n+"%",e),i=o.name,c=o.value,p=!1,f=o.alias;f&&(n=f[0],x(r,k([0,1],f)));for(var l=1,h=!0;l=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=w(c,d),c=c[d];h&&!p&&(b[i]=c)}}return c}},8681:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r.g.Symbol,a=r(2636);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"===n(o("foo"))&&"symbol"===n(Symbol("bar"))&&a()}},2636:t=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===e(Symbol.iterator))return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},8482:(t,e,r)=>{"use strict";var n=r(3459);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},1833:(t,e,r)=>{var n=r(8842)(r(6378),"DataView");t.exports=n},9985:(t,e,r)=>{var n=r(4494),o=r(8002),a=r(6984),i=r(9930),s=r(1556);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(4160),o=r(4389),a=r(1710),i=r(4102),s=r(8594);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Map");t.exports=n},3648:(t,e,r)=>{var n=r(6518),o=r(7734),a=r(9781),i=r(7318),s=r(3882);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(8842)(r(6378),"Promise");t.exports=n},658:(t,e,r)=>{var n=r(8842)(r(6378),"Set");t.exports=n},9306:(t,e,r)=>{var n=r(4619),o=r(1511),a=r(9931),i=r(875),s=r(2603),c=r(3926);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},698:(t,e,r)=>{var n=r(6378).Symbol;t.exports=n},7474:(t,e,r)=>{var n=r(6378).Uint8Array;t.exports=n},4592:(t,e,r)=>{var n=r(8842)(r(6378),"WeakMap");t.exports=n},6878:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r{var n=r(2916),o=r(9028),a=r(1380),i=r(6288),s=r(9345),c=r(3634),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&i(t),l=!r&&!p&&!f&&c(t),h=r||p||f||l,d=h?n(t.length,String):[],y=d.length;for(var b in t)!e&&!u.call(t,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,y))||d.push(b);return d}},1659:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{var n=r(9372),o=r(5032),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},1694:(t,e,r)=>{var n=r(5032);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},7784:(t,e,r)=>{var n=r(1893),o=r(19);t.exports=function(t,e){return t&&n(e,o(e),t)}},4741:(t,e,r)=>{var n=r(1893),o=r(5168);t.exports=function(t,e){return t&&n(e,o(e),t)}},9372:(t,e,r)=>{var n=r(2626);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},3546:(t,e,r)=>{var n=r(9306),o=r(6878),a=r(8936),i=r(7784),s=r(4741),c=r(2037),u=r(6947),p=r(696),f=r(9193),l=r(2645),h=r(1391),d=r(1863),y=r(1208),b=r(2428),v=r(9662),m=r(1380),g=r(6288),w=r(3718),k=r(9294),x=r(4496),j=r(19),O=r(5168),S="[object Arguments]",P="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,t.exports=function t(e,r,H,E,D,R){var C,N=1&r,T=2&r,U=4&r;if(H&&(C=D?H(e,E,D,R):H(e)),void 0!==C)return C;if(!k(e))return e;var L=m(e);if(L){if(C=y(e),!N)return u(e,C)}else{var F=d(e),q=F==P||"[object GeneratorFunction]"==F;if(g(e))return c(e,N);if(F==_||F==S||q&&!D){if(C=T||q?{}:v(e),!N)return T?f(e,s(C,e)):p(e,i(C,e))}else{if(!A[F])return D?e:{};C=b(e,F,N)}}R||(R=new n);var I=R.get(e);if(I)return I;R.set(e,C),x(e)?e.forEach((function(n){C.add(t(n,r,H,n,e,R))})):w(e)&&e.forEach((function(n,o){C.set(o,t(n,r,H,o,e,R))}));var M=L?void 0:(U?T?h:l:T?O:j)(e);return o(M||e,(function(n,o){M&&(n=e[o=n]),a(C,o,t(n,r,H,o,e,R))})),C}},1843:(t,e,r)=>{var n=r(9294),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},523:(t,e,r)=>{var n=r(1659),o=r(1380);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},5822:(t,e,r)=>{var n=r(698),o=r(7389),a=r(5891),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},1325:(t,e,r)=>{var n=r(5822),o=r(9730);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},5959:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},517:(t,e,r)=>{var n=r(3081),o=r(2674),a=r(9294),i=r(110),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:s).test(i(t))}},5534:(t,e,r)=>{var n=r(1863),o=r(9730);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},6750:(t,e,r)=>{var n=r(5822),o=r(4509),a=r(9730),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3148:(t,e,r)=>{var n=r(2053),o=r(2901),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3864:(t,e,r)=>{var n=r(9294),o=r(2053),a=r(476),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2916:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},4033:(t,e,r)=>{var n=r(7474);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},2037:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},3412:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},7245:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},4683:(t,e,r)=>{var n=r(698),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},6985:(t,e,r)=>{var n=r(4033);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6947:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{var n=r(8936),o=r(9372);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s{var n=r(1893),o=r(1399);t.exports=function(t,e){return n(t,o(t),e)}},9193:(t,e,r)=>{var n=r(1893),o=r(5716);t.exports=function(t,e){return n(t,o(t),e)}},1006:(t,e,r)=>{var n=r(6378)["__core-js_shared__"];t.exports=n},2626:(t,e,r)=>{var n=r(8842),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},4482:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g;t.exports=o},2645:(t,e,r)=>{var n=r(523),o=r(1399),a=r(19);t.exports=function(t){return n(t,a,o)}},1391:(t,e,r)=>{var n=r(523),o=r(5716),a=r(5168);t.exports=function(t){return n(t,a,o)}},320:(t,e,r)=>{var n=r(8474);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8842:(t,e,r)=>{var n=r(517),o=r(6930);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7109:(t,e,r)=>{var n=r(839)(Object.getPrototypeOf,Object);t.exports=n},7389:(t,e,r)=>{var n=r(698),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},1399:(t,e,r)=>{var n=r(9501),o=r(4959),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},5716:(t,e,r)=>{var n=r(1659),o=r(7109),a=r(1399),i=r(4959),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},1863:(t,e,r)=>{var n=r(1833),o=r(5914),a=r(9180),i=r(658),s=r(4592),c=r(5822),u=r(110),p="[object Map]",f="[object Promise]",l="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),b=u(o),v=u(a),m=u(i),g=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=p||a&&w(a.resolve())!=f||i&&w(new i)!=l||s&&w(new s)!=h)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case b:return p;case v:return f;case m:return l;case g:return h}return e}),t.exports=w},6930:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},4494:(t,e,r)=>{var n=r(1303);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},8002:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6984:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},9930:(t,e,r)=>{var n=r(1303),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1556:(t,e,r)=>{var n=r(1303);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1208:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},2428:(t,e,r)=>{var n=r(4033),o=r(3412),a=r(7245),i=r(4683),s=r(6985);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},9662:(t,e,r)=>{var n=r(1843),o=r(7109),a=r(2053);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},9345:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=e(t);return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},2674:(t,e,r)=>{var n,o=r(1006),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},2053:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},4160:t=>{t.exports=function(){this.__data__=[],this.size=0}},4389:(t,e,r)=>{var n=r(1694),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},1710:(t,e,r)=>{var n=r(1694);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4102:(t,e,r)=>{var n=r(1694);t.exports=function(t){return n(this.__data__,t)>-1}},8594:(t,e,r)=>{var n=r(1694);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6518:(t,e,r)=>{var n=r(9985),o=r(4619),a=r(5914);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7734:(t,e,r)=>{var n=r(320);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},9781:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).get(t)}},7318:(t,e,r)=>{var n=r(320);t.exports=function(t){return n(this,t).has(t)}},3882:(t,e,r)=>{var n=r(320);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1303:(t,e,r)=>{var n=r(8842)(Object,"create");t.exports=n},2901:(t,e,r)=>{var n=r(839)(Object.keys,Object);t.exports=n},476:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},7873:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(4482),a="object"==n(e)&&e&&!e.nodeType&&e,i=a&&"object"==n(t)&&t&&!t.nodeType&&t,s=i&&i.exports===a&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c},5891:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},839:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6378:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(4482),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();t.exports=i},1511:(t,e,r)=>{var n=r(4619);t.exports=function(){this.__data__=new n,this.size=0}},9931:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},875:t=>{t.exports=function(t){return this.__data__.get(t)}},2603:t=>{t.exports=function(t){return this.__data__.has(t)}},3926:(t,e,r)=>{var n=r(4619),o=r(5914),a=r(3648);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},110:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7780:(t,e,r)=>{var n=r(3546);t.exports=function(t){return n(t,5)}},5032:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9028:(t,e,r)=>{var n=r(1325),o=r(9730),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1380:t=>{var e=Array.isArray;t.exports=e},6214:(t,e,r)=>{var n=r(3081),o=r(4509);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},6288:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t=r.nmd(t);var o=r(6378),a=r(6408),i="object"==n(e)&&e&&!e.nodeType&&e,s=i&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===i?o.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u},3081:(t,e,r)=>{var n=r(5822),o=r(9294);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4509:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3718:(t,e,r)=>{var n=r(5959),o=r(3184),a=r(7873),i=a&&a.isMap,s=i?o(i):n;t.exports=s},9294:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}},9730:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return null!=t&&"object"==e(t)}},4496:(t,e,r)=>{var n=r(5534),o=r(3184),a=r(7873),i=a&&a.isSet,s=i?o(i):n;t.exports=s},3634:(t,e,r)=>{var n=r(6750),o=r(3184),a=r(7873),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},19:(t,e,r)=>{var n=r(1832),o=r(3148),a=r(6214);t.exports=function(t){return a(t)?n(t):o(t)}},5168:(t,e,r)=>{var n=r(1832),o=r(3864),a=r(6214);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4959:t=>{t.exports=function(){return[]}},6408:t=>{t.exports=function(){return!1}},9956:(t,e)=>{e.Ar=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.Jv=function(){return"browser"}},266:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},903:(t,e,r)=>{"use strict";var n=r(4479),o=r(7877),a=r(266);t.exports={formats:a,parse:o,stringify:n}},7877:(t,e,r)=>{"use strict";var n=r(1640),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,p=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;p.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f=0;--a){var i,s=t[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&s!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:i[u]=o:i={0:o}}o=i}return o}(p,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:i.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(b=a(b)?[b]:b),o.call(u,y)?u[y]=n.combine(u[y],b):u[y]=b}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},l=Object.keys(p),h=0;h{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(3796),a=r(1640),i=r(266),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,p=String.prototype.split,f=Array.prototype.push,l=function(t,e){f.apply(t,u(e)?e:[e])},h=Date.prototype.toISOString,d=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},b={},v=function t(e,r,i,s,c,f,h,d,v,m,g,w,k,x,j){for(var O,S=e,P=j,_=0,A=!1;void 0!==(P=P.get(b))&&!A;){var H=P.get(e);if(_+=1,void 0!==H){if(H===_)throw new RangeError("Cyclic object value");A=!0}void 0===P.get(b)&&(_=0)}if("function"==typeof h?S=h(r,S):S instanceof Date?S=m(S):"comma"===i&&u(S)&&(S=a.maybeMap(S,(function(t){return t instanceof Date?m(t):t}))),null===S){if(s)return f&&!k?f(r,y.encoder,x,"key",g):r;S=""}if("string"==typeof(O=S)||"number"==typeof O||"boolean"==typeof O||"symbol"===n(O)||"bigint"==typeof O||a.isBuffer(S)){if(f){var E=k?r:f(r,y.encoder,x,"key",g);if("comma"===i&&k){for(var D=p.call(String(S),","),R="",C=0;C0?S.join(",")||null:void 0}];else if(u(h))N=h;else{var U=Object.keys(S);N=d?U.sort(d):U}for(var L=0;L0?k+w:""}},1640:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(266),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!==n(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new H(n||[]);return a._invoke=function(t,e,r){var n=l;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=P(i,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?y:h,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var l="suspendedStart",h="suspendedYield",d="executing",y="completed",b={};function v(){}function m(){}function g(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==r&&o.call(x,i)&&(w=x);var j=g.prototype=v.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(a,i,s,c){var u=f(t[a],t,i);if("throw"!==u.type){var p=u.arg,l=p.value;return l&&"object"===n(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(l).then((function(t){p.value=t,s(p)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var a;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return b;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function H(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function E(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:E(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}("object"===n(t=r.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3796:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(459),a=r(2639),i=r(4562),s=o("%TypeError%"),c=o("%WeakMap%",!0),u=o("%Map%",!0),p=a("WeakMap.prototype.get",!0),f=a("WeakMap.prototype.set",!0),l=a("WeakMap.prototype.has",!0),h=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),y=a("Map.prototype.has",!0),b=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new s("Side channel does not contain "+i(t))},get:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){var r=b(t,e);return r&&r.value}(r,o)},has:function(o){if(c&&o&&("object"===n(o)||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return y(e,o)}else if(r)return function(t,e){return!!b(t,e)}(r,o);return!1},set:function(o,a){c&&o&&("object"===n(o)||"function"==typeof o)?(t||(t=new c),f(t,o,a)):u?(e||(e=new u),d(e,o,a)):(r||(r={key:{},next:null}),function(t,e,r){var n=b(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,o,a))}};return o}},4562:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&a&&"function"==typeof a.get?a.get:null,s=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=c&&u&&"function"==typeof u.get?u.get:null,f=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,b=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,w=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,x="function"==typeof Symbol&&"object"===n(Symbol.iterator),j="function"==typeof Symbol&&Symbol.toStringTag&&(n(Symbol.toStringTag),1)?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,S=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),P=r(7165).custom,_=P&&D(P)?P:null;function A(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function H(t){return String(t).replace(/"/g,""")}function E(t){return!("[object Array]"!==N(t)||j&&"object"===n(t)&&j in t)}function D(t){if(x)return t&&"object"===n(t)&&t instanceof Symbol;if("symbol"===n(t))return!0;if(!t||"object"!==n(t)||!k)return!1;try{return k.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,a){var c=r||{};if(C(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!C(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(C(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return U(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var b=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=b&&b>0&&"object"===n(e))return E(e)?"[Array]":"[Object]";var w,O=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(c,o);if(void 0===a)a=[];else if(T(a,e)>=0)return"[Circular]";function P(e,r,n){if(r&&(a=a.slice()).push(r),n){var i={depth:c.depth};return C(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,a)}return t(e,c,o+1,a)}if("function"==typeof e){var R=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),L=B(e,P);return"[Function"+(R?": "+R:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(D(e)){var z=x?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(e);return"object"!==n(e)||x?z:F(z)}if((w=e)&&"object"===n(w)&&("undefined"!=typeof HTMLElement&&w instanceof HTMLElement||"string"==typeof w.nodeName&&"function"==typeof w.getAttribute)){for(var W="<"+String(e.nodeName).toLowerCase(),G=e.attributes||[],V=0;V"}if(E(e)){if(0===e.length)return"[]";var J=B(e,P);return O&&!function(t){for(var e=0;e=0)return!1;return!0}(J)?"["+M(J,O)+"]":"[ "+J.join(", ")+" ]"}if(function(t){return!("[object Error]"!==N(t)||j&&"object"===n(t)&&j in t)}(e)){var $=B(e,P);return 0===$.length?"["+String(e)+"]":"{ ["+String(e)+"] "+$.join(", ")+" }"}if("object"===n(e)&&u){if(_&&"function"==typeof e[_])return e[_]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!==n(t))return!1;try{i.call(t);try{p.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var Q=[];return s.call(e,(function(t,r){Q.push(P(r,e,!0)+" => "+P(t,e))})),I("Map",i.call(e),Q,O)}if(function(t){if(!p||!t||"object"!==n(t))return!1;try{p.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var K=[];return f.call(e,(function(t){K.push(P(t,e))})),I("Set",p.call(e),K,O)}if(function(t){if(!l||!t||"object"!==n(t))return!1;try{l.call(t,l);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return q("WeakMap");if(function(t){if(!h||!t||"object"!==n(t))return!1;try{h.call(t,h);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return q("WeakSet");if(function(t){if(!d||!t||"object"!==n(t))return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return q("WeakRef");if(function(t){return!("[object Number]"!==N(t)||j&&"object"===n(t)&&j in t)}(e))return F(P(Number(e)));if(function(t){if(!t||"object"!==n(t)||!g)return!1;try{return g.call(t),!0}catch(t){}return!1}(e))return F(P(g.call(e)));if(function(t){return!("[object Boolean]"!==N(t)||j&&"object"===n(t)&&j in t)}(e))return F(y.call(e));if(function(t){return!("[object String]"!==N(t)||j&&"object"===n(t)&&j in t)}(e))return F(P(String(e)));if(!function(t){return!("[object Date]"!==N(t)||j&&"object"===n(t)&&j in t)}(e)&&!function(t){return!("[object RegExp]"!==N(t)||j&&"object"===n(t)&&j in t)}(e)){var X=B(e,P),Y=S?S(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",tt=!Y&&j&&Object(e)===e&&j in e?N(e).slice(8,-1):Z?"Object":"",et=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tt||Z?"["+[].concat(tt||[],Z||[]).join(": ")+"] ":"");return 0===X.length?et+"{}":O?et+"{"+M(X,O)+"}":et+"{ "+X.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function C(t,e){return R.call(t,e)}function N(t){return b.call(t)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return U(t.slice(0,e.maxStringLength),e)+n}return A(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",e)}function L(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function F(t){return"Object("+t+")"}function q(t){return t+" { ? }"}function I(t,e,r,n){return t+" ("+e+") {"+(n?M(r,n):r.join(", "))+"}"}function M(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function B(t,e){var r=E(t),n=[];if(r){n.length=t.length;for(var o=0;o{},8593:t=>{"use strict";t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/uttamukkoji/Documents/Contentstack/JavaScript/contentstack-management-javascript","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}return r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r(1576)})()})); \ No newline at end of file diff --git a/jsdocs/Asset.html b/jsdocs/Asset.html index c726e6e3..652af32b 100644 --- a/jsdocs/Asset.html +++ b/jsdocs/Asset.html @@ -1354,7 +1354,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Branch.html b/jsdocs/Branch.html index fbb5251f..37a057aa 100644 --- a/jsdocs/Branch.html +++ b/jsdocs/Branch.html @@ -630,7 +630,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BranchAlias.html b/jsdocs/BranchAlias.html index a7bd59df..e7c59072 100644 --- a/jsdocs/BranchAlias.html +++ b/jsdocs/BranchAlias.html @@ -726,7 +726,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/BulkOperation.html b/jsdocs/BulkOperation.html index f4b66208..edeb70e7 100644 --- a/jsdocs/BulkOperation.html +++ b/jsdocs/BulkOperation.html @@ -848,7 +848,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentType.html b/jsdocs/ContentType.html index d7bd9b9b..69860ddb 100644 --- a/jsdocs/ContentType.html +++ b/jsdocs/ContentType.html @@ -1317,7 +1317,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Contentstack.html b/jsdocs/Contentstack.html index 5ec3ca14..6eef989c 100644 --- a/jsdocs/Contentstack.html +++ b/jsdocs/Contentstack.html @@ -829,7 +829,7 @@
Examples

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ContentstackClient.html b/jsdocs/ContentstackClient.html index f35ae261..55b1cb1f 100644 --- a/jsdocs/ContentstackClient.html +++ b/jsdocs/ContentstackClient.html @@ -1106,7 +1106,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/DeliveryToken.html b/jsdocs/DeliveryToken.html index 5d7019d1..8c3d9aff 100644 --- a/jsdocs/DeliveryToken.html +++ b/jsdocs/DeliveryToken.html @@ -763,7 +763,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Entry.html b/jsdocs/Entry.html index dce0e982..00bda9e8 100644 --- a/jsdocs/Entry.html +++ b/jsdocs/Entry.html @@ -1693,7 +1693,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Environment.html b/jsdocs/Environment.html index 399803d6..6aa615c0 100644 --- a/jsdocs/Environment.html +++ b/jsdocs/Environment.html @@ -766,7 +766,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Extension.html b/jsdocs/Extension.html index 658d8ea4..4b30bcc4 100644 --- a/jsdocs/Extension.html +++ b/jsdocs/Extension.html @@ -944,7 +944,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Folder.html b/jsdocs/Folder.html index 1979ec5b..9468aa24 100644 --- a/jsdocs/Folder.html +++ b/jsdocs/Folder.html @@ -633,7 +633,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/GlobalField.html b/jsdocs/GlobalField.html index ae813ff3..22b5b78b 100644 --- a/jsdocs/GlobalField.html +++ b/jsdocs/GlobalField.html @@ -908,7 +908,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Label.html b/jsdocs/Label.html index da500f48..61a0d9de 100644 --- a/jsdocs/Label.html +++ b/jsdocs/Label.html @@ -855,7 +855,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Locale.html b/jsdocs/Locale.html index d53c7b25..c986b5ea 100644 --- a/jsdocs/Locale.html +++ b/jsdocs/Locale.html @@ -850,7 +850,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Organization.html b/jsdocs/Organization.html index 6b87d03e..19e8b3b9 100644 --- a/jsdocs/Organization.html +++ b/jsdocs/Organization.html @@ -1691,7 +1691,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/PublishRules.html b/jsdocs/PublishRules.html index 9a8a12a4..a68d8a56 100644 --- a/jsdocs/PublishRules.html +++ b/jsdocs/PublishRules.html @@ -287,7 +287,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Release.html b/jsdocs/Release.html index cef78900..17fdb0c7 100644 --- a/jsdocs/Release.html +++ b/jsdocs/Release.html @@ -1503,7 +1503,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/ReleaseItem.html b/jsdocs/ReleaseItem.html index 74f7420e..f57a16c4 100644 --- a/jsdocs/ReleaseItem.html +++ b/jsdocs/ReleaseItem.html @@ -803,7 +803,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Role.html b/jsdocs/Role.html index 9f81b1f7..70abfc90 100644 --- a/jsdocs/Role.html +++ b/jsdocs/Role.html @@ -1125,7 +1125,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Stack.html b/jsdocs/Stack.html index a0d13093..9a91cbc3 100644 --- a/jsdocs/Stack.html +++ b/jsdocs/Stack.html @@ -4299,7 +4299,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/User.html b/jsdocs/User.html index c276f94d..853ab4d9 100644 --- a/jsdocs/User.html +++ b/jsdocs/User.html @@ -883,7 +883,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Webhook.html b/jsdocs/Webhook.html index 06af8bdf..69bca7e1 100644 --- a/jsdocs/Webhook.html +++ b/jsdocs/Webhook.html @@ -1410,7 +1410,7 @@
Parameters:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/Workflow.html b/jsdocs/Workflow.html index 0ce27eba..82de24bf 100644 --- a/jsdocs/Workflow.html +++ b/jsdocs/Workflow.html @@ -1544,7 +1544,7 @@
Returns:

- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstack.js.html b/jsdocs/contentstack.js.html index 74d4218c..95dbc972 100644 --- a/jsdocs/contentstack.js.html +++ b/jsdocs/contentstack.js.html @@ -215,7 +215,7 @@

contentstack.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/contentstackClient.js.html b/jsdocs/contentstackClient.js.html index c8f2a9aa..230dfa00 100644 --- a/jsdocs/contentstackClient.js.html +++ b/jsdocs/contentstackClient.js.html @@ -244,7 +244,7 @@

contentstackClient.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/index.html b/jsdocs/index.html index 664de4cb..8954669a 100644 --- a/jsdocs/index.html +++ b/jsdocs/index.html @@ -171,7 +171,7 @@

The MIT License (MIT)


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/organization_index.js.html b/jsdocs/organization_index.js.html index eaddb5ba..10bdff1f 100644 --- a/jsdocs/organization_index.js.html +++ b/jsdocs/organization_index.js.html @@ -301,7 +301,7 @@

organization/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/query_index.js.html b/jsdocs/query_index.js.html index de4fb315..6bcf00a7 100644 --- a/jsdocs/query_index.js.html +++ b/jsdocs/query_index.js.html @@ -195,7 +195,7 @@

query/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_folders_index.js.html b/jsdocs/stack_asset_folders_index.js.html index 4fab4ef9..3a23f87f 100644 --- a/jsdocs/stack_asset_folders_index.js.html +++ b/jsdocs/stack_asset_folders_index.js.html @@ -162,7 +162,7 @@

stack/asset/folders/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_asset_index.js.html b/jsdocs/stack_asset_index.js.html index bd1453ae..6cc7d532 100644 --- a/jsdocs/stack_asset_index.js.html +++ b/jsdocs/stack_asset_index.js.html @@ -324,7 +324,7 @@

stack/asset/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_branchAlias_index.js.html b/jsdocs/stack_branchAlias_index.js.html index 98bf32d4..4f5228b6 100644 --- a/jsdocs/stack_branchAlias_index.js.html +++ b/jsdocs/stack_branchAlias_index.js.html @@ -181,7 +181,7 @@

stack/branchAlias/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_branch_index.js.html b/jsdocs/stack_branch_index.js.html index bb08107e..c9231081 100644 --- a/jsdocs/stack_branch_index.js.html +++ b/jsdocs/stack_branch_index.js.html @@ -157,7 +157,7 @@

stack/branch/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_bulkOperation_index.js.html b/jsdocs/stack_bulkOperation_index.js.html index 484ebd66..5b206698 100644 --- a/jsdocs/stack_bulkOperation_index.js.html +++ b/jsdocs/stack_bulkOperation_index.js.html @@ -286,7 +286,7 @@

stack/bulkOperation/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_entry_index.js.html b/jsdocs/stack_contentType_entry_index.js.html index 47771b5f..aa69e6a0 100644 --- a/jsdocs/stack_contentType_entry_index.js.html +++ b/jsdocs/stack_contentType_entry_index.js.html @@ -353,7 +353,7 @@

stack/contentType/entry/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_contentType_index.js.html b/jsdocs/stack_contentType_index.js.html index 8bee6c9f..20c01c19 100644 --- a/jsdocs/stack_contentType_index.js.html +++ b/jsdocs/stack_contentType_index.js.html @@ -275,7 +275,7 @@

stack/contentType/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_deliveryToken_index.js.html b/jsdocs/stack_deliveryToken_index.js.html index ab3bfd0a..5c506897 100644 --- a/jsdocs/stack_deliveryToken_index.js.html +++ b/jsdocs/stack_deliveryToken_index.js.html @@ -178,7 +178,7 @@

stack/deliveryToken/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_environment_index.js.html b/jsdocs/stack_environment_index.js.html index 0729f6d0..2280b02c 100644 --- a/jsdocs/stack_environment_index.js.html +++ b/jsdocs/stack_environment_index.js.html @@ -183,7 +183,7 @@

stack/environment/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_extension_index.js.html b/jsdocs/stack_extension_index.js.html index abbaca3f..89ea3185 100644 --- a/jsdocs/stack_extension_index.js.html +++ b/jsdocs/stack_extension_index.js.html @@ -256,7 +256,7 @@

stack/extension/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_globalField_index.js.html b/jsdocs/stack_globalField_index.js.html index f3789281..214d49fb 100644 --- a/jsdocs/stack_globalField_index.js.html +++ b/jsdocs/stack_globalField_index.js.html @@ -225,7 +225,7 @@

stack/globalField/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_index.js.html b/jsdocs/stack_index.js.html index 2dcf4803..280635cc 100644 --- a/jsdocs/stack_index.js.html +++ b/jsdocs/stack_index.js.html @@ -763,7 +763,7 @@

stack/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_label_index.js.html b/jsdocs/stack_label_index.js.html index 8a075e6e..6f88e932 100644 --- a/jsdocs/stack_label_index.js.html +++ b/jsdocs/stack_label_index.js.html @@ -178,7 +178,7 @@

stack/label/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_locale_index.js.html b/jsdocs/stack_locale_index.js.html index 7120536a..b6eb9b71 100644 --- a/jsdocs/stack_locale_index.js.html +++ b/jsdocs/stack_locale_index.js.html @@ -173,7 +173,7 @@

stack/locale/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_release_index.js.html b/jsdocs/stack_release_index.js.html index ae0626a8..2c77cb6d 100644 --- a/jsdocs/stack_release_index.js.html +++ b/jsdocs/stack_release_index.js.html @@ -313,7 +313,7 @@

stack/release/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_release_items_index.js.html b/jsdocs/stack_release_items_index.js.html index bd5d1d7f..d396bc08 100644 --- a/jsdocs/stack_release_items_index.js.html +++ b/jsdocs/stack_release_items_index.js.html @@ -257,7 +257,7 @@

stack/release/items/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_roles_index.js.html b/jsdocs/stack_roles_index.js.html index a125b1e7..bf8cdcef 100644 --- a/jsdocs/stack_roles_index.js.html +++ b/jsdocs/stack_roles_index.js.html @@ -231,7 +231,7 @@

stack/roles/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_webhook_index.js.html b/jsdocs/stack_webhook_index.js.html index bca02a19..5c3f4316 100644 --- a/jsdocs/stack_webhook_index.js.html +++ b/jsdocs/stack_webhook_index.js.html @@ -308,7 +308,7 @@

stack/webhook/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_index.js.html b/jsdocs/stack_workflow_index.js.html index aba7ef49..a69aba01 100644 --- a/jsdocs/stack_workflow_index.js.html +++ b/jsdocs/stack_workflow_index.js.html @@ -371,7 +371,7 @@

stack/workflow/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/stack_workflow_publishRules_index.js.html b/jsdocs/stack_workflow_publishRules_index.js.html index f0f66562..4027c189 100644 --- a/jsdocs/stack_workflow_publishRules_index.js.html +++ b/jsdocs/stack_workflow_publishRules_index.js.html @@ -192,7 +192,7 @@

stack/workflow/publishRules/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/jsdocs/user_index.js.html b/jsdocs/user_index.js.html index b432cb48..d4110e7a 100644 --- a/jsdocs/user_index.js.html +++ b/jsdocs/user_index.js.html @@ -225,7 +225,7 @@

user/index.js


- Documentation generated by JSDoc 3.6.7 on Wed Oct 27 2021 10:39:19 GMT+0530 (India Standard Time) using the docdash theme. + Documentation generated by JSDoc 3.6.7 on Wed Dec 08 2021 11:06:48 GMT+0530 (India Standard Time) using the docdash theme.
diff --git a/package-lock.json b/package-lock.json index a3b8dce8..648c4cc1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@babel/cli": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.15.7.tgz", - "integrity": "sha512-YW5wOprO2LzMjoWZ5ZG6jfbY9JnkDxuHDwvnrThnuYtByorova/I0HNXJedrUfwuXFQfYOjcqDA4PU3qlZGZjg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.16.0.tgz", + "integrity": "sha512-WLrM42vKX/4atIoQB+eb0ovUof53UUvecb4qGjU2PDDWRiZr50ZpiV8NpcLo7iSxeGYrRG0Mqembsa+UrTAV6Q==", "dev": true, "requires": { "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", @@ -31,26 +31,26 @@ } }, "@babel/compat-data": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", - "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz", + "integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==", "dev": true }, "@babel/core": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.8.tgz", - "integrity": "sha512-3UG9dsxvYBMYwRv+gS41WKHno4K60/9GPy1CJaH6xy3Elq8CTtvtjT5R5jmNhXfCYLX2mTw+7/aq5ak/gOE0og==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.15.8", - "@babel/generator": "^7.15.8", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.8", - "@babel/helpers": "^7.15.4", - "@babel/parser": "^7.15.8", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.0.tgz", + "integrity": "sha512-mYZEvshBRHGsIAiyH5PzCFTCfbWfoYbO/jcSdXQSUQu1/pW0xDZAUP7KEc32heqWTAfAHhV9j1vH8Sav7l+JNQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-compilation-targets": "^7.16.0", + "@babel/helper-module-transforms": "^7.16.0", + "@babel/helpers": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -60,52 +60,52 @@ }, "dependencies": { "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" } }, "@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz", + "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==", "dev": true, "requires": { - "@babel/types": "^7.15.6", + "@babel/types": "^7.16.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -115,57 +115,57 @@ "dev": true }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-hoist-variables": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", + "@babel/parser": "^7.16.3", + "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } }, @@ -189,12 +189,12 @@ } }, "@babel/helper-annotate-as-pure": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz", - "integrity": "sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.0.tgz", + "integrity": "sha512-ItmYF9vR4zA8cByDocY05o0LGUkp1zhbTQOH1NFyl5xXEqlTJQCEJjieriw+aFpxo16swMxUnUiKS7a/r4vtHg==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -204,25 +204,25 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.15.4.tgz", - "integrity": "sha512-P8o7JP2Mzi0SdC6eWr1zF+AEYvrsZa7GSY1lTayjF5XJhVH0kjLYUZPvTMflP7tBgZoe9gIhTa60QwFpqh/E0Q==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.0.tgz", + "integrity": "sha512-9KuleLT0e77wFUku6TUkqZzCEymBdtuQQ27MhEKzf9UOOJu3cYj98kyaDAzxpC7lV6DGiZFuC8XqDsq8/Kl6aQ==", "dev": true, "requires": { - "@babel/helper-explode-assignable-expression": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-explode-assignable-expression": "^7.16.0", + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -232,26 +232,26 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-compilation-targets": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz", - "integrity": "sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz", + "integrity": "sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==", "dev": true, "requires": { - "@babel/compat-data": "^7.15.0", + "@babel/compat-data": "^7.16.0", "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", + "browserslist": "^4.17.5", "semver": "^6.3.0" }, "dependencies": { @@ -264,55 +264,55 @@ } }, "@babel/helper-create-class-features-plugin": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz", - "integrity": "sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.16.0.tgz", + "integrity": "sha512-XLwWvqEaq19zFlF5PTgOod4bUA+XbkR4WLQBct1bkzmxJGB0ZEJaoKF4c8cgH9oBtCDuYJ8BP5NB9uFiEgO5QA==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4" + "@babel/helper-annotate-as-pure": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-member-expression-to-functions": "^7.16.0", + "@babel/helper-optimise-call-expression": "^7.16.0", + "@babel/helper-replace-supers": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0" }, "dependencies": { "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -322,59 +322,59 @@ "dev": true }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-create-regexp-features-plugin": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.14.5.tgz", - "integrity": "sha512-TLawwqpOErY2HhWbGJ2nZT5wSkR192QpN+nBg1THfBfftrlvOh+WbhrxXCH4q4xJ9Gl16BGPR/48JA+Ryiho/A==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.16.0.tgz", + "integrity": "sha512-3DyG0zAFAZKcOp7aVr33ddwkxJ0Z0Jr5V99y3I690eYLpukJsJvAbzTy1ewoCqsML8SbIrjH14Jc/nSQ4TvNPA==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", + "@babel/helper-annotate-as-pure": "^7.16.0", "regexpu-core": "^4.7.1" } }, "@babel/helper-define-polyfill-provider": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.3.tgz", - "integrity": "sha512-RH3QDAfRMzj7+0Nqu5oqgO5q9mFtQEVvCRsi8qCEfzLR9p2BHfn5FzhSB2oj1fF7I2+DcTORkYaQ6aTR9Cofew==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.0.tgz", + "integrity": "sha512-7hfT8lUljl/tM3h+izTX/pO3W3frz2ok6Pk+gzys8iJqDfZrZy2pXjRTZAvG2YmfHun1X4q8/UZRLatMfqc5Tg==", "dev": true, "requires": { "@babel/helper-compilation-targets": "^7.13.0", @@ -388,52 +388,52 @@ }, "dependencies": { "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" } }, "@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz", + "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==", "dev": true, "requires": { - "@babel/types": "^7.15.6", + "@babel/types": "^7.16.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -443,57 +443,57 @@ "dev": true }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-hoist-variables": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", + "@babel/parser": "^7.16.3", + "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } }, @@ -506,12 +506,12 @@ } }, "@babel/helper-explode-assignable-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.15.4.tgz", - "integrity": "sha512-J14f/vq8+hdC2KoWLIQSsGrC9EFBKE4NFts8pfMpymfApds+fPqR30AOUWc4tyr56h9l/GA1Sxv2q3dLZWbQ/g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.0.tgz", + "integrity": "sha512-Hk2SLxC9ZbcOhLpg/yMznzJ11W++lg5GMbxt1ev6TXUiJB0N42KPC+7w8a+eWGuqDnUYuwStJoZHM7RgmIOaGQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -521,12 +521,12 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } @@ -553,12 +553,12 @@ } }, "@babel/helper-hoist-variables": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz", - "integrity": "sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz", + "integrity": "sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -568,24 +568,24 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-member-expression-to-functions": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz", - "integrity": "sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.0.tgz", + "integrity": "sha512-bsjlBFPuWT6IWhl28EdrQ+gTvSvj5tqVP5Xeftp07SEuz5pLnsXZuDkDD3Rfcxy0IsHmbZ+7B2/9SHzxO0T+sQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -595,24 +595,24 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-module-imports": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz", - "integrity": "sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.0.tgz", + "integrity": "sha512-kkH7sWzKPq0xt3H1n+ghb4xEMP8k0U7XV3kkB+ZGy69kDk2ySFW1qPi06sjKzFY3t1j6XbJSqr4mF9L7CYVyhg==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -622,80 +622,80 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-module-transforms": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.8.tgz", - "integrity": "sha512-DfAfA6PfpG8t4S6npwzLvTUpp0sS7JrcuaMiy1Y5645laRJIp/LiLGIBbQKaXSInK8tiGNI7FL7L8UvB8gdUZg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.0.tgz", + "integrity": "sha512-My4cr9ATcaBbmaEa8M0dZNA74cfI6gitvUAskgDtAFmAqyFKDSHQo5YstxPbN+lzHl2D9l/YOEFqb2mtUh4gfA==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-simple-access": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/helper-module-imports": "^7.16.0", + "@babel/helper-replace-supers": "^7.16.0", + "@babel/helper-simple-access": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", "@babel/helper-validator-identifier": "^7.15.7", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6" + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" } }, "@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz", + "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==", "dev": true, "requires": { - "@babel/types": "^7.15.6", + "@babel/types": "^7.16.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -705,69 +705,69 @@ "dev": true }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-hoist-variables": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", + "@babel/parser": "^7.16.3", + "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-optimise-call-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz", - "integrity": "sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.0.tgz", + "integrity": "sha512-SuI467Gi2V8fkofm2JPnZzB/SUuXoJA5zXe/xzyPP2M04686RzFKFHPK6HDVN6JvWBIEW8tt9hPR7fXdn2Lgpw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -777,12 +777,12 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } @@ -795,14 +795,14 @@ "dev": true }, "@babel/helper-remap-async-to-generator": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.15.4.tgz", - "integrity": "sha512-v53MxgvMK/HCwckJ1bZrq6dNKlmwlyRNYM6ypaRTdXWGOE2c1/SCa6dL/HimhPulGhZKw9W0QhREM583F/t0vQ==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.4.tgz", + "integrity": "sha512-vGERmmhR+s7eH5Y/cp8PCVzj4XEjerq8jooMfxFdA5xVtAk9Sh4AQsrWgiErUEBjtGrBtOFKDUcWQFW4/dFwMA==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-wrap-function": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-annotate-as-pure": "^7.16.0", + "@babel/helper-wrap-function": "^7.16.0", + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -812,76 +812,76 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-replace-supers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz", - "integrity": "sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.0.tgz", + "integrity": "sha512-TQxuQfSCdoha7cpRNJvfaYxxxzmbxXw/+6cS7V02eeDYyhxderSoMVALvwupA54/pZcOTtVeJ0xccp1nGWladA==", "dev": true, "requires": { - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-member-expression-to-functions": "^7.16.0", + "@babel/helper-optimise-call-expression": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" } }, "@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz", + "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==", "dev": true, "requires": { - "@babel/types": "^7.15.6", + "@babel/types": "^7.16.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -891,69 +891,69 @@ "dev": true }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-hoist-variables": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", + "@babel/parser": "^7.16.3", + "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-simple-access": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz", - "integrity": "sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.0.tgz", + "integrity": "sha512-o1rjBT/gppAqKsYfUdfHq5Rk03lMQrkPHG1OWzHWpLgVXRH4HnMM9Et9CVdIqwkCQlobnGHEJMsgWP/jE1zUiw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -963,24 +963,24 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.15.4.tgz", - "integrity": "sha512-BMRLsdh+D1/aap19TycS4eD1qELGrCBJwzaY9IE8LrpJtJb+H7rQkPIdsfgnMtLBA6DJls7X9z93Z4U8h7xw0A==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", + "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -990,12 +990,12 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } @@ -1023,64 +1023,64 @@ "dev": true }, "@babel/helper-wrap-function": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.15.4.tgz", - "integrity": "sha512-Y2o+H/hRV5W8QhIfTpRIBwl57y8PrZt6JM3V8FOo5qarjshHItyH5lXlpMfBfmBefOqSCpKZs/6Dxqp0E/U+uw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.0.tgz", + "integrity": "sha512-VVMGzYY3vkWgCJML+qVLvGIam902mJW0FvT7Avj1zEe0Gn7D93aWdLblYARTxEw+6DhZmtzhBM2zv0ekE5zg1g==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-function-name": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" } }, "@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz", + "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==", "dev": true, "requires": { - "@babel/types": "^7.15.6", + "@babel/types": "^7.16.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -1090,120 +1090,120 @@ "dev": true }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-hoist-variables": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", + "@babel/parser": "^7.16.3", + "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/helpers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.4.tgz", - "integrity": "sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.3.tgz", + "integrity": "sha512-Xn8IhDlBPhvYTvgewPKawhADichOsbkZuzN7qz2BusOM0brChsyXMDJvldWaYMMUNiCQdQzNEioXTp3sC8Nt8w==", "dev": true, "requires": { - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.3", + "@babel/types": "^7.16.0" }, "dependencies": { "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" } }, "@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz", + "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==", "dev": true, "requires": { - "@babel/types": "^7.15.6", + "@babel/types": "^7.16.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -1213,57 +1213,57 @@ "dev": true }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-hoist-variables": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", + "@babel/parser": "^7.16.3", + "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } @@ -1286,53 +1286,62 @@ "integrity": "sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA==", "dev": true }, + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.16.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.2.tgz", + "integrity": "sha512-h37CvpLSf8gb2lIJ2CgC3t+EjFbi0t8qS7LCS1xcJIlEXE4czlofwaW7W1HA8zpgOCzI9C1nmoqNR1zWkk0pQg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.15.4.tgz", - "integrity": "sha512-eBnpsl9tlhPhpI10kU06JHnrYXwg3+V6CaP2idsCXNef0aeslpqyITXQ74Vfk5uHgY7IG7XP0yIH8b42KSzHog==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.0.tgz", + "integrity": "sha512-4tcFwwicpWTrpl9qjf7UsoosaArgImF85AxqCRZlgc3IQDvkUHjJpruXAL58Wmj+T6fypWTC/BakfEkwIL/pwA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4", - "@babel/plugin-proposal-optional-chaining": "^7.14.5" + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.16.0" } }, "@babel/plugin-proposal-async-generator-functions": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.8.tgz", - "integrity": "sha512-2Z5F2R2ibINTc63mY7FLqGfEbmofrHU9FitJW1Q7aPaKFhiPvSq6QEt/BoWN5oME3GVyjcRuNNSRbb9LC0CSWA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.4.tgz", + "integrity": "sha512-/CUekqaAaZCQHleSK/9HajvcD/zdnJiKRiuUFq8ITE+0HsPzquf53cpFiqAwl/UfmJbR6n5uGPQSPdrmKOvHHg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.15.4", + "@babel/helper-remap-async-to-generator": "^7.16.4", "@babel/plugin-syntax-async-generators": "^7.8.4" } }, "@babel/plugin-proposal-class-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.14.5.tgz", - "integrity": "sha512-q/PLpv5Ko4dVc1LYMpCY7RVAAO4uk55qPwrIuJ5QJ8c6cVuAmhu7I/49JOppXL6gXf7ZHzpRVEUZdYoPLM04Gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.0.tgz", + "integrity": "sha512-mCF3HcuZSY9Fcx56Lbn+CGdT44ioBMMvjNVldpKtj8tpniETdLjnxdHI1+sDWXIM1nNt+EanJOZ3IG9lzVjs7A==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.14.5", + "@babel/helper-create-class-features-plugin": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-proposal-class-static-block": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.15.4.tgz", - "integrity": "sha512-M682XWrrLNk3chXCjoPUQWOyYsB93B9z3mRyjtqqYJWDf2mfCdIYgDrA11cgNVhAQieaq6F2fn2f3wI0U4aTjA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.16.0.tgz", + "integrity": "sha512-mAy3sdcY9sKAkf3lQbDiv3olOfiLqI51c9DR9b19uMoR2Z6r5pmGl7dfNFqEvqOyqbf1ta4lknK4gc5PJn3mfA==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.15.4", + "@babel/helper-create-class-features-plugin": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-class-static-block": "^7.14.5" } }, "@babel/plugin-proposal-dynamic-import": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.14.5.tgz", - "integrity": "sha512-ExjiNYc3HDN5PXJx+bwC50GIx/KKanX2HiggnIUAYedbARdImiCU4RhhHfdf0Kd7JNXGpsBBBCOm+bBVy3Gb0g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.0.tgz", + "integrity": "sha512-QGSA6ExWk95jFQgwz5GQ2Dr95cf7eI7TKutIXXTb7B1gCLTCz5hTjFTQGfLFBBiC5WSNi7udNwWsqbbMh1c4yQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", @@ -1340,9 +1349,9 @@ } }, "@babel/plugin-proposal-export-namespace-from": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.14.5.tgz", - "integrity": "sha512-g5POA32bXPMmSBu5Dx/iZGLGnKmKPc5AiY7qfZgurzrCYgIztDlHFbznSNCoQuv57YQLnQfaDi7dxCtLDIdXdA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.0.tgz", + "integrity": "sha512-CjI4nxM/D+5wCnhD11MHB1AwRSAYeDT+h8gCdcVJZ/OK7+wRzFsf7PFPWVpVpNRkHMmMkQWAHpTq+15IXQ1diA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", @@ -1350,9 +1359,9 @@ } }, "@babel/plugin-proposal-json-strings": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.14.5.tgz", - "integrity": "sha512-NSq2fczJYKVRIsUJyNxrVUMhB27zb7N7pOFGQOhBKJrChbGcgEAqyZrmZswkPk18VMurEeJAaICbfm57vUeTbQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.0.tgz", + "integrity": "sha512-kouIPuiv8mSi5JkEhzApg5Gn6hFyKPnlkO0a9YSzqRurH8wYzSlf6RJdzluAsbqecdW5pBvDJDfyDIUR/vLxvg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", @@ -1360,9 +1369,9 @@ } }, "@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.14.5.tgz", - "integrity": "sha512-YGn2AvZAo9TwyhlLvCCWxD90Xq8xJ4aSgaX3G5D/8DW94L8aaT+dS5cSP+Z06+rCJERGSr9GxMBZ601xoc2taw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.0.tgz", + "integrity": "sha512-pbW0fE30sVTYXXm9lpVQQ/Vc+iTeQKiXlaNRZPPN2A2VdlWyAtsUrsQ3xydSlDW00TFMK7a8m3cDTkBF5WnV3Q==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", @@ -1370,9 +1379,9 @@ } }, "@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.14.5.tgz", - "integrity": "sha512-gun/SOnMqjSb98Nkaq2rTKMwervfdAoz6NphdY0vTfuzMfryj+tDGb2n6UkDKwez+Y8PZDhE3D143v6Gepp4Hg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.0.tgz", + "integrity": "sha512-3bnHA8CAFm7cG93v8loghDYyQ8r97Qydf63BeYiGgYbjKKB/XP53W15wfRC7dvKfoiJ34f6Rbyyx2btExc8XsQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", @@ -1380,9 +1389,9 @@ } }, "@babel/plugin-proposal-numeric-separator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.5.tgz", - "integrity": "sha512-yiclALKe0vyZRZE0pS6RXgjUOt87GWv6FYa5zqj15PvhOGFO69R5DusPlgK/1K5dVnCtegTiWu9UaBSrLLJJBg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.0.tgz", + "integrity": "sha512-FAhE2I6mjispy+vwwd6xWPyEx3NYFS13pikDBWUAFGZvq6POGs5eNchw8+1CYoEgBl9n11I3NkzD7ghn25PQ9Q==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", @@ -1390,22 +1399,22 @@ } }, "@babel/plugin-proposal-object-rest-spread": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.15.6.tgz", - "integrity": "sha512-qtOHo7A1Vt+O23qEAX+GdBpqaIuD3i9VRrWgCJeq7WO6H2d14EK3q11urj5Te2MAeK97nMiIdRpwd/ST4JFbNg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.16.0.tgz", + "integrity": "sha512-LU/+jp89efe5HuWJLmMmFG0+xbz+I2rSI7iLc1AlaeSMDMOGzWlc5yJrMN1d04osXN4sSfpo4O+azkBNBes0jg==", "dev": true, "requires": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", + "@babel/compat-data": "^7.16.0", + "@babel/helper-compilation-targets": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.15.4" + "@babel/plugin-transform-parameters": "^7.16.0" } }, "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.14.5.tgz", - "integrity": "sha512-3Oyiixm0ur7bzO5ybNcZFlmVsygSIQgdOa7cTfOYCMY+wEPAYhZAJxi3mixKFCTCKUhQXuCTtQ1MzrpL3WT8ZQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.0.tgz", + "integrity": "sha512-kicDo0A/5J0nrsCPbn89mTG3Bm4XgYi0CZtvex9Oyw7gGZE3HXGD0zpQNH+mo+tEfbo8wbmMvJftOwpmPy7aVw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", @@ -1413,45 +1422,45 @@ } }, "@babel/plugin-proposal-optional-chaining": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.14.5.tgz", - "integrity": "sha512-ycz+VOzo2UbWNI1rQXxIuMOzrDdHGrI23fRiz/Si2R4kv2XZQ1BK8ccdHwehMKBlcH/joGW/tzrUmo67gbJHlQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.0.tgz", + "integrity": "sha512-Y4rFpkZODfHrVo70Uaj6cC1JJOt3Pp0MdWSwIKtb8z1/lsjl9AmnB7ErRFV+QNGIfcY1Eruc2UMx5KaRnXjMyg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.14.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", "@babel/plugin-syntax-optional-chaining": "^7.8.3" } }, "@babel/plugin-proposal-private-methods": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.14.5.tgz", - "integrity": "sha512-838DkdUA1u+QTCplatfq4B7+1lnDa/+QMI89x5WZHBcnNv+47N8QEj2k9I2MUU9xIv8XJ4XvPCviM/Dj7Uwt9g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.0.tgz", + "integrity": "sha512-IvHmcTHDFztQGnn6aWq4t12QaBXTKr1whF/dgp9kz84X6GUcwq9utj7z2wFCUfeOup/QKnOlt2k0zxkGFx9ubg==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.14.5", + "@babel/helper-create-class-features-plugin": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-proposal-private-property-in-object": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.15.4.tgz", - "integrity": "sha512-X0UTixkLf0PCCffxgu5/1RQyGGbgZuKoI+vXP4iSbJSYwPb7hu06omsFGBvQ9lJEvwgrxHdS8B5nbfcd8GyUNA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.0.tgz", + "integrity": "sha512-3jQUr/HBbMVZmi72LpjQwlZ55i1queL8KcDTQEkAHihttJnAPrcvG9ZNXIfsd2ugpizZo595egYV6xy+pv4Ofw==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-create-class-features-plugin": "^7.15.4", + "@babel/helper-annotate-as-pure": "^7.16.0", + "@babel/helper-create-class-features-plugin": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" } }, "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.14.5.tgz", - "integrity": "sha512-6axIeOU5LnY471KenAB9vI8I5j7NQ2d652hIYwVyRfgaZT5UpiqFKCuVXCDMSrU+3VFafnu2c5m3lrWIlr6A5Q==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.0.tgz", + "integrity": "sha512-ti7IdM54NXv29cA4+bNNKEMS4jLMCbJgl+Drv+FgYy0erJLAxNAIXcNjNjrRZEcWq0xJHsNVwQezskMFpF8N9g==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", + "@babel/helper-create-regexp-features-plugin": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5" } }, @@ -1582,94 +1591,94 @@ } }, "@babel/plugin-transform-arrow-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.14.5.tgz", - "integrity": "sha512-KOnO0l4+tD5IfOdi4x8C1XmEIRWUjNRV8wc6K2vz/3e8yAOoZZvsRXRRIF/yo/MAOFb4QjtAw9xSxMXbSMRy8A==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.0.tgz", + "integrity": "sha512-vIFb5250Rbh7roWARvCLvIJ/PtAU5Lhv7BtZ1u24COwpI9Ypjsh+bZcKk6rlIyalK+r0jOc1XQ8I4ovNxNrWrA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-async-to-generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.14.5.tgz", - "integrity": "sha512-szkbzQ0mNk0rpu76fzDdqSyPu0MuvpXgC+6rz5rpMb5OIRxdmHfQxrktL8CYolL2d8luMCZTR0DpIMIdL27IjA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.0.tgz", + "integrity": "sha512-PbIr7G9kR8tdH6g8Wouir5uVjklETk91GMVSUq+VaOgiinbCkBP6Q7NN/suM/QutZkMJMvcyAriogcYAdhg8Gw==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.14.5", + "@babel/helper-module-imports": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.14.5" + "@babel/helper-remap-async-to-generator": "^7.16.0" } }, "@babel/plugin-transform-block-scoped-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.14.5.tgz", - "integrity": "sha512-dtqWqdWZ5NqBX3KzsVCWfQI3A53Ft5pWFCT2eCVUftWZgjc5DpDponbIF1+c+7cSGk2wN0YK7HGL/ezfRbpKBQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.0.tgz", + "integrity": "sha512-V14As3haUOP4ZWrLJ3VVx5rCnrYhMSHN/jX7z6FAt5hjRkLsb0snPCmJwSOML5oxkKO4FNoNv7V5hw/y2bjuvg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-block-scoping": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.15.3.tgz", - "integrity": "sha512-nBAzfZwZb4DkaGtOes1Up1nOAp9TDRRFw4XBzBBSG9QK7KVFmYzgj9o9sbPv7TX5ofL4Auq4wZnxCoPnI/lz2Q==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.0.tgz", + "integrity": "sha512-27n3l67/R3UrXfizlvHGuTwsRIFyce3D/6a37GRxn28iyTPvNXaW4XvznexRh1zUNLPjbLL22Id0XQElV94ruw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-classes": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.15.4.tgz", - "integrity": "sha512-Yjvhex8GzBmmPQUvpXRPWQ9WnxXgAFuZSrqOK/eJlOGIXwvv8H3UEdUigl1gb/bnjTrln+e8bkZUYCBt/xYlBg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.0.tgz", + "integrity": "sha512-HUxMvy6GtAdd+GKBNYDWCIA776byUQH8zjnfjxwT1P1ARv/wFu8eBDpmXQcLS/IwRtrxIReGiplOwMeyO7nsDQ==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", + "@babel/helper-annotate-as-pure": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-optimise-call-expression": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/helper-replace-supers": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", "globals": "^11.1.0" }, "dependencies": { "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -1679,138 +1688,138 @@ "dev": true }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/plugin-transform-computed-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.14.5.tgz", - "integrity": "sha512-pWM+E4283UxaVzLb8UBXv4EIxMovU4zxT1OPnpHJcmnvyY9QbPPTKZfEj31EUvG3/EQRbYAGaYEUZ4yWOBC2xg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.0.tgz", + "integrity": "sha512-63l1dRXday6S8V3WFY5mXJwcRAnPYxvFfTlt67bwV1rTyVTM5zrp0DBBb13Kl7+ehkCVwIZPumPpFP/4u70+Tw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-destructuring": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.14.7.tgz", - "integrity": "sha512-0mDE99nK+kVh3xlc5vKwB6wnP9ecuSj+zQCa/n0voENtP/zymdT4HH6QEb65wjjcbqr1Jb/7z9Qp7TF5FtwYGw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.16.0.tgz", + "integrity": "sha512-Q7tBUwjxLTsHEoqktemHBMtb3NYwyJPTJdM+wDwb0g8PZ3kQUIzNvwD5lPaqW/p54TXBc/MXZu9Jr7tbUEUM8Q==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-dotall-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.14.5.tgz", - "integrity": "sha512-loGlnBdj02MDsFaHhAIJzh7euK89lBrGIdM9EAtHFo6xKygCUGuuWe07o1oZVk287amtW1n0808sQM99aZt3gw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.0.tgz", + "integrity": "sha512-FXlDZfQeLILfJlC6I1qyEwcHK5UpRCFkaoVyA1nk9A1L1Yu583YO4un2KsLBsu3IJb4CUbctZks8tD9xPQubLw==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", + "@babel/helper-create-regexp-features-plugin": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-duplicate-keys": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.14.5.tgz", - "integrity": "sha512-iJjbI53huKbPDAsJ8EmVmvCKeeq21bAze4fu9GBQtSLqfvzj2oRuHVx4ZkDwEhg1htQ+5OBZh/Ab0XDf5iBZ7A==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.0.tgz", + "integrity": "sha512-LIe2kcHKAZOJDNxujvmp6z3mfN6V9lJxubU4fJIGoQCkKe3Ec2OcbdlYP+vW++4MpxwG0d1wSDOJtQW5kLnkZQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-exponentiation-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.14.5.tgz", - "integrity": "sha512-jFazJhMBc9D27o9jDnIE5ZErI0R0m7PbKXVq77FFvqFbzvTMuv8jaAwLZ5PviOLSFttqKIW0/wxNSDbjLk0tYA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.0.tgz", + "integrity": "sha512-OwYEvzFI38hXklsrbNivzpO3fh87skzx8Pnqi4LoSYeav0xHlueSoCJrSgTPfnbyzopo5b3YVAJkFIcUpK2wsw==", "dev": true, "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.14.5", + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-for-of": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.15.4.tgz", - "integrity": "sha512-DRTY9fA751AFBDh2oxydvVm4SYevs5ILTWLs6xKXps4Re/KG5nfUkr+TdHCrRWB8C69TlzVgA9b3RmGWmgN9LA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.0.tgz", + "integrity": "sha512-5QKUw2kO+GVmKr2wMYSATCTTnHyscl6sxFRAY+rvN7h7WB0lcG0o4NoV6ZQU32OZGVsYUsfLGgPQpDFdkfjlJQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.14.5.tgz", - "integrity": "sha512-vbO6kv0fIzZ1GpmGQuvbwwm+O4Cbm2NrPzwlup9+/3fdkuzo1YqOZcXw26+YUJB84Ja7j9yURWposEHLYwxUfQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.0.tgz", + "integrity": "sha512-lBzMle9jcOXtSOXUpc7tvvTpENu/NuekNJVova5lCCWCV9/U1ho2HH2y0p6mBg8fPm/syEAbfaaemYGOHCY3mg==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.14.5", + "@babel/helper-function-name": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5" }, "dependencies": { "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -1820,96 +1829,96 @@ "dev": true }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } } } }, "@babel/plugin-transform-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.14.5.tgz", - "integrity": "sha512-ql33+epql2F49bi8aHXxvLURHkxJbSmMKl9J5yHqg4PLtdE6Uc48CH1GS6TQvZ86eoB/ApZXwm7jlA+B3kra7A==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.0.tgz", + "integrity": "sha512-gQDlsSF1iv9RU04clgXqRjrPyyoJMTclFt3K1cjLmTKikc0s/6vE3hlDeEVC71wLTRu72Fq7650kABrdTc2wMQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-member-expression-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.14.5.tgz", - "integrity": "sha512-WkNXxH1VXVTKarWFqmso83xl+2V3Eo28YY5utIkbsmXoItO8Q3aZxN4BTS2k0hz9dGUloHK26mJMyQEYfkn/+Q==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.0.tgz", + "integrity": "sha512-WRpw5HL4Jhnxw8QARzRvwojp9MIE7Tdk3ez6vRyUk1MwgjJN0aNpRoXainLR5SgxmoXx/vsXGZ6OthP6t/RbUg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-modules-amd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.5.tgz", - "integrity": "sha512-3lpOU8Vxmp3roC4vzFpSdEpGUWSMsHFreTWOMMLzel2gNGfHE5UWIh/LN6ghHs2xurUp4jRFYMUIZhuFbody1g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.0.tgz", + "integrity": "sha512-rWFhWbCJ9Wdmzln1NmSCqn7P0RAD+ogXG/bd9Kg5c7PKWkJtkiXmYsMBeXjDlzHpVTJ4I/hnjs45zX4dEv81xw==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.14.5", + "@babel/helper-module-transforms": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.4.tgz", - "integrity": "sha512-qg4DPhwG8hKp4BbVDvX1s8cohM8a6Bvptu4l6Iingq5rW+yRUAhe/YRup/YcW2zCOlrysEWVhftIcKzrEZv3sA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.0.tgz", + "integrity": "sha512-Dzi+NWqyEotgzk/sb7kgQPJQf7AJkQBWsVp1N6JWc1lBVo0vkElUnGdr1PzUBmfsCCN5OOFya3RtpeHk15oLKQ==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.15.4", + "@babel/helper-module-transforms": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-simple-access": "^7.15.4", + "@babel/helper-simple-access": "^7.16.0", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.15.4.tgz", - "integrity": "sha512-fJUnlQrl/mezMneR72CKCgtOoahqGJNVKpompKwzv3BrEXdlPspTcyxrZ1XmDTIr9PpULrgEQo3qNKp6dW7ssw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.0.tgz", + "integrity": "sha512-yuGBaHS3lF1m/5R+6fjIke64ii5luRUg97N2wr+z1sF0V+sNSXPxXDdEEL/iYLszsN5VKxVB1IPfEqhzVpiqvg==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.4", + "@babel/helper-hoist-variables": "^7.16.0", + "@babel/helper-module-transforms": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "babel-plugin-dynamic-import-node": "^2.3.3" }, "dependencies": { @@ -1922,90 +1931,90 @@ } }, "@babel/plugin-transform-modules-umd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.14.5.tgz", - "integrity": "sha512-RfPGoagSngC06LsGUYyM9QWSXZ8MysEjDJTAea1lqRjNECE3y0qIJF/qbvJxc4oA4s99HumIMdXOrd+TdKaAAA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.0.tgz", + "integrity": "sha512-nx4f6no57himWiHhxDM5pjwhae5vLpTK2zCnDH8+wNLJy0TVER/LJRHl2bkt6w9Aad2sPD5iNNoUpY3X9sTGDg==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.14.5", + "@babel/helper-module-transforms": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.14.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.9.tgz", - "integrity": "sha512-l666wCVYO75mlAtGFfyFwnWmIXQm3kSH0C3IRnJqWcZbWkoihyAdDhFm2ZWaxWTqvBvhVFfJjMRQ0ez4oN1yYA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.0.tgz", + "integrity": "sha512-LogN88uO+7EhxWc8WZuQ8vxdSyVGxhkh8WTC3tzlT8LccMuQdA81e9SGV6zY7kY2LjDhhDOFdQVxdGwPyBCnvg==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5" + "@babel/helper-create-regexp-features-plugin": "^7.16.0" } }, "@babel/plugin-transform-new-target": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.14.5.tgz", - "integrity": "sha512-Nx054zovz6IIRWEB49RDRuXGI4Gy0GMgqG0cII9L3MxqgXz/+rgII+RU58qpo4g7tNEx1jG7rRVH4ihZoP4esQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.0.tgz", + "integrity": "sha512-fhjrDEYv2DBsGN/P6rlqakwRwIp7rBGLPbrKxwh7oVt5NNkIhZVOY2GRV+ULLsQri1bDqwDWnU3vhlmx5B2aCw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-object-super": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.14.5.tgz", - "integrity": "sha512-MKfOBWzK0pZIrav9z/hkRqIk/2bTv9qvxHzPQc12RcVkMOzpIKnFCNYJip00ssKWYkd8Sf5g0Wr7pqJ+cmtuFg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.0.tgz", + "integrity": "sha512-fds+puedQHn4cPLshoHcR1DTMN0q1V9ou0mUjm8whx9pGcNvDrVVrgw+KJzzCaiTdaYhldtrUps8DWVMgrSEyg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5" + "@babel/helper-replace-supers": "^7.16.0" } }, "@babel/plugin-transform-parameters": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.15.4.tgz", - "integrity": "sha512-9WB/GUTO6lvJU3XQsSr6J/WKvBC2hcs4Pew8YxZagi6GkTdniyqp8On5kqdK8MN0LMeu0mGbhPN+O049NV/9FQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.3.tgz", + "integrity": "sha512-3MaDpJrOXT1MZ/WCmkOFo7EtmVVC8H4EUZVrHvFOsmwkk4lOjQj8rzv8JKUZV4YoQKeoIgk07GO+acPU9IMu/w==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-property-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.14.5.tgz", - "integrity": "sha512-r1uilDthkgXW8Z1vJz2dKYLV1tuw2xsbrp3MrZmD99Wh9vsfKoob+JTgri5VUb/JqyKRXotlOtwgu4stIYCmnw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.0.tgz", + "integrity": "sha512-XLldD4V8+pOqX2hwfWhgwXzGdnDOThxaNTgqagOcpBgIxbUvpgU2FMvo5E1RyHbk756WYgdbS0T8y0Cj9FKkWQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-regenerator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.14.5.tgz", - "integrity": "sha512-NVIY1W3ITDP5xQl50NgTKlZ0GrotKtLna08/uGY6ErQt6VEQZXla86x/CTddm5gZdcr+5GSsvMeTmWA5Ii6pkg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.0.tgz", + "integrity": "sha512-JAvGxgKuwS2PihiSFaDrp94XOzzTUeDeOQlcKzVAyaPap7BnZXK/lvMDiubkPTdotPKOIZq9xWXWnggUMYiExg==", "dev": true, "requires": { "regenerator-transform": "^0.14.2" } }, "@babel/plugin-transform-reserved-words": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.14.5.tgz", - "integrity": "sha512-cv4F2rv1nD4qdexOGsRQXJrOcyb5CrgjUH9PKrrtyhSDBNWGxd0UIitjyJiWagS+EbUGjG++22mGH1Pub8D6Vg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.0.tgz", + "integrity": "sha512-Dgs8NNCehHSvXdhEhln8u/TtJxfVwGYCgP2OOr5Z3Ar+B+zXicEOKNTyc+eca2cuEOMtjW6m9P9ijOt8QdqWkg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-runtime": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.15.8.tgz", - "integrity": "sha512-+6zsde91jMzzvkzuEA3k63zCw+tm/GvuuabkpisgbDMTPQsIMHllE3XczJFFtEHLjjhKQFZmGQVRdELetlWpVw==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.16.4.tgz", + "integrity": "sha512-pru6+yHANMTukMtEZGC4fs7XPwg35v8sj5CIEmE+gEkFljFiVJxEWxx/7ZDkTK+iZRYo1bFXBtfIN95+K3cJ5A==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.15.4", + "@babel/helper-module-imports": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.4.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", "semver": "^6.3.0" }, "dependencies": { @@ -2018,96 +2027,97 @@ } }, "@babel/plugin-transform-shorthand-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz", - "integrity": "sha512-xLucks6T1VmGsTB+GWK5Pl9Jl5+nRXD1uoFdA5TSO6xtiNjtXTjKkmPdFXVLGlK5A2/or/wQMKfmQ2Y0XJfn5g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.0.tgz", + "integrity": "sha512-iVb1mTcD8fuhSv3k99+5tlXu5N0v8/DPm2mO3WACLG6al1CGZH7v09HJyUb1TtYl/Z+KrM6pHSIJdZxP5A+xow==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-spread": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.15.8.tgz", - "integrity": "sha512-/daZ8s2tNaRekl9YJa9X4bzjpeRZLt122cpgFnQPLGUe61PH8zMEBmYqKkW5xF5JUEh5buEGXJoQpqBmIbpmEQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.0.tgz", + "integrity": "sha512-Ao4MSYRaLAQczZVp9/7E7QHsCuK92yHRrmVNRe/SlEJjhzivq0BSn8mEraimL8wizHZ3fuaHxKH0iwzI13GyGg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4" + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" } }, "@babel/plugin-transform-sticky-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.14.5.tgz", - "integrity": "sha512-Z7F7GyvEMzIIbwnziAZmnSNpdijdr4dWt+FJNBnBLz5mwDFkqIXU9wmBcWWad3QeJF5hMTkRe4dAq2sUZiG+8A==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.0.tgz", + "integrity": "sha512-/ntT2NljR9foobKk4E/YyOSwcGUXtYWv5tinMK/3RkypyNBNdhHUaq6Orw5DWq9ZcNlS03BIlEALFeQgeVAo4Q==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-template-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.14.5.tgz", - "integrity": "sha512-22btZeURqiepOfuy/VkFr+zStqlujWaarpMErvay7goJS6BWwdd6BY9zQyDLDa4x2S3VugxFb162IZ4m/S/+Gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.0.tgz", + "integrity": "sha512-Rd4Ic89hA/f7xUSJQk5PnC+4so50vBoBfxjdQAdvngwidM8jYIBVxBZ/sARxD4e0yMXRbJVDrYf7dyRtIIKT6Q==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-typeof-symbol": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.14.5.tgz", - "integrity": "sha512-lXzLD30ffCWseTbMQzrvDWqljvZlHkXU+CnseMhkMNqU1sASnCsz3tSzAaH3vCUXb9PHeUb90ZT1BdFTm1xxJw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.0.tgz", + "integrity": "sha512-++V2L8Bdf4vcaHi2raILnptTBjGEFxn5315YU+e8+EqXIucA+q349qWngCLpUYqqv233suJ6NOienIVUpS9cqg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-unicode-escapes": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.14.5.tgz", - "integrity": "sha512-crTo4jATEOjxj7bt9lbYXcBAM3LZaUrbP2uUdxb6WIorLmjNKSpHfIybgY4B8SRpbf8tEVIWH3Vtm7ayCrKocA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.0.tgz", + "integrity": "sha512-VFi4dhgJM7Bpk8lRc5CMaRGlKZ29W9C3geZjt9beuzSUrlJxsNwX7ReLwaL6WEvsOf2EQkyIJEPtF8EXjB/g2A==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-unicode-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.14.5.tgz", - "integrity": "sha512-UygduJpC5kHeCiRw/xDVzC+wj8VaYSoKl5JNVmbP7MadpNinAm3SvZCxZ42H37KZBKztz46YC73i9yV34d0Tzw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.0.tgz", + "integrity": "sha512-jHLK4LxhHjvCeZDWyA9c+P9XH1sOxRd1RO9xMtDVRAOND/PczPqizEtVdx4TQF/wyPaewqpT+tgQFYMnN/P94A==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", + "@babel/helper-create-regexp-features-plugin": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/preset-env": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.15.8.tgz", - "integrity": "sha512-rCC0wH8husJgY4FPbHsiYyiLxSY8oMDJH7Rl6RQMknbN9oDDHhM9RDFvnGM2MgkbUJzSQB4gtuwygY5mCqGSsA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.4.tgz", + "integrity": "sha512-v0QtNd81v/xKj4gNKeuAerQ/azeNn/G1B1qMLeXOcV8+4TWlD2j3NV1u8q29SDFBXx/NBq5kyEAO+0mpRgacjA==", "dev": true, "requires": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", + "@babel/compat-data": "^7.16.4", + "@babel/helper-compilation-targets": "^7.16.3", "@babel/helper-plugin-utils": "^7.14.5", "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.15.4", - "@babel/plugin-proposal-async-generator-functions": "^7.15.8", - "@babel/plugin-proposal-class-properties": "^7.14.5", - "@babel/plugin-proposal-class-static-block": "^7.15.4", - "@babel/plugin-proposal-dynamic-import": "^7.14.5", - "@babel/plugin-proposal-export-namespace-from": "^7.14.5", - "@babel/plugin-proposal-json-strings": "^7.14.5", - "@babel/plugin-proposal-logical-assignment-operators": "^7.14.5", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", - "@babel/plugin-proposal-numeric-separator": "^7.14.5", - "@babel/plugin-proposal-object-rest-spread": "^7.15.6", - "@babel/plugin-proposal-optional-catch-binding": "^7.14.5", - "@babel/plugin-proposal-optional-chaining": "^7.14.5", - "@babel/plugin-proposal-private-methods": "^7.14.5", - "@babel/plugin-proposal-private-property-in-object": "^7.15.4", - "@babel/plugin-proposal-unicode-property-regex": "^7.14.5", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.2", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.0", + "@babel/plugin-proposal-async-generator-functions": "^7.16.4", + "@babel/plugin-proposal-class-properties": "^7.16.0", + "@babel/plugin-proposal-class-static-block": "^7.16.0", + "@babel/plugin-proposal-dynamic-import": "^7.16.0", + "@babel/plugin-proposal-export-namespace-from": "^7.16.0", + "@babel/plugin-proposal-json-strings": "^7.16.0", + "@babel/plugin-proposal-logical-assignment-operators": "^7.16.0", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0", + "@babel/plugin-proposal-numeric-separator": "^7.16.0", + "@babel/plugin-proposal-object-rest-spread": "^7.16.0", + "@babel/plugin-proposal-optional-catch-binding": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.16.0", + "@babel/plugin-proposal-private-methods": "^7.16.0", + "@babel/plugin-proposal-private-property-in-object": "^7.16.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.16.0", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", "@babel/plugin-syntax-class-static-block": "^7.14.5", @@ -2122,44 +2132,44 @@ "@babel/plugin-syntax-optional-chaining": "^7.8.3", "@babel/plugin-syntax-private-property-in-object": "^7.14.5", "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.14.5", - "@babel/plugin-transform-async-to-generator": "^7.14.5", - "@babel/plugin-transform-block-scoped-functions": "^7.14.5", - "@babel/plugin-transform-block-scoping": "^7.15.3", - "@babel/plugin-transform-classes": "^7.15.4", - "@babel/plugin-transform-computed-properties": "^7.14.5", - "@babel/plugin-transform-destructuring": "^7.14.7", - "@babel/plugin-transform-dotall-regex": "^7.14.5", - "@babel/plugin-transform-duplicate-keys": "^7.14.5", - "@babel/plugin-transform-exponentiation-operator": "^7.14.5", - "@babel/plugin-transform-for-of": "^7.15.4", - "@babel/plugin-transform-function-name": "^7.14.5", - "@babel/plugin-transform-literals": "^7.14.5", - "@babel/plugin-transform-member-expression-literals": "^7.14.5", - "@babel/plugin-transform-modules-amd": "^7.14.5", - "@babel/plugin-transform-modules-commonjs": "^7.15.4", - "@babel/plugin-transform-modules-systemjs": "^7.15.4", - "@babel/plugin-transform-modules-umd": "^7.14.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.9", - "@babel/plugin-transform-new-target": "^7.14.5", - "@babel/plugin-transform-object-super": "^7.14.5", - "@babel/plugin-transform-parameters": "^7.15.4", - "@babel/plugin-transform-property-literals": "^7.14.5", - "@babel/plugin-transform-regenerator": "^7.14.5", - "@babel/plugin-transform-reserved-words": "^7.14.5", - "@babel/plugin-transform-shorthand-properties": "^7.14.5", - "@babel/plugin-transform-spread": "^7.15.8", - "@babel/plugin-transform-sticky-regex": "^7.14.5", - "@babel/plugin-transform-template-literals": "^7.14.5", - "@babel/plugin-transform-typeof-symbol": "^7.14.5", - "@babel/plugin-transform-unicode-escapes": "^7.14.5", - "@babel/plugin-transform-unicode-regex": "^7.14.5", - "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.15.6", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", - "core-js-compat": "^3.16.0", + "@babel/plugin-transform-arrow-functions": "^7.16.0", + "@babel/plugin-transform-async-to-generator": "^7.16.0", + "@babel/plugin-transform-block-scoped-functions": "^7.16.0", + "@babel/plugin-transform-block-scoping": "^7.16.0", + "@babel/plugin-transform-classes": "^7.16.0", + "@babel/plugin-transform-computed-properties": "^7.16.0", + "@babel/plugin-transform-destructuring": "^7.16.0", + "@babel/plugin-transform-dotall-regex": "^7.16.0", + "@babel/plugin-transform-duplicate-keys": "^7.16.0", + "@babel/plugin-transform-exponentiation-operator": "^7.16.0", + "@babel/plugin-transform-for-of": "^7.16.0", + "@babel/plugin-transform-function-name": "^7.16.0", + "@babel/plugin-transform-literals": "^7.16.0", + "@babel/plugin-transform-member-expression-literals": "^7.16.0", + "@babel/plugin-transform-modules-amd": "^7.16.0", + "@babel/plugin-transform-modules-commonjs": "^7.16.0", + "@babel/plugin-transform-modules-systemjs": "^7.16.0", + "@babel/plugin-transform-modules-umd": "^7.16.0", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.0", + "@babel/plugin-transform-new-target": "^7.16.0", + "@babel/plugin-transform-object-super": "^7.16.0", + "@babel/plugin-transform-parameters": "^7.16.3", + "@babel/plugin-transform-property-literals": "^7.16.0", + "@babel/plugin-transform-regenerator": "^7.16.0", + "@babel/plugin-transform-reserved-words": "^7.16.0", + "@babel/plugin-transform-shorthand-properties": "^7.16.0", + "@babel/plugin-transform-spread": "^7.16.0", + "@babel/plugin-transform-sticky-regex": "^7.16.0", + "@babel/plugin-transform-template-literals": "^7.16.0", + "@babel/plugin-transform-typeof-symbol": "^7.16.0", + "@babel/plugin-transform-unicode-escapes": "^7.16.0", + "@babel/plugin-transform-unicode-regex": "^7.16.0", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.16.0", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.4.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "core-js-compat": "^3.19.1", "semver": "^6.3.0" }, "dependencies": { @@ -2170,12 +2180,12 @@ "dev": true }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } }, @@ -2201,9 +2211,9 @@ } }, "@babel/register": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.15.3.tgz", - "integrity": "sha512-mj4IY1ZJkorClxKTImccn4T81+UKTo4Ux0+OFSV9hME1ooqS9UV+pJ6BjD0qXPK4T3XW/KNa79XByjeEMZz+fw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.16.0.tgz", + "integrity": "sha512-lzl4yfs0zVXnooeLE0AAfYaT7F3SPA8yB2Bj4W1BiZwLbMS3MZH35ZvCWSRHvneUugwuM+Wsnrj7h0F7UmU3NQ==", "dev": true, "requires": { "clone-deep": "^4.0.1", @@ -2214,9 +2224,9 @@ } }, "@babel/runtime": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", - "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.3.tgz", + "integrity": "sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ==", "dev": true, "requires": { "regenerator-runtime": "^0.13.4" @@ -2285,18 +2295,18 @@ "dev": true }, "@eslint/eslintrc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.3.tgz", - "integrity": "sha512-DHI1wDPoKCBPoLZA3qDR91+3te/wDSc1YhKg3jR8NxKKRJq2hwHwcWv31cSwSYvIBrmbENoYMWcenW8uproQqg==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.5.tgz", + "integrity": "sha512-BLxsnmK3KyPunz5wmCCpqy0YelEoxxGmH73Is+Z74oOTMtExcjkr3dDR6quwrjh1YspA8DH9gnX1o069KiS9AQ==", "dev": true, "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.0.0", + "espree": "^9.2.0", "globals": "^13.9.0", "ignore": "^4.0.6", "import-fresh": "^3.2.1", - "js-yaml": "^3.13.1", + "js-yaml": "^4.1.0", "minimatch": "^3.0.4", "strip-json-comments": "^3.1.1" }, @@ -2313,32 +2323,47 @@ "uri-js": "^4.2.2" } }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "globals": { - "version": "13.11.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", - "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", + "version": "13.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.0.tgz", + "integrity": "sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==", "dev": true, "requires": { "type-fest": "^0.20.2" } + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } } } }, "@humanwhocodes/config-array": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.6.0.tgz", - "integrity": "sha512-JQlEKbcgEUjBFhLIF4iqM7u/9lwgHRBcpHrmUNCALK0Q3amXN6lxdoXLnF0sm11E9VqTmBALR87IlUg1bZ8A9A==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.2.tgz", + "integrity": "sha512-UXOuFCGcwciWckOpmfKDq/GyhlTf9pN/BzG//x8p8zTOFEcGuA68ANXheFS0AGvy3qgZqLBUkMs7hqzqCKOVwA==", "dev": true, "requires": { - "@humanwhocodes/object-schema": "^1.2.0", + "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", "minimatch": "^3.0.4" } }, "@humanwhocodes/object-schema": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.0.tgz", - "integrity": "sha512-wdppn25U8z/2yiaT6YGquE6X8sSv7hNMWSXYSSU1jGv/yd6XqjXgTDJ8KP4NgjTXfJ3GbRjeeb8RTV7a/VpM+w==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, "@nicolo-ribaudo/chokidar-2": { @@ -2385,9 +2410,9 @@ "dev": true }, "@types/eslint": { - "version": "7.28.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.28.2.tgz", - "integrity": "sha512-KubbADPkfoU75KgKeKLsFHXnU4ipH7wYg0TRT33NK3N3yiu7jlFAAoygIWBV+KbuHx/G+AvuGX6DllnK35gfJA==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.2.1.tgz", + "integrity": "sha512-UP9rzNn/XyGwb5RQ2fok+DzcIRIYwc16qTXse5+Smsy8MOIccCChT15KAwnsgQx4PzJkaMq4myFyZ4CL5TjhIQ==", "dev": true, "requires": { "@types/estree": "*", @@ -2636,9 +2661,9 @@ "dev": true }, "acorn": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz", - "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==", + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz", + "integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==", "dev": true }, "acorn-import-assertions": { @@ -2796,9 +2821,9 @@ } }, "object-inspect": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.1.tgz", + "integrity": "sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA==", "dev": true }, "object.assign": { @@ -2912,9 +2937,9 @@ } }, "object-inspect": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.1.tgz", + "integrity": "sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA==", "dev": true }, "object.assign": { @@ -3141,13 +3166,13 @@ } }, "babel-plugin-polyfill-corejs2": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.2.tgz", - "integrity": "sha512-kISrENsJ0z5dNPq5eRvcctITNHYXWOA4DUZRFYCz3jYCcvTb/A546LIddmoGNMVYg2U38OyFeNosQwI9ENTqIQ==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.0.tgz", + "integrity": "sha512-wMDoBJ6uG4u4PNFh72Ty6t3EgfA91puCuAwKIazbQlci+ENb/UU9A3xG5lutjUIiXCIn1CY5L15r9LimiJyrSA==", "dev": true, "requires": { "@babel/compat-data": "^7.13.11", - "@babel/helper-define-polyfill-provider": "^0.2.2", + "@babel/helper-define-polyfill-provider": "^0.3.0", "semver": "^6.1.1" }, "dependencies": { @@ -3160,22 +3185,22 @@ } }, "babel-plugin-polyfill-corejs3": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.5.tgz", - "integrity": "sha512-ninF5MQNwAX9Z7c9ED+H2pGt1mXdP4TqzlHKyPIYmJIYz0N+++uwdM7RnJukklhzJ54Q84vA4ZJkgs7lu5vqcw==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.4.0.tgz", + "integrity": "sha512-YxFreYwUfglYKdLUGvIF2nJEsGwj+RhWSX/ije3D2vQPOXuyMLMtg/cCGMDpOA7Nd+MwlNdnGODbd2EwUZPlsw==", "dev": true, "requires": { - "@babel/helper-define-polyfill-provider": "^0.2.2", - "core-js-compat": "^3.16.2" + "@babel/helper-define-polyfill-provider": "^0.3.0", + "core-js-compat": "^3.18.0" } }, "babel-plugin-polyfill-regenerator": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.2.tgz", - "integrity": "sha512-Goy5ghsc21HgPDFtzRkSirpZVW35meGoTmTOb2bxqdl60ghub4xOidgNTHaZfQ2FaxQsKmwvXtOAkcIS4SMBWg==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.0.tgz", + "integrity": "sha512-dhAPTDLGoMW5/84wkgwiLRwMnio2i1fUe53EuvtKMv0pn2p3S8OCoV1xAzfJPl0KOX7IB89s2ib85vbYiea3jg==", "dev": true, "requires": { - "@babel/helper-define-polyfill-provider": "^0.2.2" + "@babel/helper-define-polyfill-provider": "^0.3.0" } }, "babel-plugin-rewire": { @@ -3357,13 +3382,13 @@ "dev": true }, "browserslist": { - "version": "4.17.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.5.tgz", - "integrity": "sha512-I3ekeB92mmpctWBoLXe0d5wPS2cBuRvvW0JyyJHMrk9/HmP2ZjrTboNAZ8iuGqaEIlKguljbQY32OkOJIRrgoA==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.18.1.tgz", + "integrity": "sha512-8ScCzdpPwR2wQh8IT82CA2VgDwjHyqMovPBZSNH54+tm4Jk2pCuv90gmAdH6J84OCRWi0b4gMe6O6XPXuJnjgQ==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001271", - "electron-to-chromium": "^1.3.878", + "caniuse-lite": "^1.0.30001280", + "electron-to-chromium": "^1.3.896", "escalade": "^3.1.1", "node-releases": "^2.0.1", "picocolors": "^1.0.0" @@ -3409,9 +3434,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001271", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001271.tgz", - "integrity": "sha512-BBruZFWmt3HFdVPS8kceTBIguKxu4f99n5JNp06OlPD/luoAMIaIK5ieV5YjnBLH3Nysai9sxj9rpJj4ZisXOA==", + "version": "1.0.30001285", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001285.tgz", + "integrity": "sha512-KAOkuUtcQ901MtmvxfKD+ODHH9YVDYnBt+TGYSz2KIfnq22CiArbUxXPN9067gNbgMlnNYRSwho8OPXZPALB9Q==", "dev": true }, "catharsis": { @@ -3645,12 +3670,12 @@ "dev": true }, "core-js-compat": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.19.0.tgz", - "integrity": "sha512-R09rKZ56ccGBebjTLZHvzDxhz93YPT37gBm6qUhnwj3Kt7aCjjZWD1injyNbyeFHxNKfeZBSyds6O9n3MKq1sw==", + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.19.3.tgz", + "integrity": "sha512-59tYzuWgEEVU9r+SRgceIGXSSUn47JknoiXW6Oq7RW8QHjXWz3/vp8pa7dbtuVu40sewz3OP3JmQEcDdztrLhA==", "dev": true, "requires": { - "browserslist": "^4.17.5", + "browserslist": "^4.18.1", "semver": "7.0.0" }, "dependencies": { @@ -3827,9 +3852,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.879", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.879.tgz", - "integrity": "sha512-zJo+D9GwbJvM31IdFmwcGvychhk4KKbKYo2GWlsn+C/dxz2NwmbhGJjWwTfFSF2+eFH7VvfA8MCZ8SOqTrlnpw==", + "version": "1.4.12", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.12.tgz", + "integrity": "sha512-zjfhG9Us/hIy8AlQ5OzfbR/C4aBv1Dg/ak4GX35CELYlJ4tDAtoEcQivXvyBdqdNQ+R6PhlgQqV8UNPJmhkJog==", "dev": true }, "emoji-regex": { @@ -3844,6 +3869,16 @@ "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", "dev": true }, + "enhanced-resolve": { + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz", + "integrity": "sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + } + }, "enquirer": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", @@ -3935,13 +3970,13 @@ "dev": true }, "eslint": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.1.0.tgz", - "integrity": "sha512-JZvNneArGSUsluHWJ8g8MMs3CfIEzwaLx9KyH4tZ2i+R2/rPWzL8c0zg3rHdwYVpN/1sB9gqnjHwz9HoeJpGHw==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.4.1.tgz", + "integrity": "sha512-TxU/p7LB1KxQ6+7aztTnO7K0i+h0tDi81YRY9VzB6Id71kNz+fFYnf5HD5UOQmxkzcoa0TlVZf9dpMtUv0GpWg==", "dev": true, "requires": { - "@eslint/eslintrc": "^1.0.3", - "@humanwhocodes/config-array": "^0.6.0", + "@eslint/eslintrc": "^1.0.5", + "@humanwhocodes/config-array": "^0.9.2", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -3949,10 +3984,10 @@ "doctrine": "^3.0.0", "enquirer": "^2.3.5", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^6.0.0", + "eslint-scope": "^7.1.0", "eslint-utils": "^3.0.0", - "eslint-visitor-keys": "^3.0.0", - "espree": "^9.0.0", + "eslint-visitor-keys": "^3.1.0", + "espree": "^9.2.0", "esquery": "^1.4.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -3974,7 +4009,7 @@ "progress": "^2.0.0", "regexpp": "^3.2.0", "semver": "^7.2.1", - "strip-ansi": "^6.0.0", + "strip-ansi": "^6.0.1", "strip-json-comments": "^3.1.0", "text-table": "^0.2.0", "v8-compile-cache": "^2.0.3" @@ -4050,9 +4085,9 @@ } }, "eslint-visitor-keys": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.0.0.tgz", - "integrity": "sha512-mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz", + "integrity": "sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==", "dev": true }, "glob-parent": { @@ -4076,9 +4111,9 @@ } }, "globals": { - "version": "13.11.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", - "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", + "version": "13.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.0.tgz", + "integrity": "sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -4283,9 +4318,9 @@ } }, "eslint-plugin-import": { - "version": "2.25.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.2.tgz", - "integrity": "sha512-qCwQr9TYfoBHOFcVGKY9C9unq05uOxxdklmBXLVvcwo68y5Hta6/GzCZEMx2zQiu0woKNEER0LE7ZgaOfBU14g==", + "version": "2.25.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.3.tgz", + "integrity": "sha512-RzAVbby+72IB3iOEL8clzPLzL3wpDrlwjsTBAQXgyp5SeTqqY+0bFubwuo+y/HLhNZcXV4XqTBO4LGsfyHIDXg==", "dev": true, "requires": { "array-includes": "^3.1.4", @@ -4293,9 +4328,9 @@ "debug": "^2.6.9", "doctrine": "^2.1.0", "eslint-import-resolver-node": "^0.3.6", - "eslint-module-utils": "^2.7.0", + "eslint-module-utils": "^2.7.1", "has": "^1.0.3", - "is-core-module": "^2.7.0", + "is-core-module": "^2.8.0", "is-glob": "^4.0.3", "minimatch": "^3.0.4", "object.values": "^1.1.5", @@ -4383,21 +4418,13 @@ "dev": true }, "eslint-scope": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-6.0.0.tgz", - "integrity": "sha512-uRDL9MWmQCkaFus8RF5K9/L/2fn+80yoW3jkD53l4shjCh26fCtvJGasxjUqP5OT87SYTxCVA3BwTUzuELx9kA==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.0.tgz", + "integrity": "sha512-aWwkhnS0qAXqNOgKOK0dJ2nvzEbhEvpy8OlJ9kZ0FeZnA6zpjv1/Vei+puGFFX7zkPCkHHXb7IDX3A+7yPrRWg==", "dev": true, "requires": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } } }, "eslint-utils": { @@ -4416,20 +4443,20 @@ "dev": true }, "espree": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.0.0.tgz", - "integrity": "sha512-r5EQJcYZ2oaGbeR0jR0fFVijGOcwai07/690YRXLINuhmVeRY4UKSAsQPe/0BNuDgwP7Ophoc1PRsr2E3tkbdQ==", + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.2.0.tgz", + "integrity": "sha512-oP3utRkynpZWF/F2x/HZJ+AGtnIclaR7z1pYPxy7NYM2fSO6LgK/Rkny8anRSPK/VwEA1eqm2squui0T7ZMOBg==", "dev": true, "requires": { - "acorn": "^8.5.0", + "acorn": "^8.6.0", "acorn-jsx": "^5.3.1", - "eslint-visitor-keys": "^3.0.0" + "eslint-visitor-keys": "^3.1.0" }, "dependencies": { "eslint-visitor-keys": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.0.0.tgz", - "integrity": "sha512-mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz", + "integrity": "sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==", "dev": true } } @@ -4447,14 +4474,6 @@ "dev": true, "requires": { "estraverse": "^5.1.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } } }, "esrecurse": { @@ -4464,20 +4483,12 @@ "dev": true, "requires": { "estraverse": "^5.2.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } } }, "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true }, "esutils": { @@ -4598,9 +4609,9 @@ } }, "flatted": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", - "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.4.tgz", + "integrity": "sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw==", "dev": true }, "follow-redirects": { @@ -5329,9 +5340,9 @@ } }, "jest-worker": { - "version": "27.3.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.3.1.tgz", - "integrity": "sha512-ks3WCzsiZaOPJl/oMsDjaf0TRiSv7ctNgs0FqRr2nARsovz6AWWy4oLElwcquGSz692DzgZQrCLScPNs5YlC4g==", + "version": "27.4.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.4.2.tgz", + "integrity": "sha512-0QMy/zPovLfUPyHuOuuU4E+kGACXXE84nRnq6lBVI9GJg5DCBiA97SATi+ZP8CpiJwEQy1oCPjRBf8AnLjN+Ag==", "dev": true, "requires": { "@types/node": "*", @@ -6242,12 +6253,6 @@ } } }, - "node-modules-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", - "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=", - "dev": true - }, "node-releases": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", @@ -6416,9 +6421,9 @@ } }, "object-inspect": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.1.tgz", + "integrity": "sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA==", "dev": true }, "object.assign": { @@ -6643,13 +6648,10 @@ } }, "pirates": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", - "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", - "dev": true, - "requires": { - "node-modules-regexp": "^1.0.0" - } + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.4.tgz", + "integrity": "sha512-ZIrVPH+A52Dw84R0L3/VS9Op04PuQ2SEoJL6bkshmiTic/HldyW9Tf7oH5mhJZBK7NmDx27vSMrYEXPXclpDKw==", + "dev": true }, "pkg-dir": { "version": "3.0.0", @@ -6702,9 +6704,9 @@ "dev": true }, "qs": { - "version": "6.10.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", - "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.2.tgz", + "integrity": "sha512-mSIdjzqznWgfd4pMii7sHtaYF8rx8861hBO80SraY5GT0XQibWZWJSid0avzHGkDIZLImux2S5mXO0Hfct2QCw==", "requires": { "side-channel": "^1.0.4" } @@ -6981,9 +6983,9 @@ }, "dependencies": { "object-inspect": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==" + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.1.tgz", + "integrity": "sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA==" } } }, @@ -7021,9 +7023,9 @@ "dev": true }, "source-map-support": { - "version": "0.5.20", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz", - "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==", + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -7196,6 +7198,12 @@ "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=", "dev": true }, + "tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true + }, "tcomb": { "version": "3.2.29", "resolved": "https://registry.npmjs.org/tcomb/-/tcomb-3.2.29.tgz", @@ -7212,9 +7220,9 @@ } }, "terser": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.9.0.tgz", - "integrity": "sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ==", + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.10.0.tgz", + "integrity": "sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==", "dev": true, "requires": { "commander": "^2.20.0", @@ -7237,13 +7245,12 @@ } }, "terser-webpack-plugin": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.2.4.tgz", - "integrity": "sha512-E2CkNMN+1cho04YpdANyRrn8CyN4yMy+WdFKZIySFZrGXZxJwJP6PMNGGc/Mcr6qygQHUUqRxnAPmi0M9f00XA==", + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.2.5.tgz", + "integrity": "sha512-3luOVHku5l0QBeYS8r4CdHYWEGMmIj3H1U64jgkdZzECcSOJAyJ9TjuqcQZvw1Y+4AOBN9SeYJPJmFn2cM4/2g==", "dev": true, "requires": { "jest-worker": "^27.0.6", - "p-limit": "^3.1.0", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.0", "source-map": "^0.6.1", @@ -7268,15 +7275,6 @@ "uri-js": "^4.2.2" } }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - }, "schema-utils": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", @@ -7387,9 +7385,9 @@ "dev": true }, "tsconfig-paths": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.11.0.tgz", - "integrity": "sha512-7ecdYDnIdmv639mmDwslG6KQg1Z9STTz1j7Gcz0xa+nshh/gKDAHcPxRbWOsA3SPp0tXP2leTcY9Kw+NAkfZzA==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.12.0.tgz", + "integrity": "sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg==", "dev": true, "requires": { "@types/json5": "^0.0.29", @@ -7543,9 +7541,9 @@ "dev": true }, "watchpack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.2.0.tgz", - "integrity": "sha512-up4YAn/XHgZHIxFBVCdlMiWDj6WaLKpwVeGQk2I5thdYxF/KmF0aaz6TfJZ/hfl1h/XlcDr7k1KH7ThDagpFaA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", + "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", "dev": true, "requires": { "glob-to-regexp": "^0.4.1", @@ -7553,9 +7551,9 @@ } }, "webpack": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.60.0.tgz", - "integrity": "sha512-OL5GDYi2dKxnwJPSOg2tODgzDxAffN0osgWkZaBo/l3ikCxDFP+tuJT3uF7GyBE3SDBpKML/+a8EobyWAQO3DQ==", + "version": "5.65.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.65.0.tgz", + "integrity": "sha512-Q5or2o6EKs7+oKmJo7LaqZaMOlDWQse9Tm5l1WAfU/ujLGN5Pb0SqGeVkN/4bpPmEqEP5RnVhiqsOtWtUVwGRw==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.0", @@ -7580,8 +7578,8 @@ "schema-utils": "^3.1.0", "tapable": "^2.1.1", "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.2.0", - "webpack-sources": "^3.2.0" + "watchpack": "^2.3.1", + "webpack-sources": "^3.2.2" }, "dependencies": { "@types/json-schema": { @@ -7590,12 +7588,6 @@ "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", "dev": true }, - "acorn": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz", - "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==", - "dev": true - }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -7608,16 +7600,6 @@ "uri-js": "^4.2.2" } }, - "enhanced-resolve": { - "version": "5.8.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz", - "integrity": "sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - } - }, "eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", @@ -7628,22 +7610,11 @@ "estraverse": "^4.1.1" } }, - "esrecurse": { + "estraverse": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "requires": { - "estraverse": "^5.2.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } - } + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true }, "schema-utils": { "version": "3.1.1", @@ -7655,12 +7626,6 @@ "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } - }, - "tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true } } }, @@ -7712,9 +7677,9 @@ } }, "webpack-sources": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.1.tgz", - "integrity": "sha512-t6BMVLQ0AkjBOoRTZgqrWm7xbXMBzD+XDq2EZ96+vMfn3qKgsvdXZhbPZ4ElUOpdv4u+iiGe+w3+J75iy/bYGA==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.2.tgz", + "integrity": "sha512-cp5qdmHnu5T8wRg2G3vZZHoJPN14aqQ89SyQ11NpGH5zEMDCclt49rzo+MaRazk7/UeILhAI+/sEtcM+7Fr0nw==", "dev": true }, "which": { diff --git a/package.json b/package.json index 4df7c2ca..0cf3f87c 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "axios": "^0.21.4", "form-data": "^3.0.1", "lodash": "^4.17.21", - "qs": "^6.10.1" + "qs": "^6.10.2" }, "keywords": [ "contentstack management api", @@ -57,12 +57,12 @@ "management api" ], "devDependencies": { - "@babel/cli": "^7.15.7", - "@babel/core": "^7.15.8", - "@babel/plugin-transform-runtime": "^7.15.8", - "@babel/preset-env": "^7.15.8", - "@babel/register": "^7.15.3", - "@babel/runtime": "^7.15.4", + "@babel/cli": "^7.16.0", + "@babel/core": "^7.16.0", + "@babel/plugin-transform-runtime": "^7.16.4", + "@babel/preset-env": "^7.16.4", + "@babel/register": "^7.16.0", + "@babel/runtime": "^7.16.3", "@types/mocha": "^7.0.2", "axios-mock-adapter": "^1.20.0", "babel-loader": "^8.2.3", @@ -74,9 +74,9 @@ "clean-webpack-plugin": "^4.0.0", "docdash": "^1.2.0", "dotenv": "^8.6.0", - "eslint": "^8.1.0", + "eslint": "^8.4.1", "eslint-config-standard": "^13.0.1", - "eslint-plugin-import": "^2.25.2", + "eslint-plugin-import": "^2.25.3", "eslint-plugin-node": "^9.1.0", "eslint-plugin-promise": "^4.3.1", "eslint-plugin-standard": "^4.1.0", @@ -90,7 +90,7 @@ "rimraf": "^2.7.1", "sinon": "^7.3.2", "string-replace-loader": "^2.3.0", - "webpack": "^5.60.0", + "webpack": "^5.65.0", "webpack-cli": "^4.9.1", "webpack-merge": "4.1.0" },
NameNameTypeType